GNU bug report logs - #16921
Suggested grep-files-aliases entry for GNU build systems

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Sun, 2 Mar 2014 09:06:02 UTC

Severity: wishlist

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16921 in the body.
You can then email your comments to 16921 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16921; Package emacs. (Sun, 02 Mar 2014 09:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Reuben Thomas <rrt <at> sc3d.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 02 Mar 2014 09:06:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: bug-emacs <bug-emacs <at> gnu.org>
Subject: Suggested grep-files-aliases entry for GNU build systems
Date: Sun, 2 Mar 2014 09:05:23 +0000
[Message part 1 (text/plain, inline)]
At present, grep-files-aliases suggests "[Mm]akefile*" when you start rgrep
in a Makefile.am, which is not at all what one usually wants, as it greps
through long generated files.

I suggest the following pattern, to go just before the Makefile entry:

 ("am" . "Makefile.am GNUmakefile *.mk")

Makefile.am catches automake makefiles, GNUmakefile is often also used for
GNU-specific hackery (e.g. by gnulib), and *.mk catches other GNU-ery such
as gnulib's cfg.mk.

Placing the pattern before the Makefile entry means that the latter need
not be changed, but the new pattern is used for Makefile.am.

The alias "am" is supposed to suggest "automake".

-- 
http://rrt.sc3d.org
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16921; Package emacs. (Wed, 11 May 2022 13:15:01 GMT) Full text and rfc822 format available.

Message #8 received at 16921 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Reuben Thomas <rrt <at> sc3d.org>
Cc: 16921 <at> debbugs.gnu.org
Subject: Re: bug#16921: Suggested grep-files-aliases entry for GNU build
 systems
Date: Wed, 11 May 2022 15:13:51 +0200
Reuben Thomas <rrt <at> sc3d.org> writes:

> At present, grep-files-aliases suggests "[Mm]akefile*" when you start rgrep in a
> Makefile.am, which is not at all what one usually wants, as it greps through long
> generated files.
>
> I suggest the following pattern, to go just before the Makefile entry:
>
>  ("am" . "Makefile.am GNUmakefile *.mk")
>
> Makefile.am catches automake makefiles, GNUmakefile is often also used for
> GNU-specific hackery (e.g. by gnulib), and *.mk catches other GNU-ery such as
> gnulib's cfg.mk.
>
> Placing the pattern before the Makefile entry means that the latter need not be
> changed, but the new pattern is used for Makefile.am.
>
> The alias "am" is supposed to suggest "automake".

Makes sense to me; I've now added this to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 16921 <at> debbugs.gnu.org and Reuben Thomas <rrt <at> sc3d.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 11 May 2022 13:15:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jun 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 320 days ago.

Previous Next


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