unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12401: scroll-preserve-screen-position broken with font height faces
@ 2012-09-10  6:12 Le Wang
  2012-09-10  7:23 ` Eli Zaretskii
  2022-02-09  9:17 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 12+ messages in thread
From: Le Wang @ 2012-09-10  6:12 UTC (permalink / raw)
  To: 12401

with "scroll-preserve-screen-position" set to t, pressing <C-v>, <M-v>
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,
<C-v>, <M-v> changes line position.

For reference this package works just fine with variable height faces:
http://www.cs.utah.edu/~eeide/emacs/scroll-in-place.el.gz

I would like to not load extra packages if this functionality is
already in Emacs though.

-- 
Le





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-03-09 16:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-10  6:12 bug#12401: scroll-preserve-screen-position broken with font height faces Le Wang
2012-09-10  7:23 ` Eli Zaretskii
2012-09-10 12:37   ` Le Wang
2012-09-10 18:02     ` Eli Zaretskii
2012-09-10 13:26   ` Stefan Monnier
2012-09-10 18:05     ` Eli Zaretskii
2012-09-10 20:42       ` Stefan Monnier
2012-09-12  8:08       ` martin rudalics
2012-09-12 16:48         ` Eli Zaretskii
2012-09-12 17:38           ` martin rudalics
2022-02-09  9:17 ` Lars Ingebrigtsen
2022-03-09 16:22   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).