From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Francis Moreau" Newsgroups: gmane.emacs.help Subject: Re: M-x grep gets /dev/null automatically appended to the command Date: Tue, 14 Oct 2008 11:18:45 +0200 Message-ID: <38b2ab8a0810140218s6d2d4a82wc2f41cd50f806b7e@mail.gmail.com> References: <44vdw1iwkj.fsf@be-well.ilk.org> <44zllcmyht.fsf@lowell-desk.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223976852 13951 80.91.229.12 (14 Oct 2008 09:34:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 09:34:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Lowell Gilbert" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 11:35:00 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 1KpgHd-0003ue-1m for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 11:33:41 +0200 Original-Received: from localhost ([127.0.0.1]:58085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpgGX-0008QT-6Q for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 05:32:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kpg3H-0005tk-3c for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 05:18:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kpg3E-0005tI-2C for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 05:18:49 -0400 Original-Received: from [199.232.76.173] (port=42571 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpg3D-0005t9-HO for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 05:18:47 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.173]:57133) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kpg3D-0006x3-2x for help-gnu-emacs@gnu.org; Tue, 14 Oct 2008 05:18:47 -0400 Original-Received: by ug-out-1314.google.com with SMTP id z36so908125uge.17 for ; Tue, 14 Oct 2008 02:18:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pWvAXgllOKbbWsXcQothxqhR9LYwwmorPaHtxnQTmZo=; b=IzDOtsSSl7DEKXaqre04Nfvut3WEwCWRObvPJiPfv7Paf3D6lRKIXlASGyaov65mFu Dp+dcvaIv5df4ShdRgXNd2D10BJlqq2j92WJ1641zUT7fR0zenCpszbBvpbw3ILQERSm 0LupN0i7leJou9wjIDtmH4YbU70mRB3CObWZs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HAjMWunoAwECzsMftPc+TSPUqHIrtfulp+Ja2/AHc+2iINAocRWYg+u2qF10Hl0mSQ cHIRLZcp5GcFX1+T/4wsUQjeEV7xu8JAM5Voa0HB3Lt5xlXILCzL2uohyNrR5XjGLSVq SZV9c6IDqO/xBXQBOLPhtVihssoKtFPOH+k8A= Original-Received: by 10.67.115.12 with SMTP id s12mr4135919ugm.51.1223975925413; Tue, 14 Oct 2008 02:18:45 -0700 (PDT) Original-Received: by 10.67.26.6 with HTTP; Tue, 14 Oct 2008 02:18:45 -0700 (PDT) In-Reply-To: <44zllcmyht.fsf@lowell-desk.lan> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:58752 Archived-At: 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 ? Thanks -- Francis