From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#6535: 24.0.50; grep seems not to work Date: Tue, 29 Jun 2010 14:24:54 +0200 Message-ID: <4C29E616.6070402@swipnet.se> References: <6813-Mon28Jun2010175948+0100-jpff@codemist.co.uk> <4C29BEFC.8020908@swipnet.se> <2569-Tue29Jun2010111025+0100-jpff@codemist.co.uk> <4C29CDEF.6050903@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1277814581 10240 80.91.229.12 (29 Jun 2010 12:29:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2010 12:29:41 +0000 (UTC) Cc: 6535@debbugs.gnu.org, john ffitch Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 14:29:38 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OTZwX-0005OD-Fh for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jun 2010 14:29:37 +0200 Original-Received: from localhost ([127.0.0.1]:38583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTZwW-0007w7-Kr for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jun 2010 08:29:36 -0400 Original-Received: from [140.186.70.92] (port=51169 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTZwN-0007ut-Aa for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2010 08:29:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTZwI-0003z8-Lc for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2010 08:29:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38893) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTZwI-0003z2-J2 for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2010 08:29:22 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OTZt4-0003Mk-Ib; Tue, 29 Jun 2010 08:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Jun 2010 12:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6535 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6535-submit@debbugs.gnu.org id=B6535.127781432612925 (code B ref 6535); Tue, 29 Jun 2010 12:26:02 +0000 Original-Received: (at 6535) by debbugs.gnu.org; 29 Jun 2010 12:25:26 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTZsU-0003MQ-Iq for submit@debbugs.gnu.org; Tue, 29 Jun 2010 08:25:26 -0400 Original-Received: from smtprelay-h21.telenor.se ([195.54.99.196]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTZsT-0003MJ-AZ for 6535@debbugs.gnu.org; Tue, 29 Jun 2010 08:25:25 -0400 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id ABB8BF45E for <6535@debbugs.gnu.org>; Tue, 29 Jun 2010 14:25:00 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlMzADaDKUxV4S0jPGdsb2JhbACeZVUMAQEBATUtvxuFJAQ X-IronPort-AV: E=Sophos;i="4.53,505,1272837600"; d="scan'208";a="539254969" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb3.telenor.se with ESMTP; 29 Jun 2010 14:24:55 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 28E777FA05A; Tue, 29 Jun 2010 14:24:55 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 29 Jun 2010 08:26:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38107 Archived-At: root skrev 2010-06-29 13.03: > The real problem is that in lisp/grep.el there is > (defun grep-process-setup () > ... > ;; Any TERM except "dumb" allows GNU grep to use `--color=auto' > (setenv "TERM" "emacs-grep") > (setenv "GREP_OPTIONS" > (concat (getenv "GREP_OPTIONS") > " --color=" (if (eq grep-highlight-matches 'always) > "always" "auto"))) > ... > > but there is no terminal type emacs-grep so the process call fails to start > before it gets to call /bin/grep or set TERM=vt100 > > So, what is this emacs-grep terminal type and how did it change from when it > worked. > emacs-grep was introduced in late 2007: revno: 82277 committer: Juri Linkov timestamp: Fri 2007-11-23 00:32:05 +0000 message: (grep-process-setup): Set envvar "TERM" to "emacs-grep". Set envvar "GREP_OPTIONS" to "--color=auto" instead of "--color=always". My guess is that Suse changed if this worked for you on an Emacs newer than this change. Jan D.