From: "Francis Moreau" <francis.moro@gmail.com>
To: gnu-emacs-help@gnu.org
Subject: M-x grep gets /dev/null automatically appended to the command
Date: Thu, 9 Oct 2008 17:23:33 +0200 [thread overview]
Message-ID: <38b2ab8a0810090823u232a8738rd343e2fd21385a49@mail.gmail.com> (raw)
Hello,
I have customized my grep-command variable this way:
(setq grep-command "git --no-pager grep -n -e ")
because I'm working in a git repo.
But when I start the grep command (M-x grep), emacs appends
'/dev/null' to the git command:
git --no-pager grep -n -e seq /dev/null
Can anybody tell my what I'm doing wrong ?
thanks
--
Francis
next reply other threads:[~2008-10-09 15:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-09 15:23 Francis Moreau [this message]
[not found] <mailman.698.1223565824.25473.help-gnu-emacs@gnu.org>
2008-10-09 16:04 ` M-x grep gets /dev/null automatically appended to the command Lowell Gilbert
2008-10-10 8:13 ` Francis Moreau
[not found] ` <mailman.766.1223626432.25473.help-gnu-emacs@gnu.org>
2008-10-10 12:21 ` Lowell Gilbert
2008-10-14 9:18 ` Francis Moreau
2008-10-14 11:29 ` Thierry Volpiatto
2008-10-14 12:11 ` Francis Moreau
2008-10-14 12:24 ` Teemu Likonen
2008-10-14 12:16 ` Lowell Gilbert
2008-10-14 14:08 ` Francis Moreau
2008-10-14 14:19 ` Francis Moreau
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=38b2ab8a0810090823u232a8738rd343e2fd21385a49@mail.gmail.com \
--to=francis.moro@gmail.com \
--cc=gnu-emacs-help@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.
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).