From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 16678@debbugs.gnu.org
Subject: bug#16678: 24.3.50; REGRESSION: text selection is broken in Customize edit fields
Date: Fri, 07 Feb 2014 09:58:29 +0200 [thread overview]
Message-ID: <83r47fxska.fsf@gnu.org> (raw)
In-Reply-To: <6c091fb7-c0fe-41b6-a6bd-d787fc53be1a@default>
> Date: Thu, 6 Feb 2014 19:31:18 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
>
> emacs -Q
>
> (defcustom foo '([next]) "" :type '(repeat sexp) :group 'edit)
>
> M-x customize-option foo
>
> In the edit field, try to select the current value, which is `[next]'.
>
> Try to select it by dragging the mouse from start (left) to end (right).
> As soon as the mouse passes the last char, to select it too, the
> selection highlight disappears.
>
> Try to select it using the keyboard to define the region: Put the cursor
> before the `[' and hit `C-SPC'. Then use `C-e' to move the cursor past
> the `]'. No region highlighting. Try again, this time using `C-f' to
> advance across the text. As soon as you move past the `]', the region
> highlighting disappears.
>
> Users should have highlighting that shows them what text is selected -
> all of that text, including the last character. This is a regression
> from Emacs 24.3, where selection worked normally.
If I highlight inside the edit field, everything works as expected.
That is instead of
Put the cursor before the `[' and hit `C-SPC'
I do
Put the cursor ON the `[' and hit `C-SPC'
then I get the expected behavior.
What is the purpose of highlighting outside of the edit field?
next prev parent reply other threads:[~2014-02-07 7:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-07 3:31 bug#16678: 24.3.50; REGRESSION: text selection is broken in Customize edit fields Drew Adams
2014-02-07 7:58 ` Eli Zaretskii [this message]
[not found] <<6c091fb7-c0fe-41b6-a6bd-d787fc53be1a@default>
[not found] ` <<83r47fxska.fsf@gnu.org>
2014-02-07 17:35 ` Drew Adams
2014-02-07 18:10 ` Eli Zaretskii
2015-12-26 13:28 ` Lars Ingebrigtsen
2015-12-26 16:30 ` Drew Adams
[not found] ` <<546218f1-7f8c-471e-8172-36ece48c7341@default>
[not found] ` <<83d2iyyes9.fsf@gnu.org>
2014-02-07 18:50 ` Drew Adams
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=83r47fxska.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=16678@debbugs.gnu.org \
--cc=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 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).