[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: :alnum: broken?

From: Paul Eggert
Subject: Re: :alnum: broken?
Date: Wed, 26 Feb 2020 13:00:53 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 2/26/20 7:48 AM, Stefan Monnier wrote:
FWIW, you have a +1 from me, tho I don't see any urgency so I'd keep it
for `master`.

I agree with Stefan on both points.

The bug noted by Andreas should also be fixed. More specifically, I suggest having Emacs diagnose the typo only when GNU grep diagnoses it, as it's better to be consistent among GNU applications. Grep diagnoses the contents of [...] if all the following are true:

  * The first character is ":".
  * The last character is ":".
  * There is some non-":" character.
  * There are no ranges, char/equiv classes or collation elements.

GNU grep has done this for about a decade and this has worked well. If we don't like these rules we can change them but I would then suggest we also change GNU grep to be consistent.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]