GNU bug report logs - #6843
23.1; grep-mode and filenames with colons

Previous Next

Package: emacs;

Reported by: Ethan Glasser-Camp <glasse <at> cs.rpi.edu>

Date: Wed, 11 Aug 2010 14:11:02 UTC

Severity: normal

Tags: fixed, patch

Merged with 7378

Found in versions 23.1, 23.2

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: npostavs <at> users.sourceforge.net
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: bug#6843 <6843 <at> debbugs.gnu.org>, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: bug#6843: grep-mode and filenames with colons
Date: Sun, 30 Jul 2017 11:01:36 -0400
Dmitry Gutov <dgutov <at> yandex.ru> writes:

> I'd prefer to have either grep-with-null-regexp-alist and
> grep-[without-null-]-regexp-alist, or grep-regexp-alist and
> grep-fallback-regexp-alist. Just a suggestion.
>

[...]

>>
>>> If the numbers are the same, we could keep the variable's name the same as
>>> well. As a result, most third-party code would continue to simply work.
>>
>> Might be worth using explicitly numbered groups to keep the numbers for
>> FILE and COLUMN the same though.
>
> Yes, I think it will be a good idea. Provided we can combine it with
> renaming either of the variables back to grep-regexp-alist. Otherwise,
> any backward compatibility is broken anyway.

That part is already covered by this, no?

    (defvaralias 'grep-regex-alist 'grep-with-null-regexp-alist)
    (make-obsolete-variable
     'grep-regex-alist "Call `grep-regexp-alist' instead." "26.1")






This bug report was last modified 7 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.