From: Vincent Lefevre <vincent@vinc17.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 75352@debbugs.gnu.org
Subject: bug#75352: 29.4; end-of-buffer is buggy after set-mark-command with some fonts
Date: Mon, 6 Jan 2025 14:51:19 +0100 [thread overview]
Message-ID: <20250106135119.GH2167271@qaa.vinc17.org> (raw)
In-Reply-To: <86wmf85bi4.fsf@gnu.org>
On 2025-01-06 15:15:47 +0200, Eli Zaretskii wrote:
> > Date: Sun, 5 Jan 2025 23:55:26 +0100
> > From: Vincent Lefevre <vincent@vinc17.net>
> > Cc: 75352@debbugs.gnu.org
> >
> > > > The main problem is not a display problem, but the fact that the
> > > > cursor (point) is not at the end of the buffer.
> > >
> > > My point is that M-> doesn't guarantee that.
> >
> > For the end user, this is very surprising (even with strange font
> > settings, something that is not documented, AFAIK, and for which
> > one gets no errors or warnings).
>
> Supporting variable-height lines of text comes with rare situations
> where this is necessary.
Note that variable-height lines occur even without my
set-fontset-font settings. For instance, consider the following
character: ⎷ (U+23B7 RADICAL SYMBOL BOTTOM). So this is not due
to "strange font settings".
> > > And yes, if the font changes, what was inside the viewport can become
> > > outside, and that could cause Emacs move point.
> >
> > IMHO, in such a case (when used with end-of-buffer), Emacs should scroll,
> > keeping the point position.
>
> It tries, but that is not always possible.
Well, this is handled correctly by (goto-char (point-max)), so I don't
see why this is not always possible.
> Anyway, to look into this further, I need a recipe that will reproduce
> the problem with fonts I can install. Until now, I was unable to see
> anything like you describe, and I'm not on Debian to begin with.
Perhaps consider the character I've mentioned above.
I could also try to have a look when I have some time.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
prev parent reply other threads:[~2025-01-06 13:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-04 14:11 bug#75352: 29.4; end-of-buffer is buggy after set-mark-command with some fonts Vincent Lefevre
2025-01-04 14:36 ` Eli Zaretskii
2025-01-04 14:43 ` Eli Zaretskii
2025-01-04 19:25 ` Vincent Lefevre
2025-01-04 20:00 ` Eli Zaretskii
2025-01-05 22:55 ` Vincent Lefevre
2025-01-06 13:15 ` Eli Zaretskii
2025-01-06 13:51 ` Vincent Lefevre [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250106135119.GH2167271@qaa.vinc17.org \
--to=vincent@vinc17.net \
--cc=75352@debbugs.gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).