unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Changed outside --> set, in Customize UI
Date: Tue, 8 Feb 2005 12:37:29 -0800	[thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBCEGDCJAA.drew.adams@oracle.com> (raw)
In-Reply-To: <871xbsky5a.fsf-monnier+emacs@gnu.org>

    > If, today, most "changes outside customize" occur
    > systematically, that is
    > because most represent _bugs_: libraries that are diddling
    > user options when they shouldn't.

    No, it's because the same code is executed at most startup.
    After all, your .emacs doesn't change much from one
    invocation to the next and you tend to
    use the same major modes from one invocation to the next, so
    the same code is triggered.

How much of this is caused directly by stuff in your .emacs and how much is
caused by stuff your .emacs loads? How many of the latter changes are really
_appropriate_ for libraries to make? That is, how much changing of user
options by libraries that you load each day is appropriate?

I don't know, but I suspect that most current changes of user options by
libraries represent bugs. And, given the discussion in this thread, I'm
hopeful that number will be reduced.

    > In the future, I expect that most such outside changes will be made by
    > users using other ways than Customize (extensions of Customize,
    > essentially) to change values.  Users will set options in
    various ways and
    > they will see that "Set" status correctly reflected in Customize.

    Then you're not talking about removing the distinction but
    about eradicating
    the cases where "changed outside customize" occurs.

I'm not interested in eradicating all the cases where "changed outside"
occurs. From the beginning, I've been interested in eradicating
_inappropriate_ changes of user options - as well as removing the
outside/inside distinction (in the UI). A user using a command to change a
face color is setting that user option - the change is both outside
customize and appropriate.

Currently, I suspect that most "outside changes" are inappropriate. I expect
the number of occurrences of appropriate (that is, user-intended) outside
changes to grow, both relative to the number of inappropriate such changes
and absolutely (due to Customize extensions that help users change options
"outside" Customize).

Setting user options, in whatever way, should be done by users, but users
should be able to use any means to do that.

    >     And even if it does show up, taking a look at the customize
    >     buffer when you see the problem will tell you "changed
    >     outside customize" warning you of the problem.
    >     What is the problem you are trying to solve, really? I.e. in
    >     what way is the message "changed outside customize" a problem?

    > Come on, you can't have it both ways. Either "changed outside
    > customize" is valuable because it is effective in warning
    > users about disastrous problems, or it is harmless (might not
    > help but doesn't hurt), has no effect, and
    > means nothing. Which do you want to claim?

    Notice I asked "in what way is the message `changed outside customize'
    a problem", which is not the same as "in what way is a situation denoted
    by `changed outside customize' a problem".
    Don't shoot the messenger.

I'm not. We're both talking about the message, not the messenger. The claim
was made that the message is invaluable in finding bugs and in warning
users. And I interpreted your last question ("what's the harm?",
essentially) as suggesting that the message is really not important, that it
is harmless. Is the message an important warning, or is it something
harmless that can be ignored?

    > IOW, turn your question around: In what way is using Set instead of
    > Changed Outside Customize a problem?

    Because it hides the fact that Custom has detected a potential problem.

The net is too wide. We don't want to scream "Wolf!" for all outside
changes. We only want to warn about identified problems (until we can fix
them).

    Do you want to solve the problem or do you want to put your
    head in the sand
    by removing the message warning you of the problem?

The warning is not going to solve the problem, which is a set of bugs that
need to be fixed. I already seconded Luc's suggestion of creating a _real_
warning until the bugs are fixed, but I also mentioned that it makes sense
to target such a message to those cases that we know are problematic, rather
than painting all outside changes with the same broad brush. We want people
to pay attention when we cry "Wolf!".

  reply	other threads:[~2005-02-08 20:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-07  7:35 Changed outside --> set, in Customize UI Drew Adams
2005-02-07 14:01 ` Stefan Monnier
2005-02-07 18:04   ` Drew Adams
2005-02-07 18:51     ` Stefan Monnier
2005-02-08 20:37       ` Drew Adams [this message]
2005-02-08  3:15     ` Luc Teirlinck
2005-02-08  4:00       ` Luc Teirlinck
2005-02-08 11:55       ` Luc Teirlinck
2005-02-10  6:02         ` Richard Stallman
2005-02-08 20:37       ` Drew Adams
2005-02-09  1:38         ` Luc Teirlinck
2005-02-09  2:27           ` Drew Adams
2005-02-09 13:29           ` Robert J. Chassell
2005-02-09  1:44         ` Luc Teirlinck
2005-02-09  2:07         ` Luc Teirlinck
2005-02-09  2:27           ` Drew Adams
2005-02-09  2:45             ` Luc Teirlinck
2005-02-09  2:15         ` Luc Teirlinck
2005-02-07 16:14 ` Lennart Borgman
2005-02-07 20:51 ` Richard Stallman
2005-02-08 20:38   ` Drew Adams
2005-02-10  6:02     ` Richard Stallman
2005-02-11 21:15       ` Drew Adams
2005-02-11 23:05         ` Luc Teirlinck
2005-02-12 19:17         ` Richard Stallman

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=MEEKKIABFKKDFJMPIOEBCEGDCJAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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).