all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Per Abrahamsen <abraham@dina.kvl.dk>
Cc: Richard Stallman <rms@gnu.org>, emacs-devel@gnu.org
Subject: Re: customize-mark-as-set for M-x foo-mode
Date: Mon, 26 Aug 2002 14:22:14 +0200	[thread overview]
Message-ID: <rjit1x24jt.fsf@zuse.dina.kvl.dk> (raw)
In-Reply-To: <200208211529.g7LFT5e24786@rum.cs.yale.edu> ("Stefan Monnier"'s message of "Wed, 21 Aug 2002 11:29:04 -0400")

"Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu> writes:

>>     Is there any reason why it's only executed when run from the
>>     menu-bar rather than from M-x ?

I think it would be a significant improvement to make M-x mark them as
customized rather than rogue.

The only purpose by distinguishing betten "set by customize" and "set
outside customize" is to warn the user that saving the variable from
customize may have no effect, because "something else" (like an
explicit setq in .emacs) will be overwriting the saved value next time
he start Emacs.

If "something else" is an explicit, interactive command by the user,
there is no reason to warn him.

> AFAIK customize-mark-as-set does not itself update the .emacs file.

True.

> It might indeed cause the variable to be saved later on if you
> custom-save-all.

Nope.  Only those marked for saving will be saved.

However, it will make the variable appear in the list generated by
customize-customized, which I would consider an extra bonus.

>> Maybe it would be better if none of these commands updated .emacs
>> itself, and instead there were another command in the Options menu to
>> save the options that you can (or that you have) set with the Options
>> menu.
>
> I don't understand.  It's already the current behavior AFAIU.

Yes, that is the current behavior.  "Options -> Save Options" saves
all options that you _can_ set from the options menu with their
current value, no matter how you have actually set them.

  parent reply	other threads:[~2002-08-26 12:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-19 20:55 customize-mark-as-set for M-x foo-mode Stefan Monnier
2002-08-21  0:12 ` Richard Stallman
2002-08-21 15:29   ` Stefan Monnier
2002-08-22  1:57     ` Richard Stallman
2002-08-22 15:23       ` Stefan Monnier
2002-08-26 12:22     ` Per Abrahamsen [this message]
2002-08-27 19:05       ` Richard Stallman
2002-08-28  0:03         ` Stefan Monnier
2002-08-28 23:32           ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rjit1x24jt.fsf@zuse.dina.kvl.dk \
    --to=abraham@dina.kvl.dk \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.