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: M-x grep gets /dev/null automatically appended to the command Date: Thu, 9 Oct 2008 17:23:33 +0200 Message-ID: <38b2ab8a0810090823u232a8738rd343e2fd21385a49@mail.gmail.com> 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 1223566109 21009 80.91.229.12 (9 Oct 2008 15:28:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 15:28:29 +0000 (UTC) To: gnu-emacs-help@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 17:29:24 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 1KnxO0-00075B-7U for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 17:25:08 +0200 Original-Received: from localhost ([127.0.0.1]:56375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnxMw-0003Nn-4u for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 11:24:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnxMb-0003Ku-C8 for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 11:23:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnxMZ-0003HL-AE for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 11:23:40 -0400 Original-Received: from [199.232.76.173] (port=39552 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnxMZ-0003H5-6t for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 11:23:39 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:46954) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnxMY-0007gL-WC for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 11:23:39 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:46868 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KnxKE-0000hr-66 for gnu-emacs-help@gnu.org; Thu, 09 Oct 2008 11:21:14 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KnxMV-0007fp-V6 for gnu-emacs-help@gnu.org; Thu, 09 Oct 2008 11:23:38 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.174]:11594) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnxMV-0007ff-LT for gnu-emacs-help@gnu.org; Thu, 09 Oct 2008 11:23:35 -0400 Original-Received: by ug-out-1314.google.com with SMTP id z36so1079208uge.17 for ; Thu, 09 Oct 2008 08:23:34 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=zKe1lipAF3D+OQ4LZs3GzflLVyGDaw3eXc3NfN7I80o=; b=bg2FuPkqWz7cYQR+sEA4Q7u3uVwJYlCHf5kI7GIWE8dQaTBi+wNABEqQ+I5LMGoXUx xZg8YiWyiaLek7obYCTHLEdUVx1O41FPCOZgOj32Z+tP1xSLxI4lDl7a39Ltv8bwM4Nm vNn15Yhqfq953zg1s33ETJ5GXBSx8wM2bwyyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=U4ULEc1LPr1NLgvTvNfGHw/dx/dRs7R6aBVYFod71IYua7dbTrf1oC8MECl7xJScU9 xwoxKc7g/H+v3ni6Ia759nMgAYdKymzf0vPZqxZEoLXwJqfKsQM8smWbEayLkNr6CQgi 4mRPmGIu3ABGN/N8DfUdhmPRXFdd3oSML/20g= Original-Received: by 10.66.245.2 with SMTP id s2mr3551725ugh.80.1223565813730; Thu, 09 Oct 2008 08:23:33 -0700 (PDT) Original-Received: by 10.67.26.6 with HTTP; Thu, 9 Oct 2008 08:23:33 -0700 (PDT) Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:58623 Archived-At: 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