From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Visual cleanup for customize buffers
Date: Fri, 13 Jan 2006 13:37:17 +0100 [thread overview]
Message-ID: <m3ace0mhhe.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <200601122345.k0CNjx114407@raven.dms.auburn.edu> (Luc Teirlinck's message of "Thu, 12 Jan 2006 17:45:59 -0600 (CST)")
Luc Teirlinck <teirllm@dms.auburn.edu> writes:
> Kim Storm wrote:
>
> - Don't show the "Hide value" button for trivial values which
> fit on one line initially. I don't see ANY reason why a
> user would click on that button to, say, hide a boolean
> or numeric value.
>
> To hide them from the whole buffer buttons, from key bindings that
> operate on the whole buffer and from menu bar items that operate on
> the whole buffer. (These operations ignore hidden options and faces.)
I never realized this -- "hide value" implies something very
different to me. If I use the whole-buffer buttons, I would
like it to save ALL changes.
Anyway I just tried this (M-x customize-group cua):
- Go to a face option, eg. "cua global mark"
- click on "show face"
- change some property of the face.
- click on "hide face" (assuming that I don't want to save that change)
=> this gives an error saying "there are unset changes" and
it doesn't hide the face.
- select "State" => "Set for Current Session" on the option
=> the (sample) of the face is updated, and it looks fine
- click "Hide face" to remove the clutter of the face definition
- go on changing other options in the cua group
=> so I now have a mix of face and option changes which
are either set for current session or not set at all.
- click on whole buffer "Save for Future Sessions" button
=> saves the unset options, but NOT the changed face!!
HUH?? I just hide the face to remove the clutter -- not
because I didn't want to save it for future sessions.
IMO, this functionality is just too obscure and confusing,
and I doubt anyone finds it useful.
> There are no "Hide Value" buttons in single option or face buffers,
> where they would _really_ be useless.
Really?? The "hide value" button is right there when I look!
I don't see any code that removes the button -- that's what
I added.
> Granted, there is very strong evidence that nobody uses the whole
> buffer buttons or functions _in multi-option buffers_ anyway. The
> majority of them were complete no-ops in group buffers until
> relatively recently and nobody complained about that until relatively
> recently. So nobody _could_ have used them, unless they used private
> bug fixes. But they are no longer no-ops now and _as long as we
> provide whole buffer functionality_ we need to provide people with a
> way to "hide" options from the whole buffer operations.
I don't see why! If people want to save indiviual options, use
the individual State buttons. If people want to save everything, use
the whole buffer buttons.
IMO, there is NO NEED to have the "partial save" functionality -- and
even if there was, it is IMO very obscure to base it on the "show/hide"
value state of the variables.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2006-01-13 12:37 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-12 21:58 Visual cleanup for customize buffers Kim F. Storm
2006-01-12 23:45 ` Luc Teirlinck
2006-01-13 12:37 ` Kim F. Storm [this message]
2006-01-13 14:18 ` Luc Teirlinck
2006-01-13 15:16 ` Kim F. Storm
2006-01-13 19:05 ` Drew Adams
2006-01-13 19:16 ` David Kastrup
2006-01-13 23:28 ` Luc Teirlinck
2006-01-13 23:34 ` Luc Teirlinck
2006-01-14 16:14 ` Richard M. Stallman
2006-01-14 0:08 ` Luc Teirlinck
2006-01-14 0:44 ` Luc Teirlinck
2006-01-14 1:56 ` Kim F. Storm
2006-01-14 2:58 ` Chong Yidong
2006-01-14 6:10 ` Drew Adams
2006-01-14 16:14 ` Richard M. Stallman
2006-01-14 16:14 ` Richard M. Stallman
2006-01-14 20:50 ` Lennart Borgman
2006-01-14 21:32 ` Luc Teirlinck
2006-01-14 21:47 ` Lennart Borgman
2006-01-15 18:09 ` Luc Teirlinck
2006-01-15 18:41 ` Kim F. Storm
2006-01-15 19:59 ` Luc Teirlinck
2006-01-14 21:58 ` Drew Adams
2006-01-14 22:17 ` Drew Adams
2006-01-15 1:40 ` Luc Teirlinck
2006-01-15 23:08 ` Richard M. Stallman
2006-01-16 4:19 ` Luc Teirlinck
2006-01-19 17:44 ` Richard M. Stallman
2006-01-17 4:20 ` Luc Teirlinck
2006-01-17 20:00 ` Richard M. Stallman
2006-01-20 0:18 ` Luc Teirlinck
2006-01-13 16:40 ` Stefan Monnier
2006-01-13 19:04 ` Bill Wohler
2006-01-14 1:28 ` Luc Teirlinck
2006-01-14 1:46 ` Bill Wohler
2006-01-14 5:49 ` Richard M. Stallman
2006-01-14 15:28 ` Luc Teirlinck
2006-01-13 0:08 ` Luc Teirlinck
2006-01-13 15:24 ` Kim F. Storm
2006-01-13 19:33 ` martin rudalics
2006-01-13 0:24 ` Luc Teirlinck
2006-01-14 5:48 ` Richard M. Stallman
2006-01-14 5:49 ` Richard M. Stallman
2006-01-14 15:07 ` Luc Teirlinck
2006-01-14 23:05 ` Luc Teirlinck
2006-01-15 4:40 ` Luc Teirlinck
2006-02-05 0:07 ` Kim F. Storm
2006-02-06 2:07 ` Richard M. Stallman
2006-02-06 4:30 ` Luc Teirlinck
2006-02-06 7:21 ` Eli Zaretskii
2006-02-06 17:35 ` Luc Teirlinck
2006-01-14 23:27 ` Luc Teirlinck
2006-01-14 23:45 ` Drew Adams
2006-01-15 18:59 ` Kim F. Storm
2006-01-15 4:17 ` Luc Teirlinck
2006-01-15 23:08 ` Richard M. 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=m3ace0mhhe.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--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 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.