all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lektu@terra.es>
Subject: force-mode-line-update in post-command-hook renders scroll-conservatively worthless
Date: Mon, 15 Jul 2002 13:30:53 +0200	[thread overview]
Message-ID: <20020715132426.69FB.LEKTU@terra.es> (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

             reply	other threads:[~2002-07-15 11:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-15 11:30 Juanma Barranquero [this message]
2002-07-16 13:29 ` force-mode-line-update in post-command-hook renders scroll-conservatively worthless Richard Stallman
2002-07-16 14:23   ` Juanma Barranquero
2002-07-17  3:03     ` Richard Stallman
2002-07-17  7:35       ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020715132426.69FB.LEKTU@terra.es \
    --to=lektu@terra.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.