From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ethan Glasser-Camp Newsgroups: gmane.emacs.bugs Subject: bug#6843: 23.1; grep-mode and filenames with colors Date: Wed, 11 Aug 2010 07:20:08 -0400 Message-ID: <4C628768.5060808@cs.rpi.edu> 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 1281539522 15070 80.91.229.12 (11 Aug 2010 15:12:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Aug 2010 15:12:02 +0000 (UTC) To: 6843@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 11 17:12:00 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 1OjCyF-000184-IL for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Aug 2010 17:11:59 +0200 Original-Received: from localhost ([127.0.0.1]:34183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OjCyE-0008VT-Qu for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Aug 2010 11:11:58 -0400 Original-Received: from [140.186.70.92] (port=50368 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OjCSI-0003QJ-GI for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2010 10:39:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OjCSH-0003Av-BL for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2010 10:38:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54245) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjCSH-0003Ar-8d for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2010 10:38:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OjC1G-0003sB-J0; Wed, 11 Aug 2010 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ethan Glasser-Camp Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Aug 2010 14:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6843 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.128153581414872 (code B ref -1); Wed, 11 Aug 2010 14:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Aug 2010 14:10:14 +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 1OjC0T-0003ro-Bb for submit@debbugs.gnu.org; Wed, 11 Aug 2010 10:10:14 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oj9Mn-0001x8-Sj for submit@debbugs.gnu.org; Wed, 11 Aug 2010 07:21:06 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:56694) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Oj9NY-0005uZ-9x for submit@debbugs.gnu.org; Wed, 11 Aug 2010 07:21:52 -0400 Original-Received: from [140.186.70.92] (port=47890 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oj9NW-0001sY-K8 for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2010 07:21:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oj9NV-0001pi-L0 for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2010 07:21:50 -0400 Original-Received: from cliffclavin.cs.rpi.edu ([128.113.126.25]:55034) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oj9NV-0001oE-In for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2010 07:21:49 -0400 X-Hash: SCtCte|eb6eb2b3c706ff83dafe2fca18068e667c6f25ae|4e0df4232a251636afc0ccee722c137d X-Countries: Cameroon, United States X-SMTP-From: accepted [195.24.198.206] [195.24.198.206] ([10.0.13.196]) {Cameroon} DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=cs.rpi.edu; h= message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=default; i=glasse@cs.rpi.edu; t= 1281525702; x=1282130502; l=3764; bh=EUmeDYinsNYzMTJJ2twt4KVlGQQ =; b=gtY8AfOnpiJjSGCe43fwW/r6w5Oa9dHMoP6vQEt+u9DU3efaEOBDI2Dslm+ QfZd+qz6AXbajJJKas2Nhs4Ri86MX0U7Vei5ZXhuc4AnDm7rbada348iWZ8wdY+Z ocKOkwZI7U+AjunFpCqsuB/V/NNVvxyKsN0BND0OBe7H/SYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cs.rpi.edu; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=default; b=WWulLV/MZNQnC8dE tZqTKHXJNqJu1oSsWuiaLoUuE+BIJu98qmZUlILugjpvkg/ws2jtE2XyKULGrii4 nZHUIF66LyS4uskYosJPncLpUDRCleSTa5DHUTsFwFjI15qR45IQEG1L/H5jZVfx 8z3RRxm90rhs/shinQ/ByA+JV0I= Authentication-Results: cliffclavin.cs.rpi.edu; DKIM=neutral (none) header.from=glasse@cs.rpi.edu; SPF=neutral (mfrom; Mechanism '?all' matched) smtp.mail=glasse@cs.rpi.edu X-Auth-Passed: cliffclavin.cs.rpi.edu:o7BBKUTI078287 Auth:glasse X-Virus-Scanned-By: cliffclavin.cs.rpi.edu Original-Received: from [10.0.13.196] ([195.24.198.206]) (authenticated bits=0) by cliffclavin.cs.rpi.edu (8.14.3/8.14.3) with ESMTP id o7BBKUTI078287 for ; Wed, 11 Aug 2010 07:21:19 -0400 (EDT) (envelope-from glasse@cs.rpi.edu) User-Agent: Thunderbird 2.0.0.24 (X11/20100411) X-Scanned-By: MIMEDefang 2.67 on 128.113.126.25 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 11 Aug 2010 10:10:12 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 11 Aug 2010 10:11:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 11 Aug 2010 11:11:55 -0400 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:39426 Archived-At: grep-mode highlights matches based on the presence of a pair of colons around a number. But, for example, if you do this: ethan@joker:~$ mkdir test ethan@joker:~$ echo 'Hello' > test/10:45:20.txt ethan@joker:~$ emacs -q M-x rgrep Hello ~/test The results will mis-highlight 10:45:20, coloring "45" as the line number (when it is part of the name of the file). Correspondingly, if you do M-x grep Hello 10: The same thing happens. It's not possible to automatically jump-to-line when this happens. Thanks for your time, Ethan In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3) of 2010-03-26 on palmer, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10604000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Grep Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r g r e p H e l l o * f o o t e s t C-x o C-a C-x k M-x H e l l o t e s t C-x o M-x f o o * s r c a m C-x o M-x H e l l o ~ ~ t e s t C-x o C-x o M-x H e l l o M-x g r e p H e l l o SPC M-x H e l l o SPC 1 0 : M-x C-g M-x e m a c b b u r e p o r t Recent messages: Grep finished (matches found) Mark set Grep finished (matches found) Mark set Grep finished (matches found) [3 times] Grep finished with no matches found Grep finished (matches found) Quit Making completion list... /usr/bin/mail is not an executable. Setting mail-interactive to t.