unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Starnge comment in Custom Theme code.
@ 2005-12-24 16:30 Luc Teirlinck
  2005-12-24 17:21 ` Chong Yidong
  2005-12-25  2:52 ` Richard M. Stallman
  0 siblings, 2 replies; 25+ messages in thread
From: Luc Teirlinck @ 2005-12-24 16:30 UTC (permalink / raw)


What does the following comment starting on line 679 of custom.el
mean?  I believe that we decided that a theme should never override a
value defined with setq or otherwise set outside Custom.  So the user
value does not have to "come back", it never goes away.

What does the code that follows the comment do?  Nobody will ever find
bugs in the Themes code by using it, because nobody is using it.  So
the only way to find bugs is to read the source code and see what it
does.  Did anybody ever do that?  I tried and concluded that it was
just an incoherent bunch of nonsense, that was not worth trying to fix.

      ;; Add a new setting.
      ;; If the user changed the value outside of Customize, we
      ;; first save the current value to a fake theme, `standard'.
      ;; This ensures that the user-set value comes back if the
      ;; theme is later disabled.

Sincerely,

Luc.

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

end of thread, other threads:[~2005-12-27  4:55 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-24 16:30 Starnge comment in Custom Theme code Luc Teirlinck
2005-12-24 17:21 ` Chong Yidong
2005-12-24 18:02   ` Luc Teirlinck
2005-12-24 18:35     ` Chong Yidong
2005-12-24 18:39       ` Luc Teirlinck
2005-12-24 18:42         ` Chong Yidong
2005-12-24 18:53           ` Luc Teirlinck
2005-12-24 18:49       ` Luc Teirlinck
2005-12-25  2:32       ` Luc Teirlinck
2005-12-26  2:20         ` Richard M. Stallman
2005-12-26  4:21           ` Luc Teirlinck
2005-12-26 21:57             ` Richard M. Stallman
2005-12-26 18:05           ` Luc Teirlinck
2005-12-24 18:30   ` Luc Teirlinck
2005-12-24 19:04   ` Luc Teirlinck
2005-12-24 20:58   ` Luc Teirlinck
2005-12-25  1:45   ` Luc Teirlinck
2005-12-26  2:20     ` Richard M. Stallman
2005-12-26  3:29       ` Luc Teirlinck
2005-12-27  4:55         ` Richard M. Stallman
2005-12-26  4:26       ` Luc Teirlinck
2005-12-26 18:43       ` Richard M. Stallman
2005-12-27  2:13         ` Luc Teirlinck
2005-12-25  2:52 ` Richard M. Stallman
2005-12-25  3:03   ` Luc Teirlinck

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