GNU bug report logs - #40225
27.0.90; abort with apparent stack explosion in lsp-mode

Previous Next

Package: emacs;

Reported by: Valtteri Vuorikoski <vuori <at> notcom.org>

Date: Wed, 25 Mar 2020 16:04:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.0.90

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

Bug is archived. No further changes may be made.

Full log


Message #57 received at 40225 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Valtteri Vuorikoski <vuori <at> notcom.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 40225 <at> debbugs.gnu.org
Subject: Re: bug#40225: 27.0.90; abort with apparent stack explosion in
 lsp-mode
Date: Fri, 11 Feb 2022 10:34:10 +0200
>> > So with regard to the subject of this issue I think it's fine to close
>> > this. Not having tab-line-mode call tab-line-tabs-buffer-list-function
>> > on pretty much every possible event might be a worthwhile improvement
>> > at some point though (I haven't checked whether things improved in
>> > Emacs 28).
>>
>> Pretty much every event can kill buffers, and the list of buffers
>> displayed on the tab line should reflect the change of the buffer list.
>> The existing optimization takes care only to not redraw the tab line
>> on every event when the buffer list is unchanged.
>
> Sounds like the elegant solution here could be a hook that runs when
> buffers are created/killed/renamed.

I wouldn't call it quite elegant but indeed this is a possible optimization
by tracking changes in the buffer list via buffer-list-update-hook.
Patches welcome from anyone who has problems with the current implementation.




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

Previous Next


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