unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 12864@debbugs.gnu.org
Subject: bug#12864: 24.3.50; bad & confusing Customize `State' Menu behavior
Date: Sun, 11 Nov 2012 12:25:12 -0800	[thread overview]
Message-ID: <A4A932D43552464587635E86A316AE8B@us.oracle.com> (raw)

emacs -Q
 
M-x customize-option delete-old-versions
 
Value Menu: Leave
 
State: Revert This Session's Customization

The State is now back to STANDARD, which is correct.
 
In the State menu, this item is not dimmed, but should be, since there
should be no backup value different from the original value (Ask): Set
to Backup Value.
 
Choose Set to Backup Value anyway.  The State now shows "SET for current
session only, which is incorrect (at best misleading).
 
The State menu now shows items Set to Backup Value and Revert This
Session's Customization, both of which are incorrect and misleading.
(The current value is the standard value, and we reverted to it.
 
Choose Revert This Session's Customization anyway.
 
State now says CHANGED outside Customize, which is 100% wrong.  And the
State menu shows Undo Edits, Revert This Session's Customization, and
Set to Backup Value, all of which are wrong (and confusing).
 
Choose Undo Edits anyway.  It has no visible effect - State and its menu
stay the same.  Again, confusing.
 
Choose Set to Backup Value anyway.
 
State now says SET for current session only, which is (still) wrong.
And the same menu items are available, except Undo Edits.  Choosing Set
to Backup Value again has no visible effect.  Choosing Revert This
Session's Customization has the same incorrect effect as before (adds
Undo Edits to the menu and changes State to CHANGED outside Customize.
 
This is a confusing mess.
 
Without emacs -Q it is even more confusing, with Reset to Saved added to
the mix.
 
One thing that is not clear in the behavior is that Set to Backup Value
seems sometimes to be available without Reset to Saved (even without
emacs -Q).  If you have made changes to the value that have not been
saved, then I would think that Reset to Saved would always be available
(until you choose it or you save).

In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2012-11-05 on MS-W7-DANI
Bzr revision: 110809 lekktu@gmail.com-20121105172930-a5gn0bwi4lndchhw
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -I../../libs/libXpm-3.5.10/include -I../../libs/libXpm-3.5.10/src
 -I../../libs/libpng-1.2.37-lib/include -I../../libs/zlib-1.2.5
 -I../../libs/giflib-4.1.4-1-lib/include
 -I../../libs/jpeg-6b-4-lib/include
 -I../../libs/tiff-3.8.2-1-lib/include
 -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2
 -I../../libs/gnutls-3.0.9-w32-bin/include
 -I../../libs/libiconv-1.9.2-1-lib/include'
 






             reply	other threads:[~2012-11-11 20:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-11 20:25 Drew Adams [this message]
2020-09-01 16:02 ` bug#12864: 24.3.50; bad & confusing Customize `State' Menu behavior Mauro Aranda
2020-09-01 16:20   ` Stefan Kangas
2020-09-01 20:17     ` Mauro Aranda
2020-10-22 14:50       ` Mauro Aranda
2020-10-22 14:56         ` Lars Ingebrigtsen
2020-10-22 15:14           ` Mauro Aranda
2020-10-22 15:51           ` Drew Adams
2020-10-23 12:04             ` Mauro Aranda

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=A4A932D43552464587635E86A316AE8B@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=12864@debbugs.gnu.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 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).