unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 22451@debbugs.gnu.org, Richard Stallman <rms@gnu.org>
Subject: bug#22451: 24.5; `customize-apropos-options': wrong message
Date: Tue, 16 Feb 2016 17:53:59 +1100	[thread overview]
Message-ID: <8737st5ens.fsf@gnus.org> (raw)
In-Reply-To: <b78b3672-681b-4b1d-990c-b7a9f7014b89@default> (Drew Adams's message of "Sat, 23 Jan 2016 17:55:32 -0800 (PST)")

Drew Adams <drew.adams@oracle.com> writes:

> emacs -Q
> M-x customize-apropos-options .* RET
>
> You see the message "Resetting customization items...", which is quite
> wrong.  Nothing is being reset.  Users will be confused and certainly
> hope/pray that that no option is actually being "reset".

Richard added those messages in 2005...  I'm not quite sure what the
logic is here, but there does seem to be something...  reset...  here...

   (message "Creating customization items ...done")
+  (message "Resetting customization items...")
   (unless (eq custom-buffer-style 'tree)
     (mapc 'custom-magic-reset custom-options))
+  (message "Resetting customization items...done")
   (message "Creating customization setup...")

Oh, it's just a redrawing thing:

----------
custom-magic-reset is a compiled Lisp function in ‘cus-edit.el’.

(custom-magic-reset WIDGET)

Redraw the :custom-magic property of WIDGET.
----------

In that case I agree that the message is misleading, and I think it
should just be removed.  That part doesn't seem to take that much time,
anyway.  Richard?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2016-02-16  6:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-24  1:55 bug#22451: 24.5; `customize-apropos-options': wrong message Drew Adams
2016-02-16  6:53 ` Lars Ingebrigtsen [this message]
2019-07-11  4:17 ` Stefan Kangas
2019-07-11 14:06   ` 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

  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=8737st5ens.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=22451@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=rms@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).