From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincent Lefevre Newsgroups: gmane.emacs.bugs 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 Message-ID: <20250106135119.GH2167271@qaa.vinc17.org> References: <87y0zqvfct.fsf@qaa.vinc17.org> <8634hyd4t7.fsf@gnu.org> <20250104192504.GB2167271@qaa.vinc17.org> <86ed1ibb8b.fsf@gnu.org> <20250105225526.GA2577744@qaa.vinc17.org> <86wmf85bi4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20328"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.13+79 (f87ab401) vl-169878 (2024-11-04) Cc: 75352@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 06 14:52:28 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tUnWu-00055j-7D for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jan 2025 14:52:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUnWd-00086M-A9; Mon, 06 Jan 2025 08:52:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUnWU-00085c-9p for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 08:52:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUnWU-0003a9-0g for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 08:52:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=93Wyo7MMl6jkgurV/Wsz1mUAPvyt6SGo7BF8lmu9bBU=; b=jbBOHQpVv9XGKljLQbnXt86CngVq8M0dE2a0/+p0PmDLnsp00iq2QcOASnbsuXggGEcnO8A1E6u3i9e5mXgy33rC6Wqdv4cmrjyisNjGOkwRBACbvH+RbCc5pJP1ZAknu/SS/eGDP7aRr0yQ3iq3/kopo/Owf5wPFUt8Q4s7IFiymHXwWOgi5b+slXXtkwD1WlQyVvohhjbtlhzxnJ8+RmR3EmVOdCzPrV7cCLrDdOxiJS9xa3xRNl8g4LGozAdhsWSxmYzujYxqk9fLu8cMsW5U8M+0YRdOBPZFpF4/sZlW52Yu3QM4WIRXbROyf0OFYNjAgKuY0B6umOs9ghxukA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUnWT-0005Ki-QQ for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 08:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jan 2025 13:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75352 X-GNU-PR-Package: emacs Original-Received: via spool by 75352-submit@debbugs.gnu.org id=B75352.173617149020452 (code B ref 75352); Mon, 06 Jan 2025 13:52:01 +0000 Original-Received: (at 75352) by debbugs.gnu.org; 6 Jan 2025 13:51:30 +0000 Original-Received: from localhost ([127.0.0.1]:37347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUnVy-0005Jo-4o for submit@debbugs.gnu.org; Mon, 06 Jan 2025 08:51:30 -0500 Original-Received: from joooj.vinc17.net ([155.133.131.76]:34060) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUnVv-0005JY-VB for 75352@debbugs.gnu.org; Mon, 06 Jan 2025 08:51:29 -0500 Original-Received: from smtp-qaa.vinc17.net (2a02-8428-1b1d-4d01-96a9-491d-7b48-ba31.rev.sfr.net [IPv6:2a02:8428:1b1d:4d01:96a9:491d:7b48:ba31]) by joooj.vinc17.net (Postfix) with ESMTPSA id 645F3479; Mon, 6 Jan 2025 14:51:20 +0100 (CET) Original-Received: by qaa.vinc17.org (Postfix, from userid 1000) id 34A4FCA00AC; Mon, 06 Jan 2025 14:51:19 +0100 (CET) Content-Disposition: inline In-Reply-To: <86wmf85bi4.fsf@gnu.org> X-Mailer-Info: https://www.vinc17.net/mutt/ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298656 Archived-At: On 2025-01-06 15:15:47 +0200, Eli Zaretskii wrote: > > Date: Sun, 5 Jan 2025 23:55:26 +0100 > > From: Vincent Lefevre > > 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 - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)