unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16921: Suggested grep-files-aliases entry for GNU build systems
@ 2014-03-02  9:05 Reuben Thomas
  2022-05-11 13:13 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Reuben Thomas @ 2014-03-02  9:05 UTC (permalink / raw)
  To: 16921

[-- Attachment #1: Type: text/plain, Size: 676 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 994 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-11 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-02  9:05 bug#16921: Suggested grep-files-aliases entry for GNU build systems Reuben Thomas
2022-05-11 13:13 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).