[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19208: replace-match unhelpful error message
From: |
Noam Postavsky |
Subject: |
bug#19208: replace-match unhelpful error message |
Date: |
Sun, 04 Aug 2019 10:12:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) |
Andreas Schwab <schwab@linux-m68k.org> writes:
> On Aug 03 2019, Noam Postavsky <npostavs@gmail.com> wrote:
>
>> People might say things like "your height must be between 120 and 200 cm
>> to ride this roller coaster"
>
> This still puts "height" (the variable) first.
Lars Ingebrigtsen <larsi@gnus.org> writes:
>
> And they don't say "120 cm must be less than your height, which must also
> be less than 200 cm". :-)
Right, but unless we want to use a macro like
IN_RANGE_P (height, 120, 200)
I think ((120 < height) && (height < 200)) is the closest we can get to
the natural phrasing. In Elisp we can do (< 120 height 200) which is
nicer, but we're still stuck with `and' for semi-closed intervals.
- bug#19208: replace-match unhelpful error message, Lars Ingebrigtsen, 2019/08/03
- bug#19208: replace-match unhelpful error message, Paul Eggert, 2019/08/03
- bug#19208: replace-match unhelpful error message, Lars Ingebrigtsen, 2019/08/03
- bug#19208: replace-match unhelpful error message, Noam Postavsky, 2019/08/03
- bug#19208: replace-match unhelpful error message, Andreas Schwab, 2019/08/04
- bug#19208: replace-match unhelpful error message,
Noam Postavsky <=
- bug#19208: replace-match unhelpful error message, Andreas Schwab, 2019/08/04
- bug#19208: replace-match unhelpful error message, Paul Eggert, 2019/08/04
- bug#19208: replace-match unhelpful error message, Andreas Schwab, 2019/08/04
- bug#19208: replace-match unhelpful error message, Richard Stallman, 2019/08/04
- bug#19208: replace-match unhelpful error message, Lars Ingebrigtsen, 2019/08/04
bug#19208: replace-match unhelpful error message, Andreas Schwab, 2019/08/04