unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 16921@debbugs.gnu.org
Subject: bug#16921: Suggested grep-files-aliases entry for GNU build systems
Date: Wed, 11 May 2022 15:13:51 +0200	[thread overview]
Message-ID: <87pmkk8b5c.fsf@gnus.org> (raw)
In-Reply-To: <CAOnWdohYPymXDgSiFZrqmPdDigQtk5r-2nQQfopxtwtquKPB6w@mail.gmail.com> (Reuben Thomas's message of "Sun, 2 Mar 2014 09:05:23 +0000")

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





      reply	other threads:[~2022-05-11 13:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmkk8b5c.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=16921@debbugs.gnu.org \
    --cc=rrt@sc3d.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).