From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: M-x grep gets /dev/null automatically appended to the command Date: Tue, 14 Oct 2008 13:29:22 +0200 Message-ID: <87wsgbl8j1.fsf@tux.homenetwork> References: <44vdw1iwkj.fsf@be-well.ilk.org> <44zllcmyht.fsf@lowell-desk.lan> <38b2ab8a0810140218s6d2d4a82wc2f41cd50f806b7e@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223984059 4233 80.91.229.12 (14 Oct 2008 11:34:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 11:34:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 13:35:17 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KpiBG-0002y4-0C for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 13:35:14 +0200 Original-Received: from localhost ([127.0.0.1]:59489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpiAB-0007BH-6M for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 07:34:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kpi9s-0007Ap-AV for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 07:33:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kpi9q-0007AD-Lh for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 07:33:47 -0400 Original-Received: from [199.232.76.173] (port=34633 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpi9q-0007A7-BP for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 07:33:46 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:45578 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kpi9p-0001HF-Iq for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 07:33:46 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kpi9j-0006nr-HL for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 11:33:39 +0000 Original-Received: from 228.78.88-79.rev.gaoland.net ([79.88.78.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Oct 2008 11:33:39 +0000 Original-Received: from thierry.volpiatto by 228.78.88-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Oct 2008 11:33:39 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 228.78.88-79.rev.gaoland.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:2jH9Ka5YjAmyQ8i+qMyXjhnE0os= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58755 Archived-At: "Francis Moreau" writes: > On Fri, Oct 10, 2008 at 2:21 PM, Lowell Gilbert > wrote: >> "Francis Moreau" writes: >> >>> Hello, >>> >>> On Thu, Oct 9, 2008 at 6:04 PM, Lowell Gilbert wrote: >>>> "Francis Moreau" 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 ? f runs the command gnus-summary-followup -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France