GNU bug report logs -
#69784
29.2; Proced auto update should only update visible buffers
Previous Next
Reported by: Rahguzar <rahguzar <at> zohomail.eu>
Date: Wed, 13 Mar 2024 21:07:02 UTC
Severity: normal
Found in version 29.2
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 69784 <at> debbugs.gnu.org (full text, mbox):
Hi Eli,
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Date: Wed, 13 Mar 2024 22:00:17 +0100
>> From: Rahguzar via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>>
>> I use proced with 'proced-auto-update-flag' set to 't'. Often I quit the
>> window showing proced buffer and later some profile shows that the timer
>> used to update proced is taking a big chunk of time.
>>
>> Since updating the proced buffer is a somewhat expensive operation, I
>> think the update should happen only if a proced buffer is visible.
>>
>> I can send a patch to that changes 'proced-auto-update-timer' to this
>> effect.
>
> As a user option, this sounds useful. So please do send a patch, but
> please add such an option, because I can imagine users who'd like
> Proced buffers to be always up-to-date, regardless of whether they are
> displayed.
>
> Thanks.
What about a special value 'visible' for proced-auto-update-flag instead
of a separate option?
The only wrinkle might be how to set this value using
proced-toggle-auto-update. There is also the slight inconsistency that
it makes proced-auto-update-flag not a flag.
Rahguzar
This bug report was last modified 1 year and 133 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.