help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How force evaluation of this string's math *before* print?....


From: Michael Slass
Subject: Re: How force evaluation of this string's math *before* print?....
Date: Wed, 09 Oct 2002 22:54:21 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Barry Margolin <barmar@genuity.net> writes:

>In article <mailman.1034193309.19968.help-gnu-emacs@gnu.org>,
> <seberino@spawar.navy.mil> wrote:
>>Jesper
>>
>>Thank you so much!! I implemented your suggestion and it gave
>>me a column number on my mode line that indeed updates itself
>>as I move around my document!!!
>>
>>Can I ask you one last question? I noticed that often
>>the column number will *not* be updated with this
>>suggestion.  For some reason, on some
>>lines, the column number is not updated when I move right and
>>left with the cursor until some event forces an update.
>>For example, when I change
>>line numbers that seems to force an update of the column number.
>>Often pressing right/left arrow *does* effect an update of
>>column number on modeline but not always.
>
>The :eval stuff will only be executed when Emacs thinks that something has
>changed that requires recomputing the mode line.


This will probably work, although I shudder to think what it will do
to your emacs's performance.

(add-hook 'post-command-hook
          (lambda () (force-mode-line-update)))




-- 
Mike Slass


reply via email to

[Prev in Thread] Current Thread [Next in Thread]