unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14348: 24.3.50; `custom-magic-alist': Bad & missing handling of `themed'
@ 2013-05-04 15:44 Drew Adams
  2013-12-18  8:59 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2013-05-04 15:44 UTC (permalink / raw)
  To: 14348

The value `themed' was added as a possibility for `custom-magic-alist'.
But this seems to have been done only partially and wrongly.
 
1. When `themed' is the value, the only accompanying text says only
this: "THEMED."  That tells you nothing about what the state means.
 
2. When a Customize group is involved, the accompanying text instead
says only this: "visible group members are all at standard values."
 
Is that correct?  That text seems to have simply been copy+pasted from
the text for value `standard'.  Doesn't seem correct to me.
 
3. But I don't know what value `themed' means, so I cannot suggest a
correction.  Searching for `themed' in the file, I see `custom-themed',
whose doc string says it is a face used when the customize item has been
set by a theme.  So perhaps `themed' as a state value means that the
item has been set by a theme?  Just a guess.  But what does it mean to
have been set by a theme?  Is that something that the user did in
Customize, or is it something that was done outside of Customize?
 
4. The `custom-magic-alist' doc string was never updated, to reflect the
addition of the possible value `themed'.  It details what each value
means - except for `themed'.
 
In sum, this new value was added without doing the work necessary to let
users know WTF it is for.  Please make clear what the state means,
including what it indicates wrt how the value was set/changed/defined.
 
 
 
In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2013-04-26 on ODIEONE
Bzr revision: 112399 eggert@cs.ucla.edu-20130426193109-3chlhmjv621m7zdz
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14348: 24.3.50; `custom-magic-alist': Bad & missing handling of `themed'
  2013-05-04 15:44 bug#14348: 24.3.50; `custom-magic-alist': Bad & missing handling of `themed' Drew Adams
@ 2013-12-18  8:59 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2013-12-18  8:59 UTC (permalink / raw)
  To: Drew Adams; +Cc: 14348-done

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

> When a Customize group is involved, the accompanying text instead says
> only this: "visible group members are all at standard values."
>
> Is that correct?  That text seems to have simply been copy+pasted from
> the text for value `standard'.  Doesn't seem correct to me.

I've now tweaked it to say that it was set by an enabled Custom theme.
The docstring was also updated.  See the node on Custom Themes in the
Emacs manual for more information on Custom themes.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-18  8:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-04 15:44 bug#14348: 24.3.50; `custom-magic-alist': Bad & missing handling of `themed' Drew Adams
2013-12-18  8:59 ` Chong Yidong

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).