unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: npostavs@users.sourceforge.net
Cc: 4755@debbugs.gnu.org
Subject: bug#4755: 23.1; case where `C-M-x' on defcustom doesn't seem to work
Date: Tue, 5 Jul 2016 14:30:15 +0000 (UTC)	[thread overview]
Message-ID: <c33b41bb-0aa2-4e26-8e7f-691c8a2b0b24@default> (raw)
In-Reply-To: <87poqsd8lc.fsf@users.sourceforge.net>

> tags 4755 unreproducible
> quit

> Can't reproduce on Emacs 23.4, perhaps it was fixed?

I just reproduced it using Emacs 25, from emacs -Q. Here's
some of the proof of a problem:

toto's value is shown below.

Documentation:
...

You can customize this variable.

Value: (("foo" (f1 f2) f3) ("bar" (b1 b2) b3))
Original value was 
(("foo"
  (f1 f2)
  f3)
 ("bar"
  (b1 b2)
  b3)
 ("toto"
  (f1 f2 f3)
  nil))

`foo', not `toto' was customized, and the Value shown
here is correct. But the "Original value" is incorrect.
The "Original value" shown is the new, current value
of `foo'.  `toto' never had, as still does not have,
that "Original value".

For the above, I did not even get to the part of the
recipe that calls for using `C-M-x' on the `toto'
defcustom.  All I did was customize `foo' and set it
for the session.

Then, doing `C-M-x' does correctly show `toto' as
having the same value as `foo'.

So if you prefer, yes, the bug as reported seems to be
fixed.  But there is another bug, shown above:
customizing `foo' changes the "Original value" part
of the output of `C-h v' for `toto'.

Something is still amiss in the state of Denmark...





  reply	other threads:[~2016-07-05 14:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-19  0:21 bug#4755: 23.1; case where `C-M-x' on defcustom doesn't seem to work Drew Adams
2016-07-05  4:14 ` npostavs
2016-07-05 14:30   ` Drew Adams [this message]
2016-07-05 17:00     ` Noam Postavsky
2016-07-05 17:30       ` Drew Adams
2016-07-05 17:56         ` Noam Postavsky
2016-07-05 18:20           ` Drew Adams
2016-07-09  3:14             ` npostavs

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=c33b41bb-0aa2-4e26-8e7f-691c8a2b0b24@default \
    --to=drew.adams@oracle.com \
    --cc=4755@debbugs.gnu.org \
    --cc=npostavs@users.sourceforge.net \
    /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 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).