unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Reuben Thomas <rrt@sc3d.org>
To: 16921@debbugs.gnu.org
Subject: bug#16921: Suggested grep-files-aliases entry for GNU build systems
Date: Sun, 2 Mar 2014 09:05:23 +0000	[thread overview]
Message-ID: <CAOnWdohYPymXDgSiFZrqmPdDigQtk5r-2nQQfopxtwtquKPB6w@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2014-03-02  9:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-02  9:05 Reuben Thomas [this message]
2022-05-11 13:13 ` bug#16921: Suggested grep-files-aliases entry for GNU build systems Lars Ingebrigtsen

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=CAOnWdohYPymXDgSiFZrqmPdDigQtk5r-2nQQfopxtwtquKPB6w@mail.gmail.com \
    --to=rrt@sc3d.org \
    --cc=16921@debbugs.gnu.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).