unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: RE: Eliminating "changed in Emacs outside of Customize"
Date: Wed, 2 Feb 2005 10:33:41 -0800	[thread overview]
Message-ID: <FDELKNEBLPKKDCEBEJCBEEJMCLAA.drew.adams@oracle.com> (raw)
In-Reply-To: <rjpszjqtq4.fsf@sheridan.dina.kvl.dk>

    The "Changed outside customize" has been a great help for me to catch
    those hooks, setq's and poorly written major modes, and I think Emacs
    has improved because of it, by fixing the modes and rethinking the
    hooks.

    I can see there is a lot of followup mails.  I don't have time for
    either discussion or design, so I'll skip them unread.

    If someone have specific questions, mail them to me directly.

I still have the specific question of _what the problem is_ with the
scenario that you and Stefan (and I) described: a setq (in .emacs or a
library) executed after custom-set-variables. Yes, a setq changes the
current value so that it is no longer the `saved-value' - but so what?

And, more importantly, what that pb has to do with a proposal to eliminate
the distinction between "changed outside" and "set" in favor of only "set".
The behavior in the scenario seems to me to be the _same_, regardless of
whether such a proposal were adopted. IOW, the scenario doesn't seem to show
the reason to maintain the distinction.

I know you're busy, but I think that only you can help with this specific
question. Help us understand what the pb is.

Here's what I wrote before on this (which you perhaps missed):

          Was this unclear:
              If you .emacs, or some third party code you...

    What is not at all clear (to me) is what this has to do with
    the supposed need to distinguish, for the user, a value that is
    changed using a customize buffer from a value that is changed
    otherwise. The original question was that: "What would be wrong
    with treating, in the Customize UI, outside changes the same as
    inside changes?"

    IOW, nothing in the above description (Stefan's or Per's) makes
    any mention of replacing "changed outside" by "set" in the
    Customize UI. The above description holds perfectly in today's
    vanilla Emacs, does it not? ...

    Beyond that, what does this have to do with the question: "What
    would be wrong with treating outside changes the same as inside
    changes - in the Customize UI?"

WRT the value of such a distinction in helping us identify "hooks, setq's
and poorly written major modes" that don't play by the rules: I've found (by
experiment) that removing the distinction changed-outside/set actually makes
such faulty library codings _more visible_, not less. If every change is
considered to "set" the option, then querying with customize-customize picks
up all such faulty changes (along with any user changes made inside
customize).

Yes, the same info is available today via customize-rogue. My point is that
erasing the distinction (in the UI, for users) doesn't hamper our ability to
find such rogue library coding. And in fact it can make it more visible to
more users. That visibility could help us by inviting more bug reports on
faulty coding in libraries that we might not check otherwise.

So, the main thing that it would be a great help to clear up is 1) just what
is the pb with the scenario that you outlined, and 2) what does that
scenario (and pb) have to do with possibly erasing the distinction between
changed-outside and set.

Thanks,

   Drew

  reply	other threads:[~2005-02-02 18:33 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-26  0:03 Eliminating "changed in Emacs outside of Customize" Richard Stallman
2005-01-31 10:33 ` Per Abrahamsen
2005-02-01 13:30   ` Richard Stallman
2005-02-01 14:32     ` Per Abrahamsen
2005-02-01 18:58       ` Drew Adams
2005-02-01 20:04         ` Stefan Monnier
2005-02-01 20:38           ` Drew Adams
2005-02-01 20:44           ` David Kastrup
2005-02-01 21:05             ` Drew Adams
2005-02-01 23:52               ` Robert J. Chassell
2005-02-01 21:19             ` Lennart Borgman
2005-02-01 21:35               ` David Kastrup
2005-02-01 22:11                 ` Luc Teirlinck
2005-02-01 22:26                   ` Lennart Borgman
2005-02-02  1:03                     ` Luc Teirlinck
2005-02-02  1:34                       ` Drew Adams
2005-02-02  2:11                         ` Luc Teirlinck
2005-02-02  2:51                         ` Luc Teirlinck
2005-02-03  6:40                       ` Richard Stallman
2005-02-01 22:28                   ` David Kastrup
2005-02-01 22:40                   ` Drew Adams
2005-02-03  6:39                     ` Richard Stallman
2005-02-03  7:29                       ` Lennart Borgman
2005-02-05  5:27                         ` Richard Stallman
2005-02-03 16:54                       ` Drew Adams
2005-02-01 22:40                 ` Drew Adams
2005-02-01 21:25           ` Lennart Borgman
2005-02-03  6:39             ` Richard Stallman
2005-02-02  7:57           ` Per Abrahamsen
2005-02-02 18:33             ` Drew Adams [this message]
2005-02-02 21:04               ` Lennart Borgman
2005-02-02 22:11                 ` Drew Adams
2005-02-02 22:55                   ` Stefan Monnier
2005-02-02 22:45                 ` Luc Teirlinck
2005-02-03 15:49                   ` Lennart Borgman
2005-02-03 16:12                     ` Luc Teirlinck
2005-02-03 15:51                   ` Lennart Borgman
2005-02-03 16:01                     ` Lennart Borgman
2005-02-03 19:14                 ` Richard Stallman
2005-02-04  7:27                   ` Lennart Borgman
2005-02-03 19:12             ` Richard Stallman
2005-02-03 19:45               ` Stefan Monnier
2005-02-03 19:59                 ` Lennart Borgman
2005-02-03 20:34                   ` Stefan Monnier
2005-02-05  5:31                 ` Richard Stallman
2005-02-03 20:53               ` Drew Adams
2005-02-03 22:08                 ` Luc Teirlinck
2005-02-03 22:13                 ` Luc Teirlinck
2005-02-04  1:04                 ` Luc Teirlinck
2005-02-04  1:31                 ` Luc Teirlinck
2005-02-04  3:16                   ` Luc Teirlinck
2005-02-03 21:10               ` Robert J. Chassell
2005-02-03  6:39           ` Richard Stallman
2005-02-03  6:41       ` Richard Stallman
2005-02-03 14:42         ` Stefan Monnier
2005-02-03 15:23           ` Luc Teirlinck
2005-02-03 15:48           ` Luc Teirlinck
2005-02-01 15:41   ` Lennart Borgman
2005-02-02  7:40     ` Per Abrahamsen

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=FDELKNEBLPKKDCEBEJCBEEJMCLAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --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).