From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <86wmf85bi4.fsf@gnu.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39973"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75352@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 06 14:17:26 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 1tUmyy-000ACX-K6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jan 2025 14:17:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUmyk-0007g4-UO; Mon, 06 Jan 2025 08:17:10 -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 1tUmyd-0007fJ-5S for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 08:17: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 1tUmyc-0005uQ-GZ for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 08:17:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=yHYjD2hkSvTma1XQc1mmjbY5x2zx6GHiO6Z3gm7e8v0=; b=PdmfvuRd0tWDwbdp8Wt4EtGDQ5Rir9/CJhgbva2Sm2MzE90sjY2YlQvD+cGh18gAVtgKDP77050aGRTAw12HpMqvbOFTCPLoM8s6YwaNWqNXVSWWJZp2uhq+dd0wxcCmeJHToya95IJlxo8DcglMugMI4soB8jysK4bfEaW/qEysQY5NST19mG1g6Sw2drGDRtsLCqxwjctaeaqpCJBvODsG1RWTm+3BPIKTWm52n2An6OODlf8xoX9KJMMXX8EnDNRm4VoIfsRhSUMRTh8cS1jfLp2QrY7g/3FU9vLRdMwm374mZ2zFjF4G9vOMiqD2tL7S8OWeA6OZdPTPqoMpoA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUmyc-0003Wl-9j for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 08:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jan 2025 13:17:02 +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.173616938213468 (code B ref 75352); Mon, 06 Jan 2025 13:17:02 +0000 Original-Received: (at 75352) by debbugs.gnu.org; 6 Jan 2025 13:16:22 +0000 Original-Received: from localhost ([127.0.0.1]:37252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUmxy-0003V8-3g for submit@debbugs.gnu.org; Mon, 06 Jan 2025 08:16:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48386) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUmxw-0003Uo-MV for 75352@debbugs.gnu.org; Mon, 06 Jan 2025 08:16:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUmxq-0005pP-FH; Mon, 06 Jan 2025 08:16:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yHYjD2hkSvTma1XQc1mmjbY5x2zx6GHiO6Z3gm7e8v0=; b=nHilpOTF5B1d 9rbLmu9myyM2vxfxiC6JK0t1gJcnabcdXQ0AbHbLotCHPhojrRALZd/lSm1UBjR9FghI5fRq9EZ00 wTnK+hX2xcGKlDYbDvGRcEUDrB6cwWYuUIHzqc631at1ku63+roRUaTIZ7AL8J4IdEHKf0MAPAr3l iw2zni6O3BHuZaGCqN2UXPU741+/exyPeovhwU6srXcp/OfF+8Hgi+cD0E2ICT60kkToVtXthZANv Q9N/XvHuU+xM7NDBekakNR3tAigQUeDaqGrhd99m1UNTAhwAxdPehwH5tG7pmxqN5VFHWmsiof1gM vh+tBGWxn4QCXpIbG/6GTQ==; In-Reply-To: <20250105225526.GA2577744@qaa.vinc17.org> (message from Vincent Lefevre on Sun, 5 Jan 2025 23:55:26 +0100) 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:298653 Archived-At: > 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. > > 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.