all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* watching for variable assignment
@ 2014-03-10  9:21 Eric Abrahamsen
  2014-03-10  9:29 ` Jambunathan K
  0 siblings, 1 reply; 16+ messages in thread
From: Eric Abrahamsen @ 2014-03-10  9:21 UTC (permalink / raw)
  To: help-gnu-emacs

I've been fighting gnus recently over mail splitting, trying to keep the
variable nnimap-split-fancy set to my preferred value -- as I use gnus,
some other part of the code keeps setting it to "nil" and messing up my
splits.

I'd really like to know what's doing that, so I'm trying to somehow
trigger a message or a backtrace whenever that variable's value changes.
I tried advising "set" (thinking that set was the most fundamental
function for variable assignment), but that doesn't seem to get called.
I advised "setq", but that gave me a recursion exception: defadvice
probably uses setq itself.

What are my other options? How do I figure out who keeps blanking this
variable out?

Thanks,
Eric

Using GNU Emacs 24.3.1. Hmm, maybe if I tried emacs from git, and the
new add-function stuff...




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

end of thread, other threads:[~2014-03-21 12:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10  9:21 watching for variable assignment Eric Abrahamsen
2014-03-10  9:29 ` Jambunathan K
2014-03-10  9:59   ` Eric Abrahamsen
2014-03-10 10:00     ` Nicolas Richard
2014-03-10 10:09       ` Eric Abrahamsen
2014-03-10 10:35     ` Jambunathan K
2014-03-10 10:48       ` Jambunathan K
2014-03-10 11:23         ` Eric Abrahamsen
2014-03-10 10:54       ` Eric Abrahamsen
2014-03-10 11:08         ` Jambunathan K
2014-03-10 11:38           ` Jambunathan K
2014-03-10 10:35   ` Eric Abrahamsen
2014-03-10 13:06     ` Stefan Monnier
2014-03-21 10:26       ` Eric Abrahamsen
2014-03-21 12:21         ` Stefan
2014-03-10 19:56     ` Michael Heerdegen

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.