GNU bug report logs - #35628
Keep track of what file sets variables... through init-file processing

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 8 May 2019 06:38:02 UTC

Severity: wishlist

Tags: wontfix

Merged with 29495, 38173

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 35628 <at> debbugs.gnu.org
Subject: bug#35628: Keep track of what file sets variables... through init-file processing
Date: Wed, 08 May 2019 14:37:14 +0800
C-h v runs the command describe-variable.

Its output looks like

   ............. is a variable defined in ‘.......el’.
   Its value is t
   Original value was nil

So describe-variable knows several things including
- the original value of a variable.
- the file where that value was set.

- the current value of a variable.
- the file where that value was set <---- ALAS... it would know that
but that part of its record keeping quits before ~/.emacs is processed!

Try this: put (setq xxxx 2222) in ~/.emacs; restart emacs, and do
describe-variable xxxx.

You might say "Well we only remember one filename. If we remember
.emacs, then we will forget the original file."

Then I would say "You remember two values, then you should remember two files."

P.S., this has nothing to do with
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910021




This bug report was last modified 5 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.