help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x grep gets /dev/null automatically appended to the command


From: Francis Moreau
Subject: Re: M-x grep gets /dev/null automatically appended to the command
Date: Tue, 14 Oct 2008 16:19:13 +0200

On Tue, Oct 14, 2008 at 2:16 PM, Lowell Gilbert
<lgusenet@be-well.ilk.org> wrote:
> "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.
>

BTW, it seems that you haven't used news group this time, have you ?

If so, it explains why this time you reply to _me_ and Cc the mailing
list...
-- 
Francis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]