* bug#534: 23.0.60; mouse-set-point fails with word wrapping enabled
@ 2008-07-04 20:41 Stephen Berman
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Berman @ 2008-07-04 20:41 UTC (permalink / raw
To: emacs-pretest-bug
[-- Attachment #1: Type: text/plain, Size: 2519 bytes --]
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
[-- Attachment #2: test file for word wrapping problem --]
[-- Type: application/octet-stream, Size: 1744 bytes --]
&Fri, Jul 4, 2008 6.13 xxxxxxx xxxxxxxxxxxxx xxxx xxxxxxxx xxx xxxxxxxxx x xxxxxx xxxxxxxxx
7.00 xxxx xxx xxxxxxx xxxxxx x xxxx xxxxxxxxxxxxx xxxxxxxxxx xxxxxxxxx xxxxxxxxxxxx xxxx x xxxxxxxxxx
7.50 xxxx xxx xxxxxxx xxxx xxxxxxx xxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxx xxxxxx
8.30 xxxxxxxx xxx xxxxxxxxxxxx xxx xxxxxxx xxxxxx xxx xxxxxx
9.00 xxxxxxx xxxxxxx
9.30 xx xxxxxxxxx xxxxxx xxxxxxxx xxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxx xxx xxxx xxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxx
11.30 xxxxxx xxxxxx xxxxxxxx xxx xxxxxxxx xxxxxxxxxxxxx xxxxxxxxxx xxx xxxxxxxxxxxx xxxxxxxxxxx xxxxxxx xxxxxxxxxxxx xxxxxxxxxxx
13.00 xx xxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxx xxxxxxxxxxxxxxx
13.30 xxxx xxxxx xxx xxx xxxxx xxxxx xxxxx xxxx xxxx xxxxx xxxx xxxxxxxxxx
15.05 xxxx xxxxxxxxx xxx xxx xxxxxxx xxxxxx xxxx xxxx xxxxxxxxxx xxxx xxxxxx xxxxx xxxxxx xx xxxxx
16.00 xxx xxxx xxxxx xxxxx xxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxx xxxx xxxx xxx xxxxxxxxxxx xxx xxxxxx xxxxx xxxxxxxxx
17.30 xxxx xxxxxxxx xxx xxxx xx xxxxxxxxx xxxx xxxxxxx xxxxxxxx xxxxx xxxxx xxx xxxxx xxx xxx xxxxxxxxxx xx
18.20 xxxxxx xxxx
18.40 xxxxxxxxxx
19.15 xxxxxx xxx xxxxxx xxxxxxx xxxxxxxx xx xxxxxx xxx xxx xxxx xxx xx xxxxxx xxxx xxxx xx xxxxxxxxx xxxxxxxxxx
20.00 xxxxxx xxxxxx xxx xxxxxxxxxxx xxxxxxxxxx xxxxxx xxxxxx xxxx xxx xxxxx xxxx xxxxxx xxxxxxxxxx xxxx xxxxx xxxx xxxx xxxxxxxxx xxxxxxx xxxxxxx xxxxxx xxxx xxxx xxx xxxxxx
21.00 xxxxxxxxx xxxxxxxxxxxxx xxxx xxxxxxxxx xxxxx xxx xxx xxxxxx xxxx xxxxxxxx xxxxxx xxxxxxx xxxx xxxxxx xxxxxxx xxxxxxxxx
22.00 xxxxxx xxx xxxxx xxx xxxxxx xx xxx xxxxx xxx
22.30 xx xxxxxxxxx xxxxxxxxx xxx xxxxxx xxxxxxxxx xxxxxx xxxxx xxxx xxx xxxxxxx xxx xxxxxxxx xxxxxx xxxxxxxxxx
1.00 xxx xxxx
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#534: 23.0.60; mouse-set-point fails with word wrapping enabled
@ 2008-07-25 20:03 Chong Yidong
2008-09-02 16:07 ` Stephen Berman
0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2008-07-25 20:03 UTC (permalink / raw
To: Stephen Berman; +Cc: 534
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#534: 23.0.60; mouse-set-point fails with word wrapping enabled
2008-07-25 20:03 bug#534: 23.0.60; mouse-set-point fails with word wrapping enabled Chong Yidong
@ 2008-09-02 16:07 ` Stephen Berman
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Berman @ 2008-09-02 16:07 UTC (permalink / raw
To: Chong Yidong; +Cc: 534
On Fri, 25 Jul 2008 16:03:23 -0400 Chong Yidong <cyd@MIT.EDU> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-02 16:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-25 20:03 bug#534: 23.0.60; mouse-set-point fails with word wrapping enabled Chong Yidong
2008-09-02 16:07 ` Stephen Berman
-- strict thread matches above, loose matches on Subject: below --
2008-07-04 20:41 Stephen Berman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.