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: customize-set-(value|variable) [was: apropos commands for commands, user options, all functions, all variables]
Date: Mon, 12 Nov 2007 00:59:37 -0500	[thread overview]
Message-ID: <E1IrSKf-0002RZ-6g@fencepost.gnu.org> (raw)
In-Reply-To: <BNELLINCGFJLDJIKDGACCEJCCEAA.drew.adams@oracle.com>

    1. Rename `customize-set-value' to `set-option', and
    `customize-set-variable' to `set-option-default' (or add aliases). Users
    will find these names easier.

We don't currently suggest to users that they use those commands,
so making them easier to use does not seem like an important goal.

However, I agree that it is hard to remember which is which, so maybe
we should rename `customize-set-variable' to `customize-set-default'.

We could consider the suggestion that we start inviting users to use
those commands (in which case renaming them would be desirable), but
that is a different question.

    These commands provide much better interaction
    for reading the new value than does the current `set-variable'.

It doesn't seem to work very well at all.

I tried it with `case-fold-search' and it asked a y-or-n question.  I
can guess that the two answers correspond to the values t and nil, but
that wasn't clear.

I tried it with `yank-excluded-properties', and it displayed a garbled
prompt, which started with `[repeat] [choice]'.

If those bugs were fixed, would it be better or worse than
`set-variable'?  I am not sure.

    2. Rewrite `set-variable' to set any variable, not just an option,

If a bunch of people want it, ok.

								       and when
    the variable is an option then have the code do what `customize-set-value'
    does. That is, provide better value input interaction, when possible.

As I said above, I am not sure that is an improvement (and at present
it doesn't really work).

    3. `customize-set-(value|variable)' needs some improvement. Here are some
    things I notice:

I see you also ran into bugs in it.

Would someone like to fix them.

  parent reply	other threads:[~2007-11-12  5:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19 19:08 apropos commands for commands, user options, all functions, all variables Drew Adams
2007-10-19 20:24 ` Andreas Röhler
2007-10-19 20:42   ` Drew Adams
2007-10-21  6:40 ` Stephen J. Turnbull
2007-10-21  7:26 ` Richard Stallman
2007-10-21 20:41   ` Juri Linkov
2007-10-22  0:55     ` Stefan Monnier
2007-10-23  0:35       ` Juri Linkov
2007-10-23  7:11         ` Drew Adams
2007-10-26  3:48           ` Richard Stallman
2007-10-26 22:43             ` Juri Linkov
2007-10-27 13:58               ` Richard Stallman
2007-11-06 22:46                 ` customize-set-(value|variable) [was: apropos commands for commands, user options, all functions, all variables] Drew Adams
2007-11-11 21:11                   ` Drew Adams
2007-11-11 21:34                     ` Lennart Borgman (gmail)
2007-11-12  0:43                       ` Drew Adams
2007-11-12  0:58                         ` Lennart Borgman (gmail)
2007-11-12  5:59                   ` Richard Stallman [this message]
2007-11-12 12:33                     ` Robert J. Chassell
2007-11-12 15:30                       ` customize-set-(value|variable) [was: apropos commands forcommands, " Drew Adams
2007-11-12 17:10                         ` Robert J. Chassell
2007-11-12 19:23                           ` customize-set-(value|variable) [was: apropos commandsforcommands, " Drew Adams
2007-11-12 20:32                             ` Robert J. Chassell
2007-10-23  7:12     ` apropos commands for commands, user options, all functions, all variables Richard Stallman
2007-10-25 20:59       ` Juri Linkov

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=E1IrSKf-0002RZ-6g@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).