unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 20483@debbugs.gnu.org
Subject: bug#20483: 25.0.50; Customize buffer `Show' for whole option: return previously shown display
Date: Fri, 1 May 2015 10:56:58 -0700 (PDT)	[thread overview]
Message-ID: <631e8064-f236-4389-bd63-e39351f3d221@default> (raw)

You can consider this an enhancement request.  Essentially, it removes
control by the main hide/show button from deciding what gets shown wrt
the doc string.  It gives that doc-string control only to the other
hide/show button, which is designed for doc-string visibility control.

emacs -Q

M-x customize-option blink-cursor-mode

By default, everything is shown.  There are two `Hide' buttons:

1. At the far left, to hide everything other than the option name and
   the first line of the doc string.
2. After the first line of the doc string.

Click #1, to hide (almost) everything.  That button changes to `Show
Value', and the other `Hide' button changes to `More'.  Which is OK (but
see below, about the name of button `Show Value').

Click #1 again.  It should return to the previous state, but button #2
still says `More' and the rest of the doc string is still hidden.

IOW, #1 should toggle between hiding (almost) everything and returning
to whatever was shown before it was clicked to hide stuff.

Another way to see that this proposed behavior would be better:

Click the `More' button (#2), to show all of the doc string.  Then click
#1, to hide (almost) everything.  Then click #1 again.  A user would
reasonably expect it to show what was last shown wrt the doc string,
i.e., the full doc string.  IOW, #1 should not decide what it *shows*,
wrt #2 (but it is OK for it to decide what it hides).

If this gets fixed as described then `Show Value' should be renamed just
`Show'.

The main hide/show button (#1) should toggle between (a) hiding
everything except the option name and first doc line and (b) showing
everything, except as last decided by button #2.  This lets the user use
#2 (and only #2) to decide about the doc string display, and use #1 to
hide a maximum of stuff.

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2015-04-05 on LEG570
Bzr revision: 16eec6fc55dcc05d1d819f18998e84a9580b2521
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --host=i686-pc-mingw32 --enable-checking=yes,glyphs'





             reply	other threads:[~2015-05-01 17:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-01 17:56 Drew Adams [this message]
2022-05-12  2:21 ` bug#20483: 25.0.50; Customize buffer `Show' for whole option: return previously shown display Lars Ingebrigtsen

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=631e8064-f236-4389-bd63-e39351f3d221@default \
    --to=drew.adams@oracle.com \
    --cc=20483@debbugs.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).