all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: customize-apropos
Date: Mon, 12 Dec 2005 16:22:19 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICOECDDAAA.drew.adams@oracle.com> (raw)
In-Reply-To: <200512122356.jBCNuaQ07998@raven.dms.auburn.edu>

       IOW, your argument is really an argument for not showing anything
       in a Custom buffer that is not customizable. That might be
       reasonable, but it is not the current policy.

    I believe that it _is_ the current policy not to show any variable in
    a Custom buffer that is not defined with defcustom.  That is exactly
    why I installed my patch to customize-apropos.  The numeric argument
    is just a way for a super-sophisticated user to override that policy.
    I personally do not care about that numeric argument.  I just kept it
    because it was there.  I would not have put it in myself.

Use of the numeric argument was precisely the point in question. Yes,
without the argument variables in Custom are customizable. But current
policy also shows non-customizable variables if you use the numeric arg.
That's the point under discussion - like it or not, that's the current
policy.

       Instead of saying just "NO CUSTOMIZATION DATA; you should
       not see this" (which is what I see, in a CVS snapshot
       from June), a user option should be labeled as such, with,
       for example, a message/label such as "You cannot
       customize this option, but you can set it with command
       `set-variable'. That might be somewhat confusing, but it
       is more helpful than what is displayed currently.

    No.  People should _really_ not see this, unless for some (strange)
    reason they very explicitly asked for it.  The message is intended for
    two kinds of people: the average user and the person who wrote a
    defcustom and checks his work.  The "you should not see this" tells
    the average person to stay away from it and, if he saw it without
    doing anything unusual, file a bug report.  It tells the programmer
    that there is a bug in his defcustom.

What do you mean by "some (strange) reason"? If we allow the numeric-arg
behavior, then we allow non-customizable stuff to be shown - that's current
policy, strange or not. If we allow numeric-arg behavior, then we want to
inform people that they cannot (or should not - see below) customize it (in
Custom). I think we agree so far (?). Where we disagree, I think, is whether
we should tell people how they _can_ change such non-defcustom options. I
think we should mention `set-variable'; you do not.

    Your suggested replacement text is incorrect.  If you really know what
    you are doing, you _can_, up to a point, customize these variables in
    the Custom buffer.

I take your word for it (but tell me how; I'm curious). Change my use of
"cannot" to "should not" in that case: these are variables that we do not
want people to try to change using Customize, right? Do we agree that Custom
buffers are not _intended_ for changing non-customizable user variables
(sorry, I mean variables not defined with defcustom).

    Since some things will work and others not, I
    would definitely not recommend this for the average user.

Not recommend what? Trying to partially customize non-defcustom stuff? Or
using the numeric arg with customize-apropos to display non-defcustom vars?

    I also believe that the usefulness of this feature for advanced users is
    limited.  I have never used it except out of curiosity.

I'm not clear on which feature you're referring to. The numeric-arg feature?
If so, I have no problem with getting rid of it. But there should be some
way for users to get the list of all user variables (defcustom or not) - do
you want another command?

And it would be preferable for those user vars that are customizable to be
shown in a Custom-buffer context, for easy customization. Would you prefer a
separate command that did both of these things? 1) showed the matching
defcustom vars in a Custom buffer, 2) listed the matching non-defcustom vars
in a *Help* buffer, with their descriptions and an intro sentence saying
that you can change them with `set-variable'. I would prefer just using
Custom and putting the message about `set-variable' there, next to each non-
defcustom var.

  reply	other threads:[~2005-12-13  0:22 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-10  3:47 customize-apropos Luc Teirlinck
2005-12-10  3:51 ` customize-apropos Luc Teirlinck
2005-12-10 23:04 ` customize-apropos Kim F. Storm
2005-12-10 23:07   ` customize-apropos Luc Teirlinck
2005-12-11 16:49     ` customize-apropos Richard M. Stallman
2005-12-11  5:03 ` customize-apropos Richard M. Stallman
2005-12-11 17:57 ` customize-apropos Drew Adams
2005-12-12  5:03   ` customize-apropos Luc Teirlinck
2005-12-12  5:40     ` customize-apropos Drew Adams
2005-12-12 23:56       ` customize-apropos Luc Teirlinck
2005-12-13  0:22         ` Drew Adams [this message]
2005-12-13  0:45           ` customize-apropos Luc Teirlinck
2005-12-13  3:55             ` customize-apropos Drew Adams
2005-12-13  1:01           ` customize-apropos Luc Teirlinck
2005-12-13  1:29           ` customize-apropos Luc Teirlinck
2005-12-13 23:33         ` customize-apropos Richard M. Stallman
2005-12-14  1:14           ` customize-apropos Luc Teirlinck
2005-12-14  1:25             ` customize-apropos Drew Adams
2005-12-14  2:13               ` customize-apropos Luc Teirlinck
2005-12-14  3:20                 ` customize-apropos Drew Adams
2005-12-14  3:40                   ` customize-apropos Luc Teirlinck
2005-12-14  3:52                     ` customize-apropos Drew Adams
2005-12-14  5:58                       ` customize-apropos Luc Teirlinck
2005-12-14 15:07                         ` customize-apropos Drew Adams
2005-12-15  5:33                           ` customize-apropos Luc Teirlinck
2005-12-15 16:33                             ` customize-apropos Drew Adams
2005-12-16  5:09                               ` customize-apropos Richard M. Stallman
2005-12-14  3:45                   ` customize-apropos Luc Teirlinck
2005-12-14  3:54                     ` customize-apropos Drew Adams
2005-12-14 20:02             ` customize-apropos Richard M. Stallman
2005-12-15  4:18               ` customize-apropos Luc Teirlinck
2005-12-16  1:51                 ` customize-apropos Richard M. Stallman
2005-12-16  3:47                   ` customize-apropos 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

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

  git send-email \
    --in-reply-to=DNEMKBNJBGPAOPIJOOICOECDDAAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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.