From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: geoff.bache@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Weird stuff printed out by emacs rgrep Date: Sun, 22 Mar 2009 12:55:56 -0700 (PDT) Organization: http://groups.google.com Message-ID: <754129e2-cab7-43b2-aa97-d81fedc338f0@e35g2000yqc.googlegroups.com> References: <9ed8d2c9-e755-4c7c-9176-e5e97769c0d2@w34g2000yqm.googlegroups.com> <12c10335-0402-4b94-bc5e-2268c1824c35@h20g2000yqj.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1237754457 28317 80.91.229.12 (22 Mar 2009 20:40:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Mar 2009 20:40:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 22 21:42:15 2009 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 1LlUUo-000554-SG for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Mar 2009 21:42:15 +0100 Original-Received: from localhost ([127.0.0.1]:48623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LlUTS-0004og-4D for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Mar 2009 16:40:50 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!e35g2000yqc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 83.227.50.117 Original-X-Trace: posting.google.com 1237751756 10188 127.0.0.1 (22 Mar 2009 19:55:56 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 22 Mar 2009 19:55:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e35g2000yqc.googlegroups.com; posting-host=83.227.50.117; posting-account=ZIEW3gkAAAC41ufTq9oYkvlXLYU5pgAQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:167907 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:63199 Archived-At: On Mar 22, 8:08=A0pm, Eli Zaretskii wrote: > > From: geoff.ba...@gmail.com > > Date: Sun, 22 Mar 2009 11:23:00 -0700 (PDT) > > > On Mar 22, 12:01=A0am, Eli Zaretskii wrote: > > > > From: geoff.ba...@gmail.com > > > > Date: Sat, 21 Mar 2009 14:02:47 -0700 (PDT) > > > > > Emacs starts /bin/tcsh -c find ... | xargs grep ... > > > > Crucially, it sets the environment variable GREP_OPTIONS=3D' -- > > > > color=3Dalways' > > > > The current development sources change that to --color=3Dauto. > > > Great, that would also fix my problem. > > > Do you know if this fix is present in any stable releases of emacs 22 > > yet? > > No, it was done only recently, in preparation for Emacs 23. > > But you can, of course, make the change in grep.el yourself, then > recompile it, and be done. I can happily do that at home (where I can also just reset GREP_OPTIONS at the top of the offending SGE script), but not really at work which has the same issue. I have no control over the emacs installation and don't really want to start building and supporting my own personal emacs there. Is there any chance of a backport into emacs 22 or is that not being patched any more? I believe I have more chance of convincing my sysadmins to install an official emacs release than to start hacking in elisp code :) Geoff