unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: toggling a minor mode should not tell Customize that the value hasbeen set
Date: Mon, 07 Jan 2008 12:15:30 -0500	[thread overview]
Message-ID: <E1JBvZS-0004GL-Kb@fencepost.gnu.org> (raw)
In-Reply-To: <BNELLINCGFJLDJIKDGACEEGOCGAA.drew.adams@oracle.com>

    Yes, that's what I assumed. I think that's a mistake. It has the result that
    users see such changes show up with `customize-customized', even for simple
    toggles.

I just don't think that is a problem.

    `Buffer-menu-sort-column' is a defvar, but it could be a defcustom. (In
    fact, in my code it is, and I think it should be generally, so that users
    can specify their preferred sort column without using setq or defvar.)

    Change it to a defcustom, hypothetically. Now, what's the Customize behavior
    if a user clicks a column header or two a few times to change sort orders
    dynamically?

I think that is not really analogous.  `Buffer-menu-sort-column' is a
local variable and you are changing it only for one buffer.  That is why
that outcome feels wrong.

Please let's drop the subject.  We have other issues to spend time on.

      reply	other threads:[~2008-01-07 17:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-05 17:48 toggling a minor mode should not tell Customize that the value has been set Drew Adams
2008-01-06  2:14 ` Stefan Monnier
2008-01-06  8:01   ` Drew Adams
2008-01-06 16:16     ` Stefan Monnier
2008-01-06 20:47       ` Drew Adams
2008-01-06 21:20         ` Stefan Monnier
2008-01-06 23:00           ` Drew Adams
2008-01-07  1:32             ` Stefan Monnier
2008-01-06 22:41         ` martin rudalics
2008-01-06 23:41           ` Drew Adams
2008-01-07  1:26             ` Stefan Monnier
2008-01-07  7:34             ` martin rudalics
2008-01-07 11:31             ` Richard Stallman
2008-01-06 10:46 ` Richard Stallman
2008-01-06 16:19   ` toggling a minor mode should not tell Customize that the value hasbeen set Drew Adams
2008-01-07 17:15     ` Richard Stallman [this message]

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=E1JBvZS-0004GL-Kb@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=drew.adams@oracle.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).