From: Tassilo Horn <tsdh@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: David Koppelman <koppel@ece.lsu.edu>, emacs-devel@gnu.org
Subject: Re: Clicks map to wrong line with line-spacing > nil.
Date: Sat, 01 Aug 2015 09:40:44 +0200 [thread overview]
Message-ID: <87egjnpibn.fsf@gnu.org> (raw)
In-Reply-To: <831tfnwk56.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 01 Aug 2015 10:19:33 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> > Does the problem go away if you follow the above setting with "M-x
>> > redraw-display RET"?
>>
>> No. The problem is robust in the sense that it occurs as soon as the
>> setting is applied (including when set in .emacs) and doesn't seem to
>> go away.
>
> Then I'm afraid I cannot reproduce it.
>
> What I see is that once the expression is evaluated, the window is not
> redisplayed, although it should have, with the larger line spacing.
> Typing just "M-x" causes redisplay, and then mouse clicks work for me
> as expected.
>
> Can you show a reproducible recipe for the problem, starting with
> "emacs -Q", and including all the details, like what you have in the
> visible portion of the buffer, where you click, and where does the
> cursor move?
I can reproduce with emacs -Q and eb0f65b4. Here's a recipe:
1. emacs -Q
2. C-h h to open the HELLO file
3. M-: (setq line-spacing 50)
Here, that's immediately visible.
(window-size nil t) => 96, (window-size) => 47 but actually
with this spacing there are only 11 lines visible, i.e., I see
the HELLO portion from line 1 to the second line of the South
Asia entry.
4. When I click on some word in lines 1-3, point is set on that word.
In later lines, point ends up on the previous line. For ex., I
click on the "examples" in "Non-ASCII examples:" and point is set
to the beginning of the empty line before. Clicking on "South" in
"South Asia:" puts point on "Middle" in "Middle/Near East:".
Doing the same with line-spacing set to 10, the problem becomes worse.
Again, clicking on the first 3 lines works correctly, then on the next
2-3 lines jumps to the line before, then clicking on the next few lines
makes point jump to 2 lines before the click position, etc. So it
becomes worse for the lines displayed later in a window.
Bye,
Tassilo
next prev parent reply other threads:[~2015-08-01 7:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-31 20:29 Clicks map to wrong line with line-spacing > nil David Koppelman
2015-07-31 21:21 ` Eli Zaretskii
2015-07-31 21:29 ` David Koppelman
2015-08-01 7:19 ` Eli Zaretskii
2015-08-01 7:40 ` Tassilo Horn [this message]
2015-08-01 10:03 ` Eli Zaretskii
2015-08-01 10:18 ` Tassilo Horn
2015-08-01 12:21 ` Eli Zaretskii
2015-08-01 15:31 ` David Koppelman
2015-08-01 15:54 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87egjnpibn.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=koppel@ece.lsu.edu \
/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 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.