From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: force-mode-line-update in post-command-hook renders scroll-conservatively worthless Date: Mon, 15 Jul 2002 13:30:53 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <20020715132426.69FB.LEKTU@terra.es> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1026733699 5384 127.0.0.1 (15 Jul 2002 11:48:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 15 Jul 2002 11:48:19 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17U4Kw-0001Oj-00 for ; Mon, 15 Jul 2002 13:48:18 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17U4VN-0005Mf-00 for ; Mon, 15 Jul 2002 13:59:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17U44Y-0001br-00; Mon, 15 Jul 2002 07:31:22 -0400 Original-Received: from [62.22.27.141] (helo=mail.peoplecall.com) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17U447-0001bJ-00 for ; Mon, 15 Jul 2002 07:30:55 -0400 Original-Received: from [62.22.27.143] (jbarranquero.ofi.peoplecall.com [62.22.27.143]) by mail.peoplecall.com (8.11.6/8.11.6) with ESMTP id g6FBUrM28370 for ; Mon, 15 Jul 2002 13:30:53 +0200 Original-To: emacs-devel@gnu.org X-Mailer: Becky! ver. 2.05.03 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5758 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5758 emacs -q --no-site-file M-x set-variable scroll-conservatively 1000000 C-x C-n ... ; Scrolls one line at a time M-x ruler-mode ... ; 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