GNU bug report logs - #28844
26.0.90; display-line-numbers-mode should call window-configuration-change-hook

Previous Next

Package: emacs;

Reported by: Paul Rankin <hello <at> paulwrankin.com>

Date: Sun, 15 Oct 2017 07:57:01 UTC

Severity: minor

Found in version 26.0.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Paul Rankin <hello <at> paulwrankin.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 28844 <at> debbugs.gnu.org, agrambot <at> gmail.com
Subject: bug#28844: 26.0.90; display-line-numbers-mode should call window-configuration-change-hook
Date: Thu, 07 Dec 2017 21:43:29 -0500
Paul Rankin <hello <at> paulwrankin.com> writes:

>> Given the little that you said until now, would checking the value returned by
>> line-number-display-width in a post-command-hook solve your problem?
>> If not, please tell why not, and let's take it from there.
>
> No it wouldn’t. I don’t need to run code after every command.

You don't *need* to, but it would still work to run code some extra
times.  You just think it would be less efficient than having a
dedicated hook, correct?

Whereas my understanding of #20 is that Eli thinks adding a dedicated
hook would be less efficient than using post-command-hook.

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28844#20

PS You seem awful quick to jump to Ad Hominem, it makes resolving bug
reports needlessly unpleasant.




This bug report was last modified 7 years and 166 days ago.

Previous Next


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