From: Stefan Kangas <stefan@marxist.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Umar Ahmad <ahmad.umar2008@yahoo.in>, 51111-done@debbugs.gnu.org
Subject: bug#51111: 28.0.50; Wrong point position on mouse click when using line-height on scaled text
Date: Mon, 11 Oct 2021 07:18:17 -0700 [thread overview]
Message-ID: <CADwFkmnUReu-NUb0h1=NPsBSnAbTq=fOY+Z6OrHWyLk8=Xj7VA@mail.gmail.com> (raw)
In-Reply-To: <831r4trmlc.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Oct 2021 17:17:03 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Sun, 10 Oct 2021 01:23:33 +0530
>> From: Umar Ahmad via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>>
>> Steps to reproduce with emacs -Q
>> - Open a new buffer (C-x b *test-buffer RET)
>> - Yank few lines of text from somewhere
>> - Eval (M-:) the following:
>> `(setq-default default-text-properties '(line-height 1.1))`
>> - Scale text to make it larger (C-x C-= = = =)
>> - Click on any line to place the point at that location.
>> - Point is placed few lines further below the click position
>>
>> - Reset the line-height to nil by evaluating:
>> `(setq-default default-text-properties '(line-height nil))`
>> - Click on any line to place point at that location.
>> - Point is placed correctly
>
> Thanks, should be fixed now on the emacs-28 branch.
I'm therefore closing this bug report.
next prev parent reply other threads:[~2021-10-11 14:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAFHo54e46z7+W9dCM25+9NKqri6knQqP2HPKTqP3f7k=nx_6kw.ref@mail.gmail.com>
2021-10-09 19:53 ` bug#51111: 28.0.50; Wrong point position on mouse click when using line-height on scaled text Umar Ahmad via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-09 21:23 ` Umar Ahmad via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-10 14:17 ` Eli Zaretskii
2021-10-11 14:18 ` Stefan Kangas [this message]
2021-10-11 15:55 ` Eli Zaretskii
2021-10-11 19:15 ` Stefan Kangas
2021-10-11 19:52 ` Umar Ahmad via Bug reports for GNU Emacs, the Swiss army knife of text editors
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='CADwFkmnUReu-NUb0h1=NPsBSnAbTq=fOY+Z6OrHWyLk8=Xj7VA@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=51111-done@debbugs.gnu.org \
--cc=ahmad.umar2008@yahoo.in \
--cc=eliz@gnu.org \
/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.