From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16678: 24.3.50; REGRESSION: text selection is broken in Customize edit fields Date: Fri, 07 Feb 2014 09:58:29 +0200 Message-ID: <83r47fxska.fsf@gnu.org> References: <6c091fb7-c0fe-41b6-a6bd-d787fc53be1a@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1391759949 24590 80.91.229.3 (7 Feb 2014 07:59:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 07:59:09 +0000 (UTC) Cc: 16678@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 07 08:59:16 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBgLD-00012W-Vs for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 08:59:16 +0100 Original-Received: from localhost ([::1]:40117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBgLD-0003q2-Mz for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 02:59:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBgL6-0003oI-9i for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 02:59:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBgL0-0001Nw-Ug for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 02:59:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBgL0-0001Nr-PP for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 02:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WBgKz-0006Rm-Sp for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 02:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Feb 2014 07:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16678 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16678-submit@debbugs.gnu.org id=B16678.139175991824741 (code B ref 16678); Fri, 07 Feb 2014 07:59:01 +0000 Original-Received: (at 16678) by debbugs.gnu.org; 7 Feb 2014 07:58:38 +0000 Original-Received: from localhost ([127.0.0.1]:54210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBgKa-0006Qx-HN for submit@debbugs.gnu.org; Fri, 07 Feb 2014 02:58:37 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:59196) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBgKV-0006Ql-7A for 16678@debbugs.gnu.org; Fri, 07 Feb 2014 02:58:33 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N0M000008ROIJ00@mtaout25.012.net.il> for 16678@debbugs.gnu.org; Fri, 07 Feb 2014 09:57:43 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0M00NEE8S74H20@mtaout25.012.net.il>; Fri, 07 Feb 2014 09:57:43 +0200 (IST) In-reply-to: <6c091fb7-c0fe-41b6-a6bd-d787fc53be1a@default> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84804 Archived-At: > Date: Thu, 6 Feb 2014 19:31:18 -0800 (PST) > From: Drew Adams > > 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?