unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: cyd@stupidchicken.com, emacs-devel@gnu.org
Subject: Re: Starnge comment in Custom Theme code.
Date: Sun, 25 Dec 2005 22:21:57 -0600 (CST)	[thread overview]
Message-ID: <200512260421.jBQ4Lvp00108@raven.dms.auburn.edu> (raw)
In-Reply-To: <E1EqhyK-0001Cw-OE@fencepost.gnu.org> (rms@gnu.org)

Richard Stallman wrote:

   I am not sure what is the right way to deal with theme settings of
   variables that have been setq's outside Custom, but the argument you
   made this time does not seem persuasive.

I believe that setq expresses just as much an individual preference by
the user than a saving or setting through Custom.  If a program did
the setq, the situation may be worse, because the program may be
relying on the setq-ed value for its proper functioning.

One example of a problem that can occur if loading a theme overrides
"rogue" values, but not the user theme:
  
If the user sets cua-mode via Custom then cua-mode seems to set
transient-mark-mode, delete-selection-mode and pc-selection-mode using
setq or minor mode invocation.  Now the user loads a theme with tons
of settings, one of them setting one of these to some other value.
Even if the theme also sets cua-mode to nil, cua-mode stays enabled,
because the theme does not override the cua Custom setting.  With the
cua-set variables away from their cua-defaults, cua-mode is, I
believe, pretty much going to become disfunctional to the user.  There
are also, I believe, going to be problems when the user, seeing the
inconsistency, disables cua-mode.  Then cua-mode seems to reestablish
its own saved old user settings, overriding the theme again.

Sincerely,

Luc.

  reply	other threads:[~2005-12-26  4:21 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=200512260421.jBQ4Lvp00108@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@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).