From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16678: 24.3.50; REGRESSION: text selection is broken in Customize edit fields Date: Fri, 7 Feb 2014 09:35:18 -0800 (PST) Message-ID: <546218f1-7f8c-471e-8172-36ece48c7341@default> References: <<6c091fb7-c0fe-41b6-a6bd-d787fc53be1a@default>> <<83r47fxska.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1391794579 31465 80.91.229.3 (7 Feb 2014 17:36:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 17:36:19 +0000 (UTC) Cc: 16678@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 07 18:36:26 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 1WBpLj-0008Vf-67 for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 18:36:23 +0100 Original-Received: from localhost ([::1]:42881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBpLi-0001zt-OA for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 12:36:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBpLX-0001ye-0u for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 12:36:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBpLO-0003Co-EK for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 12:36:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBpLO-0003Ci-Ah for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 12:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WBpLO-0001Vy-2k for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 12:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Feb 2014 17:36:02 +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.13917945255769 (code B ref 16678); Fri, 07 Feb 2014 17:36:02 +0000 Original-Received: (at 16678) by debbugs.gnu.org; 7 Feb 2014 17:35:25 +0000 Original-Received: from localhost ([127.0.0.1]:55344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBpKm-0001Uy-JZ for submit@debbugs.gnu.org; Fri, 07 Feb 2014 12:35:25 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:31157) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBpKk-0001Up-Cr for 16678@debbugs.gnu.org; Fri, 07 Feb 2014 12:35:22 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s17HZKHU005058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 7 Feb 2014 17:35:21 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s17HZJIr027463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Feb 2014 17:35:20 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s17HZJqj027459; Fri, 7 Feb 2014 17:35:19 GMT In-Reply-To: <<83r47fxska.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] 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:84831 Archived-At: > If I highlight inside the edit field, everything works as expected. > That is instead of >=20 > Put the cursor before the `[' and hit `C-SPC' >=20 > I do Put the cursor ON the `[' and hit `C-SPC' That is what I meant. I should have said "put _point_ before..." or "put the cursor on...". > then I get the expected behavior. This is very weird. When I try now, I do not see the bug. Last night it was entirely reproducible, from emacs -Q. The behavior I saw was that selecting the entire text in the edit field unhighlighted the selection. IOW, selecting the last char in the field caused unhighlighting. No matter how I tried to select all of the text in the field, selecting the last char made the highlighting disappear. That was the bug I tried to report. For example, just double-clicking the `[', which selects the whole text `[next]', did not highlight the selection (perhaps it highlighted then unhighlighted it). The text was in fact selected, as I tested by yanking it. But the selection was not highlighted if it included the last char. > What is the purpose of highlighting outside of the edit field? To be clear, I never tried to select beyond the last char. I was only selecting all of the text in the field, _including_ the last char. For example, C-SPC followed by ... until the cursor moved past the last char, to select it. But as I say, for some reason I cannot repro the bug this morning. I will keep an eye out, to see if it happens again. But what is weird is that it was reproducible over and over last night, but not now. And I in fact still have an Emacs session (but with my setup, not from emacs -Q) that shows the bugged behavior now. I tried poking around, to see if I could discover something different about that Customize buffer, but I haven't found anything. If you have an idea of something to look for, and you let me know soon (e.g., before I forget and quit the session at some point or the session crashes), let me know and I'll take a look.