From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: root Newsgroups: gmane.emacs.bugs Subject: bug#6535: 24.0.50; grep seems not to work Date: Tue, 29 Jun 2010 12:03:11 +0100 (BST) Message-ID: 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=US-ASCII; format=flowed X-Trace: dough.gmane.org 1277827178 28656 80.91.229.12 (29 Jun 2010 15:59:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2010 15:59:38 +0000 (UTC) Cc: 6535@debbugs.gnu.org, john ffitch To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 17:59:35 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 1OTdDh-0008IE-V4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jun 2010 17:59:34 +0200 Original-Received: from localhost ([127.0.0.1]:36448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTdDh-0001YI-DX for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jun 2010 11:59:33 -0400 Original-Received: from [140.186.70.92] (port=56472 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTdDZ-0001Wx-Ar for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2010 11:59:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTdDX-0005ht-OV for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2010 11:59:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44313) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTdDX-0005hn-Mb for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2010 11:59:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OTd0b-0005FW-OY; Tue, 29 Jun 2010 11:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: root 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 15:46:01 +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.127782636020172 (code B ref 6535); Tue, 29 Jun 2010 15:46:01 +0000 Original-Received: (at 6535) by debbugs.gnu.org; 29 Jun 2010 15:46:00 +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 1OTd0Z-0005FJ-FH for submit@debbugs.gnu.org; Tue, 29 Jun 2010 11:46:00 -0400 Original-Received: from [217.155.197.248] (helo=codemist.co.uk) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTZ4P-000303-Bg for 6535@debbugs.gnu.org; Tue, 29 Jun 2010 07:33:42 -0400 Original-Received: from root (helo=localhost) by codemist.co.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1OTYat-0004KU-MS; Tue, 29 Jun 2010 12:04:33 +0100 In-Reply-To: <4C29CDEF.6050903@swipnet.se> X-Mailman-Approved-At: Tue, 29 Jun 2010 11:45:58 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 29 Jun 2010 11:46:01 -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:38111 Archived-At: 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. ==John ff