From unknown Wed Aug 20 03:11:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#534 <534@debbugs.gnu.org> To: bug#534 <534@debbugs.gnu.org> Subject: Status: 23.0.60; mouse-set-point fails with word wrapping enabled Reply-To: bug#534 <534@debbugs.gnu.org> Date: Wed, 20 Aug 2025 10:11:48 +0000 retitle 534 23.0.60; mouse-set-point fails with word wrapping enabled reassign 534 emacs submitter 534 Stephen Berman severity 534 normal thanks From stephen.berman@gmx.net Fri Jul 4 13:41:41 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.5 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Jul 2008 20:41:41 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m64KfXXM030383 for ; Fri, 4 Jul 2008 13:41:34 -0700 Received: from mx10.gnu.org ([199.232.76.166]:51598) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KEs5h-0001l5-0I for emacs-pretest-bug@gnu.org; Fri, 04 Jul 2008 16:41:13 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KEs5v-0000qJ-D6 for emacs-pretest-bug@gnu.org; Fri, 04 Jul 2008 16:41:32 -0400 Received: from mail.gmx.net ([213.165.64.20]:38697) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KEs5u-0000pT-VM for emacs-pretest-bug@gnu.org; Fri, 04 Jul 2008 16:41:27 -0400 Received: (qmail invoked by alias); 04 Jul 2008 20:41:21 -0000 Received: from i5387D963.versanet.de (EHLO escher.local.home) [83.135.217.99] by mail.gmx.net (mp048) with SMTP; 04 Jul 2008 22:41:21 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/iKs1MRGDiYsHEACi1fyt5DgtERJ2WLhdCur0rrK yVUZ5W/sqhuVTf Received: by escher.local.home (Postfix, from userid 1000) id 4E6051D0EFC; Fri, 4 Jul 2008 22:41:20 +0200 (CEST) From: Stephen Berman To: emacs-pretest-bug@gnu.org Subject: 23.0.60; mouse-set-point fails with word wrapping enabled Sender: steve@escher.local.home Date: Fri, 04 Jul 2008 22:41:20 +0200 Message-ID: <877ic1pekv.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) --=-=-= I have found that with word-wrap enabled, at some point in the buffer of a wrapped text setting point by clicking mouse-1 fails, with the result that point is set not where I click but at the same column exactly one visible line below (i.e., also within a wrapped line). I haven't managed to find a general recipe for reproducing this, but I do have a sample file which shows the problem. Start Emacs with -Q, visit the attached file and set word-wrap to t. I can set point by clicking mouse-1 on any position in the buffer -- until the first `x' after the line wrapping in the line that begins with `13.30': clicking mouse-1 on this position set points on the space immediately below. Likewise for every position following this one, till the end of the text. Now scroll the text up one line at a time, until the line beginning with `15.05' is at the top of the window. Now setting point by clicking mouse-1 works again as expected. But scrolling down one line, so that the line beginning with `13.30' is at the top of the window, restores the previous aberrant behavior. A probably related observation is the following. If I click mouse-1 in the space between the last character of a wrapped line and the right fringe, starting on the second space after the last character, then point gets set on the subsequent wrapped portion, and advancing the clicked position towards the fringe advances the cursor display on the wrapped portion. If I click on the right fringe, then point gets set (back) to the first character after the wrapping. But this behavior changes at the line that begins with `13.30': clicking in the spaces has the effect described, but clicking on the right fringe does not reset point. But in the line beginning with `20.00', clicking in the space before the first wrapped portion advances the cursor in the second wrapped portion below it, and clicking in the right fringe before the first wrapped portion does reset point to the beginning of the second wrapped portion. In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-07-01 on escher Windowing system distributor `The X.Org Foundation', version 11.0.70200000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default-enable-multibyte-characters: t --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=wrap-test Content-Transfer-Encoding: base64 Content-Description: test file for word wrapping problem JkZyaSwgSnVsIDQsIDIwMDggNi4xMyB4eHh4eHh4IHh4eHh4eHh4eHh4eHggeHh4eCB4eHh4eHh4 eCB4eHggeHh4eHh4eHh4IHggeHh4eHh4IHh4eHh4eHh4eAoJNy4wMCB4eHh4IHh4eCB4eHh4eHh4 IHh4eHh4eCB4IHh4eHggeHh4eHh4eHh4eHh4eCB4eHh4eHh4eHh4IHh4eHh4eHh4eCB4eHh4eHh4 eHh4eHggeHh4eCB4IHh4eHh4eHh4eHgKCTcuNTAgeHh4eCB4eHggeHh4eHh4eCB4eHh4IHh4eHh4 eHggeHh4eHh4eHh4eHh4eHh4eHh4eCB4eHh4eCB4eHh4eHh4eCB4eHh4eHgKCTguMzAgeHh4eHh4 eHggeHh4IHh4eHh4eHh4eHh4eCB4eHggeHh4eHh4eCB4eHh4eHggeHh4IHh4eHh4eAoJOS4wMCB4 eHh4eHh4IHh4eHh4eHgKCTkuMzAgeHggeHh4eHh4eHh4IHh4eHh4eCB4eHh4eHh4eCB4eHh4IHh4 eHh4eHh4eHh4eHh4eCB4eHh4eHh4eHh4eHh4eCB4eCB4eHh4eHh4eHh4IHh4eHh4eHh4eHh4IHh4 eCB4eHggeHh4eCB4eHh4eHh4eCB4eHh4eHh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CgkyMC4wMCB4eHh4eHggeHh4eHh4IHh4eCB4eHh4eHh4eHh4eCB4eHh4eHh4eHh4 IHh4eHh4eCB4eHh4eHggeHh4eCB4eHggeHh4eHggeHh4eCB4eHh4eHggeHh4eHh4eHh4eCB4eHh4 IHh4eHh4IHh4eHggeHh4eCB4eHh4eHh4eHggeHh4eHh4eCB4eHh4eHh4IHh4eHh4eCB4eHh4IHh4 eHggeHh4IHh4eHh4eAoJMjEuMDAgeHh4eHh4eHh4IHh4eHh4eHh4eHh4eHggeHh4eCB4eHh4eHh4 eHggeHh4eHggeHh4IHh4eCB4eHh4eHggeHh4eCB4eHh4eHh4eCB4eHh4eHggeHh4eHh4eCB4eHh4 IHh4eHh4eCB4eHh4eHh4IHh4eHh4eHh4eAoJMjIuMDAgeHh4eHh4IHh4eCB4eHh4eCB4eHggeHh4 eHh4IHh4IHh4eCB4eHh4eCB4eHgKCTIyLjMwIHh4IHh4eHh4eHh4eCB4eHh4eHh4eHggeHh4IHh4 eHh4eCB4eHh4eHh4eHggeHh4eHh4IHh4eHh4IHh4eHggeHh4IHh4eHh4eHggeHh4IHh4eHh4eHh4 IHh4eHh4eCB4eHh4eHh4eHh4CgkxLjAwIHh4eCB4eHh4Cg== --=-=-=-- From cyd@MIT.EDU Fri Jul 25 13:03:37 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.0 required=4.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 534) by emacsbugs.donarmstrong.com; 25 Jul 2008 20:03:37 +0000 Received: from south-station-annex.mit.edu (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6PK3Xid030905 for <534@emacsbugs.donarmstrong.com>; Fri, 25 Jul 2008 13:03:35 -0700 Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id m6PK3WxY021010; Fri, 25 Jul 2008 16:03:32 -0400 (EDT) Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id m6PK3Ovt008669; Fri, 25 Jul 2008 16:03:24 -0400 (EDT) Received: from w92-130-webmail-6.mit.edu (WEBMAIL-SNAT.MIT.EDU [18.7.22.108]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id m6PK3N61008276; Fri, 25 Jul 2008 16:03:23 -0400 (EDT) Received: (from nobody@localhost) by w92-130-webmail-6.mit.edu (8.12.4) id m6PK3NwE002108; Fri, 25 Jul 2008 16:03:23 -0400 Received: from CYD.MIT.EDU (CYD.MIT.EDU [18.115.2.24]) (User authenticated as cyd@ATHENA.MIT.EDU) by webmail.mit.edu (Horde MIME library) with HTTP; Fri, 25 Jul 2008 16:03:23 -0400 Message-ID: <20080725160323.upmqb8diqpcskgog@webmail.mit.edu> Date: Fri, 25 Jul 2008 16:03:23 -0400 From: Chong Yidong To: Stephen Berman Cc: 534@debbugs.gnu.org Subject: Re: 23.0.60; mouse-set-point fails with word wrapping enabled MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) X-Scanned-By: MIMEDefang 2.42 Hi Stephen, > I have found that with word-wrap enabled, at some point in the > buffer of a wrapped text setting point by clicking mouse-1 fails, > with the result that point is set not where I click but at the > same column exactly one visible line below (i.e., also within a > wrapped line). I believe this bug should be fixed already. Do you still see any problems of this sort? From cyd@stupidchicken.com Tue Aug 5 15:03:28 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.2 required=4.0 tests=AWL,BAYES_00, VALID_BTS_CONTROL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 5 Aug 2008 22:03:28 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m75M3PJP010721 for ; Tue, 5 Aug 2008 15:03:26 -0700 Received: by cyd (Postfix, from userid 1000) id A9A9557E338; Tue, 5 Aug 2008 18:03:52 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: Tag bugs Date: Tue, 05 Aug 2008 18:03:52 -0400 Message-ID: <87sktj86gn.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii tags 127 unreproducible moreinfo tags 276 moreinfo tags 336 unreproducible moreinfo close 534 From stephen.berman@gmx.net Tue Sep 2 09:07:23 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 534) by emacsbugs.donarmstrong.com; 2 Sep 2008 16:07:23 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m82G7EL5022955 for <534@emacsbugs.donarmstrong.com>; Tue, 2 Sep 2008 09:07:16 -0700 Received: (qmail invoked by alias); 02 Sep 2008 16:07:09 -0000 Received: from i5387D68E.versanet.de (EHLO escher.local.home) [83.135.214.142] by mail.gmx.net (mp065) with SMTP; 02 Sep 2008 18:07:09 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19UU+4BMGJU0ycfhzxpw8CiWfonI+7iCgHRYJ/d00 +cnJUu7e6Ttq6e Received: by escher.local.home (Postfix, from userid 1000) id D9A511D0F56; Tue, 2 Sep 2008 18:07:07 +0200 (CEST) From: Stephen Berman To: Chong Yidong Cc: 534@debbugs.gnu.org Subject: Re: 23.0.60; mouse-set-point fails with word wrapping enabled References: <20080725160323.upmqb8diqpcskgog@webmail.mit.edu> Sender: steve@escher.local.home Date: Tue, 02 Sep 2008 18:07:07 +0200 Message-ID: <873akiv8es.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 On Fri, 25 Jul 2008 16:03:23 -0400 Chong Yidong wrote: > Hi Stephen, > >> I have found that with word-wrap enabled, at some point in the >> buffer of a wrapped text setting point by clicking mouse-1 fails, >> with the result that point is set not where I click but at the >> same column exactly one visible line below (i.e., also within a >> wrapped line). > > I believe this bug should be fixed already. Do you still see any > problems of this sort? Sorry for the delayed response; I was able to update and rebuild Emacs only recently. I confirm that the problem I reported is fixed. Thanks. Steve Berman From unknown Wed Aug 20 03:11:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 01 Oct 2008 14:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator