From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Slass Newsgroups: gmane.emacs.help Subject: Re: How force evaluation of this string's math *before* print?.... Date: 09 Oct 2002 18:57:38 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <20021009180835.A2135@spawar.navy.mil> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034215169 6677 127.0.0.1 (10 Oct 2002 01:59:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2002 01:59:29 +0000 (UTC) Cc: Michael Slass , help-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17zSbo-0001jR-00 for ; Thu, 10 Oct 2002 03:59:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zSYg-0003rD-00; Wed, 09 Oct 2002 21:56:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17zSYN-0003Gf-00 for help-gnu-emacs@gnu.org; Wed, 09 Oct 2002 21:55:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17zSYC-0002xH-00 for help-gnu-emacs@gnu.org; Wed, 09 Oct 2002 21:55:54 -0400 Original-Received: from cascadia.drizzle.com ([216.162.192.17] helo=drizzle.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zSYB-0002vk-00 for help-gnu-emacs@gnu.org; Wed, 09 Oct 2002 21:55:43 -0400 Original-Received: from localhost.localdomain (IDENT:root@drizzle.com [216.162.192.17]) by drizzle.com (8.12.3/8.12.3) with ESMTP id g9A1tgA6013928; Wed, 9 Oct 2002 18:55:43 -0700 Original-To: seberino@spawar.navy.mil In-Reply-To: <20021009180835.A2135@spawar.navy.mil> Original-Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2441 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2441 seberino@spawar.navy.mil writes: >Indeed it works. Thanks. I noticed that column number >is updated for all cursor movements. > >Is there any way to move the (force-mode-line-update) >up the "things to do list" for every keystroke??? > >The reason I'm asking is that the *line number* is updated >immediately after it changes, but, column number is noticeably >slower to update...... there is a noticeable fraction of >a second between cursor movement and column number updating. > >Thanks, ,----[ C-h f add-hook RET ] | add-hook is a compiled Lisp function in `subr'. | (add-hook HOOK FUNCTION &optional APPEND LOCAL) | | Add to the value of HOOK the function FUNCTION. | FUNCTION is not added if already present. | FUNCTION is added (if necessary) at the beginning of the hook list | unless the optional argument APPEND is non-nil, in which case | FUNCTION is added at the end. | | `---- What I sent will add the force-mode-line-update to the beginning of the post-command-hook. Since the line number update is happening as part of some less-transparent method (the same method which updates the zero-indexed column number that you don't like from column-number-mode), I don't know how to hook in before it. -- Mike Slass