bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51111: 28.0.50; Wrong point position on mouse click when using line-


From: Eli Zaretskii
Subject: bug#51111: 28.0.50; Wrong point position on mouse click when using line-height on scaled text
Date: Sun, 10 Oct 2021 17:17:03 +0300

> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]