GNU bug report logs - #12401
scroll-preserve-screen-position broken with font height faces

Previous Next

Package: emacs;

Reported by: Le Wang <l26wang <at> gmail.com>

Date: Mon, 10 Sep 2012 06:14:02 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12401 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, l26wang <at> gmail.com
Subject: bug#12401: scroll-preserve-screen-position broken with font	height faces
Date: Wed, 12 Sep 2012 19:38:02 +0200
> Because all scroll-preserve-screen-position does is put point on
> certain window-relative pixel coordinates.  For this to follow a
> repeatable series of point values, you need the series of window-start
> positions to be repeatable, too.
>
> IOW, if you start with point P1 and window-start W1, and do a C-v
> followed by M-v, then setting point at the same pixel distance from
> the left-top window edge will get you back to P1 iff the window-start
> gets back at W1.

Yes.  Given the constraints of `scroll-preserve-screen-position' I
understand you now.

martin




This bug report was last modified 3 years and 134 days ago.

Previous Next


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