From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Is there a "selective setq locator/highlighter" anywhere? Date: Thu, 22 Jan 2009 13:54:25 +0000 Message-ID: <20090122135425.GA3719@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232631601 13976 80.91.229.12 (22 Jan 2009 13:40:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2009 13:40:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 22 14:41:14 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LPzo1-0002at-6r for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2009 14:41:13 +0100 Original-Received: from localhost ([127.0.0.1]:47719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPzmj-0001j2-Gz for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2009 08:39:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPzjA-0007XU-Sq for emacs-devel@gnu.org; Thu, 22 Jan 2009 08:36:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPzj9-0007W0-Sy for emacs-devel@gnu.org; Thu, 22 Jan 2009 08:36:12 -0500 Original-Received: from [199.232.76.173] (port=39226 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPzj9-0007Vh-JF for emacs-devel@gnu.org; Thu, 22 Jan 2009 08:36:11 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:4315 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LPzj9-0003bl-6S for emacs-devel@gnu.org; Thu, 22 Jan 2009 08:36:11 -0500 Original-Received: (qmail 54071 invoked by uid 3782); 22 Jan 2009 13:36:00 -0000 Original-Received: from acm.muc.de (pD9E23F92.dip.t-dialin.net [217.226.63.146]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Thu, 22 Jan 2009 14:35:56 +0100 Original-Received: (qmail 5282 invoked by uid 1000); 22 Jan 2009 13:54:25 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108083 Archived-At: Hi, Emacs! I sometimes have problems with long rambling elisp defuns, in that some critical variable, say `c-state-cache' is updated in several (or even many) places in the defun, and it's difficult to see the places it gets changed. Hi-lock-mode is helpful here, in that I can highlight occurances of "c-state-cache" and occurances of "setq". But the longer and ramblinger a defun becomes, the less helpful is this. I would like a tool which would highlight these: (setq foo bar c-state-cache (cdr c-state-cache)) (setcar c-state-cache (caar c-state-cache)) , but not this: (setq old-cache c-state-cache) . Does anybody know of anything like this in existance? Thanks! -- Alan Mackenzie (Nuremberg, Germany).