unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Further problem with recent changes to custom-magic-alist.
Date: Tue, 22 Feb 2005 18:50:13 -0600 (CST)	[thread overview]
Message-ID: <200502230050.j1N0oDM27910@raven.dms.auburn.edu> (raw)
In-Reply-To: <m1D3jAs-0004QoC@rattlesnake.com> (bob@rattlesnake.com)

Robert Chassell wrote:

      You have set this %c and saved it in your init file.

   This wording is correct.  In this case, you did not write the code
   yourself, but had a library do it.

But nothing in the sentence tells the latter.  Therefore, the sentence
is very misleading.

_The_ most important thing one needs to know when trying to save a
previously saved option to a new value or reset it to standard, is
whether it was saved _by Custom_, because that affects whether trying
to save a new value or resetting to standard is guaranteed to work.

A State message tries to identify which of nine possible states an
option is in.  A list of them can be found in the initial comment to
cus-edit.el.  That is _all_ a State message should try to do.  Telling
that it was saved in the init file does not help clarifying which of
the nine state the option is in.  On the contrary, it tends to suggest
that the state is "Modified" (set outside Custom) instead of "Saved"
(saved through Custom).  Hence, it does not belong in the State message.

If it _has_ to be told somewhere it would be in the general
documentation at the top of the Custom-buffer, for instance:

===File ~/cus-edit.el-newdiff===============================
*** cus-edit.el	22 Feb 2005 16:55:41 -0600	1.213
--- cus-edit.el	22 Feb 2005 18:32:23 -0600	
***************
*** 1377,1384 ****
  	(widget-insert (format ".
  %s show active fields; type RET or click mouse-1
  on an active field to invoke its action.  Editing an option value
! changes the text in the buffer; invoke the State button and
  choose the Set operation to set the option value.
  Invoke " (if custom-raised-buttons
  	     "`Raised' buttons"
  	     "Square brackets")))
--- 1377,1388 ----
  	(widget-insert (format ".
  %s show active fields; type RET or click mouse-1
  on an active field to invoke its action.  Editing an option value
! changes the text in the buffer.  Invoke the State button and
  choose the Set operation to set the option value.
+ Choose the Save operation to save it.  Saving an option writes a
+ `custom-set-variables' and a `custom-set-faces' form in your
+ `custom-file' (usually .emacs) if they are not yet present and
+ edits these forms otherwise.
  Invoke " (if custom-raised-buttons
  	     "`Raised' buttons"
  	     "Square brackets")))
***************
*** 1683,1689 ****
  this %c has been changed outside the customize buffer." "\
  something in this group has been changed outside customize.")
      (saved "!" custom-saved-face "\
! You have set this %c and saved it through Customize in your init file." "\
  something in this group has been set and saved.")
      (rogue "@" custom-rogue-face "\
  this %c has not been changed with customize." "\
--- 1687,1693 ----
  this %c has been changed outside the customize buffer." "\
  something in this group has been changed outside customize.")
      (saved "!" custom-saved-face "\
! You have set and saved this %c through Customize." "\
  something in this group has been set and saved.")
      (rogue "@" custom-rogue-face "\
  this %c has not been changed with customize." "\
============================================================

  reply	other threads:[~2005-02-23  0:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-15  0:55 Further problem with recent changes to custom-magic-alist Luc Teirlinck
2005-02-22  8:42 ` Richard Stallman
2005-02-22 15:41   ` Luc Teirlinck
2005-02-22 23:10     ` Robert J. Chassell
2005-02-23  0:50       ` Luc Teirlinck [this message]
2005-02-23  1:26         ` Luc Teirlinck
2005-02-23 23:01         ` Robert J. Chassell
2005-02-23 20:37     ` Richard Stallman
2005-02-23 22:09       ` Lennart Borgman
2005-02-24 23:15         ` Luc Teirlinck
2005-02-24 23:28           ` Luc Teirlinck
2005-02-27  0:33           ` Richard Stallman
2005-02-27  2:23             ` Luc Teirlinck
2005-02-27 20:41               ` Richard Stallman
2005-02-27 21:47                 ` Luc Teirlinck
2005-02-24  3:51       ` 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=200502230050.j1N0oDM27910@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --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).