GNU bug report logs - #75352
29.4; end-of-buffer is buggy after set-mark-command with some fonts

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Sat, 4 Jan 2025 14:12:02 UTC

Severity: normal

Found in version 29.4

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vincent Lefevre <vincent <at> vinc17.net>
Cc: 75352 <at> debbugs.gnu.org
Subject: bug#75352: 29.4; end-of-buffer is buggy after set-mark-command with some fonts
Date: Mon, 06 Jan 2025 15:15:47 +0200
> Date: Sun, 5 Jan 2025 23:55:26 +0100
> From: Vincent Lefevre <vincent <at> vinc17.net>
> Cc: 75352 <at> 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.

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

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.




This bug report was last modified 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.