all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: Phil Sainty <psainty@orcon.net.nz>
Cc: Katsumi Yamaoka <yamaoka@jpl.org>, 38173@debbugs.gnu.org
Subject: bug#38173: describe-variable: Also tell user *where* variable was changed
Date: Wed, 13 Nov 2019 07:28:05 +0800	[thread overview]
Message-ID: <87pnhwsmii.5.fsf@jidanni.org> (raw)
In-Reply-To: <87pnhxyjxp.8.fsf@jidanni.org>

(OK, it's like telling the user your current balance is $0, your original
balance is $1000, and throwing out even the final record of what happened.
At least don't tell him his original balance then.)

Gasp, that var-watcher stuff is so complicated.

How about:
At the beginning of the user's .emacs:
(setq tracked-variables LIST_OF_TRACKED_VARIABLES)

And then if he later does describe-variable on one of them,
he gets all the places and values that variable was set.

The tracked-variables docsrting should warn: this is for debugging use
only, and adds a burden...





  reply	other threads:[~2019-11-12 23:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12  1:14 bug#38173: describe-variable: Also tell user *where* variable was changed 積丹尼 Dan Jacobson
2019-11-12  2:28 ` Katsumi Yamaoka
2019-11-12  2:45   ` 積丹尼 Dan Jacobson
2019-11-12 23:10     ` Phil Sainty
2019-11-12 23:28       ` 積丹尼 Dan Jacobson [this message]
2019-11-13  9:19         ` Phil Sainty
2019-11-13 15:06           ` 積丹尼 Dan Jacobson
2019-11-13 22:56             ` Phil Sainty
2019-11-14  6:27               ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnhwsmii.5.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=38173@debbugs.gnu.org \
    --cc=psainty@orcon.net.nz \
    --cc=yamaoka@jpl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.