all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lowell Gilbert <lgusenet@be-well.ilk.org>
To: "Francis Moreau" <francis.moro@gmail.com>
Cc: Lowell Gilbert <lgusenet@be-well.ilk.org>, help-gnu-emacs@gnu.org
Subject: Re: M-x grep gets /dev/null automatically appended to the command
Date: Tue, 14 Oct 2008 08:16:14 -0400	[thread overview]
Message-ID: <44prm35q41.fsf@lowell-desk.lan> (raw)
In-Reply-To: <38b2ab8a0810140218s6d2d4a82wc2f41cd50f806b7e@mail.gmail.com> (Francis Moreau's message of "Tue\, 14 Oct 2008 11\:18\:45 +0200")

"Francis Moreau" <francis.moro@gmail.com> writes:

> On Fri, Oct 10, 2008 at 2:21 PM, Lowell Gilbert
> <lgusenet@be-well.ilk.org> wrote:
>> "Francis Moreau" <francis.moro@gmail.com> writes:
>>
>>> Hello,
>>>
>>> On Thu, Oct 9, 2008 at 6:04 PM, Lowell Gilbert <lgusenet@be-well.ilk.org> wrote:
>>>> "Francis Moreau" <francis.moro@gmail.com> writes:
>>>>
>>>>> 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 ?
>>>>
>>>> Check grep-use-null-device.
>>>>
>>>
>>> Indeed I force it to nil and it magically works. Thanks !
>>>
>>> Other topic: it looks like you're using gnus and newsgroup to post/reply on this
>>> list. Is it possible to CC me when you're replying ?
>>
>> I normally do that with mailing lists and not with newsgroups.  It's
>> possible either way, of course,
>
> Just of curiosity, how do you do that with newsgroups ? any special key bindings
> or do you just add Cc field ?

I do it by hand.  You could automate it, but the trick would be
extracting the e-mail address to use.  Maybe the attribution line
would be the easy way to do it.  Maybe putting it in the followup
command would be better than doing it afterwards -- I don't see any
existing commands to do that, but a wrapper around the followup
command should do it.




  parent reply	other threads:[~2008-10-14 12:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2008-10-14 14:08           ` Francis Moreau
2008-10-14 14:19           ` Francis Moreau
2008-10-09 15:23 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

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

  git send-email \
    --in-reply-to=44prm35q41.fsf@lowell-desk.lan \
    --to=lgusenet@be-well.ilk.org \
    --cc=francis.moro@gmail.com \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.