[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16921: Suggested grep-files-aliases entry for GNU build systems
From: |
Lars Ingebrigtsen |
Subject: |
bug#16921: Suggested grep-files-aliases entry for GNU build systems |
Date: |
Wed, 11 May 2022 15:13:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Reuben Thomas <rrt@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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#16921: Suggested grep-files-aliases entry for GNU build systems,
Lars Ingebrigtsen <=