all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* force-mode-line-update in post-command-hook renders scroll-conservatively worthless
@ 2002-07-15 11:30 Juanma Barranquero
  2002-07-16 13:29 ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Juanma Barranquero @ 2002-07-15 11:30 UTC (permalink / raw)


emacs -q --no-site-file
M-x set-variable scroll-conservatively 1000000
C-x C-n
<down>...                ; Scrolls one line at a time
M-x ruler-mode
<down>...                ; Cursor jumps to the middle of screen
                         ; while scrolling the window

The reason is not ruler-mode, but the fact that it does:

(add-hook 'post-command-hook #'force-mode-line-update nil t)

AFAICS, adding `force-mode-line-update' (or in fact any function that
calls `set-buffer-modified-p') to post-command-hook makes
`scroll-conservatively' useless in all 21.X releases. It worked fine in
20.7.


                                                           /L/e/k/t/u

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

end of thread, other threads:[~2002-07-17  7:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-15 11:30 force-mode-line-update in post-command-hook renders scroll-conservatively worthless Juanma Barranquero
2002-07-16 13:29 ` Richard Stallman
2002-07-16 14:23   ` Juanma Barranquero
2002-07-17  3:03     ` Richard Stallman
2002-07-17  7:35       ` Juanma Barranquero

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.