From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#12401: scroll-preserve-screen-position broken with font height faces Date: Wed, 09 Feb 2022 10:17:49 +0100 Message-ID: <877da4o0ua.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38561"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 12401@debbugs.gnu.org To: Le Wang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 09 11:00:34 2022 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 1nHjm6-0009gL-2I for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 11:00:34 +0100 Original-Received: from localhost ([::1]:60042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHjm3-00077s-IR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 05:00:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHj7u-0001go-R0 for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 04:19:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHj7u-00039Q-EJ for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 04:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHj7u-0007vO-BG for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 04:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Feb 2022 09:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12401 X-GNU-PR-Package: emacs Original-Received: via spool by 12401-submit@debbugs.gnu.org id=B12401.164439828430378 (code B ref 12401); Wed, 09 Feb 2022 09:19:02 +0000 Original-Received: (at 12401) by debbugs.gnu.org; 9 Feb 2022 09:18:04 +0000 Original-Received: from localhost ([127.0.0.1]:49799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHj6y-0007tr-2D for submit@debbugs.gnu.org; Wed, 09 Feb 2022 04:18:04 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:33544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHj6t-0007t4-0w for 12401@debbugs.gnu.org; Wed, 09 Feb 2022 04:18:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GUwq/z9hbOjuNekJa+thMsg/u94QWqIExPCRJ9YCElo=; b=jlNIMMF1u0WS/tiMabkJQh9J+c PVq3Q011NBvJ4jRN4b8Ol2k2jxB9ryKTpfGGyAfXA+DgRQr7lAVvEKnkXrBd3XqzTu3wOgrgH4sac +ArDudnxWQAN6f142NcZdOEMpvJPeLILQS4RHmVx60qY3ESb0Jo3bgBkoUjUfrh7/sco=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHj6k-0000Dh-CH; Wed, 09 Feb 2022 10:17:53 +0100 X-Now-Playing: Nicolas Laureau's _Twenty Years of Prohibited Records: Curiosities_: "Sound One" In-Reply-To: (Le Wang's message of "Mon, 10 Sep 2012 14:12:39 +0800") 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" Xref: news.gmane.io gmane.emacs.bugs:226461 Archived-At: Le Wang writes: > with "scroll-preserve-screen-position" set to t, pressing , > brings point back to the same buffer position. > > However if I customize a face e.g. font-lock-keyword-face with height > of 1.3, then this no longer works. Browsing any emacs-lisp source, > , changes line position. (I'm going through old bug reports that unfortunately weren't resolved at the time.) I tried reproducing this in Emacs 29, and it seems to basically work fine -- hitting `C-v' and `M-v' seems to retain its position. Do you still see this problem in recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no