GNU bug report logs - #12872
24.2; Provide a feature to trigger mode-line redisplay

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Mon, 12 Nov 2012 18:29:01 UTC

Severity: wishlist

Tags: moreinfo, wontfix

Found in version 24.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12872 <at> debbugs.gnu.org
Subject: bug#12872: 24.2; Provide a feature to trigger mode-line redisplay
Date: Sat, 04 Dec 2021 23:04:11 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> What flag is that?
>
> w->update_mode_line

Oh, I didn't realise that the update_mode_line variable and that field
were separate things...

>> > The problem is how to set it only when the current line changes.  I
>> > think that's the crux of this issue.
>> 
>> I must admit I didn't understand what was meant by "when the current
>> line changes".  😐
>
> It means point moves from one physical line to another.

Then it doesn't sound difficult to implement that in an efficient
manner?  Whatever function Drew is using could just put itself in
post-command-hook and check?  Isn't there a line number cache somewhere?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.