From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#6227: Color isearch regexp submatches differently Date: Thu, 20 May 2010 06:33:50 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274363853 23017 80.91.229.12 (20 May 2010 13:57:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 May 2010 13:57:33 +0000 (UTC) Cc: 6227@debbugs.gnu.org To: "'Lennart Borgman'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 20 15:57:32 2010 connect(): No such file or directory 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 1OF6Fd-0008HR-QI for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 15:57:32 +0200 Original-Received: from localhost ([127.0.0.1]:57795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF6Fb-00048g-DT for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 09:57:27 -0400 Original-Received: from [140.186.70.92] (port=41747 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF6FN-00044l-9z for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 09:57:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OF6FF-0007cd-98 for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 09:57:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38027) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF6FE-0007cX-8q for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 09:57:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OF5tu-0005CP-9f; Thu, 20 May 2010 09:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 May 2010 13:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6227 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6227-submit@debbugs.gnu.org id=B6227.127436244819975 (code B ref 6227); Thu, 20 May 2010 13:35:02 +0000 Original-Received: (at 6227) by debbugs.gnu.org; 20 May 2010 13:34:08 +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 1OF5t1-0005C8-Vx for submit@debbugs.gnu.org; Thu, 20 May 2010 09:34:08 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF5sz-0005Bk-Vh for 6227@debbugs.gnu.org; Thu, 20 May 2010 09:34:06 -0400 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4KDXwXi018951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 May 2010 13:34:00 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4KDGFM5025183; Thu, 20 May 2010 13:33:57 GMT Original-Received: from abhmt006.oracle.com by acsmt355.oracle.com with ESMTP id 284464601274362436; Thu, 20 May 2010 06:33:56 -0700 Original-Received: from dradamslap1 (/141.144.168.134) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 20 May 2010 06:33:56 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acr4IFTelqrClbJ8QR6QAlq9gwXVlwAAIQ+A In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Auth-Type: Internal IP X-Source-IP: rcsinet15.oracle.com [148.87.113.117] X-CT-RefId: str=0001.0A090208.4BF53A48.00A7:SCFMA4539811,ss=1,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 May 2010 09:35: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:37091 Archived-At: > > Did you mean something like this (attached)? > > This is how I highlight submatches in Icicles search. > > > > (The top part of the image, with light blue background, > > shows the highlighting. The bottom part of the image, > > with white background, shows the regexp used and > > is just an explanation of the subgroup highlighting.) > > Yes, exactly. IMO, this can be very helpful when searching with regexps. And it can help users learn about using regexps more generally. Of course, such highlighting should be optional, and preferably via a toggle during Isearch.