unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Is there a "selective setq locator/highlighter" anywhere?
@ 2009-01-22 13:54 Alan Mackenzie
  2009-01-22 13:44 ` Lennart Borgman
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Alan Mackenzie @ 2009-01-22 13:54 UTC (permalink / raw)
  To: emacs-devel

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).




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-01-23 16:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-22 13:54 Is there a "selective setq locator/highlighter" anywhere? Alan Mackenzie
2009-01-22 13:44 ` Lennart Borgman
2009-01-22 16:23   ` Stefan Monnier
2009-01-23 15:41   ` Alan Mackenzie
2009-01-23 15:36     ` Lennart Borgman
2009-01-23 16:12       ` Lennart Borgman
2009-01-22 14:49 ` Stefan Monnier
2009-01-22 18:06 ` Davis Herring
2009-01-23 15:58   ` Is there a "selective setq locator/highlighter" anywhere? There is now! Alan Mackenzie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).