unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tak Kunihiro <homeros.misasa@gmail.com>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 36558@debbugs.gnu.org, Lars Ingebrigtsen <larsi@gnus.org>,
	tkk@misasa.okayama-u.ac.jp
Subject: bug#36558: When the user forgets the filename when using M-x grep
Date: Thu, 11 Jul 2019 18:44:34 +0900	[thread overview]
Message-ID: <8636jcj471.fsf@misasa.okayama-u.ac.jp> (raw)
In-Reply-To: <878st5xv69.5.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Thu, 11 Jul 2019 08:38:06 +0800")

>>> I don't think the M-x grep command has the ability for the user to
>>> change the default prompt from the current
>>> 
>>> Run grep (like this): grep --color -nH --null -e
>>> 
>>> to the rather more sophisticated
>>> 
>>> Run grep (like this): grep --color -nH --null -e [] *
>>> 
>>> where "[]" represents where the cursor should be placed when prompting
>>> the user.

How about something like this?

(grep-apply-setting 'grep-command (cons "grep --color -nH --null -e  *" 28))





  reply	other threads:[~2019-07-11  9:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-09  0:04 bug#36558: When the user forgets the filename when using M-x grep 積丹尼 Dan Jacobson
2019-07-10 12:22 ` Lars Ingebrigtsen
2019-07-10 23:22   ` Tak Kunihiro
2019-07-11  0:38   ` 積丹尼 Dan Jacobson
2019-07-11  9:44     ` Tak Kunihiro [this message]
2019-07-11 18:48       ` 積丹尼 Dan Jacobson

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=8636jcj471.fsf@misasa.okayama-u.ac.jp \
    --to=homeros.misasa@gmail.com \
    --cc=36558@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.org \
    --cc=tkk@misasa.okayama-u.ac.jp \
    /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).