From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Valtteri Vuorikoski Newsgroups: gmane.emacs.bugs Subject: bug#40225: 27.0.90; abort with apparent stack explosion in lsp-mode Date: Thu, 10 Feb 2022 21:49:10 +0200 Message-ID: <20220210194910.klhkk7waxiaiwdti@donburi.himad.notcom.org> References: <87mu844jm0.fsf@notcom.org> <83mu849zjc.fsf@gnu.org> <835zer9cj9.fsf@gnu.org> <8600e733-d75a-3d8f-897d-2eb3ca6bb59d@notcom.org> <83h7y41pxb.fsf@gnu.org> <871r0bdw4q.fsf@gnus.org> <20220210090948.5nnlwnsa2qmmjmmy@donburi.himad.notcom.org> <86a6eyr3lr.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37269"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20211029-41-8a9163 Cc: Lars Ingebrigtsen , 40225@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 10 20:51:38 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIFTd-0009Ta-L4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 20:51:38 +0100 Original-Received: from localhost ([::1]:48056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIFTc-00029x-Eh for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 14:51:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIFS9-00028c-5G for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 14:50:12 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35061) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIFS6-0002gO-Pi for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 14:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIFS6-0001g4-Iz for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 14:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Valtteri Vuorikoski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Feb 2022 19:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40225 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 40225-submit@debbugs.gnu.org id=B40225.16445225596385 (code B ref 40225); Thu, 10 Feb 2022 19:50:02 +0000 Original-Received: (at 40225) by debbugs.gnu.org; 10 Feb 2022 19:49:19 +0000 Original-Received: from localhost ([127.0.0.1]:57191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIFRP-0001ev-1m for submit@debbugs.gnu.org; Thu, 10 Feb 2022 14:49:19 -0500 Original-Received: from mail.netcrew.fi ([85.188.1.62]:34350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIFRM-0001ek-Sb for 40225@debbugs.gnu.org; Thu, 10 Feb 2022 14:49:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=notcom.org; s=nc3; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ZDsWF8JwsggILaoTVDMIC6Nd1o0sJChowWS6OI5xEXg=; b=idIFZVew03cduoOvRhPj3TZNZ7 DNEMkqPdnCXK18ruDNsUlJnInaEDJBqFJ1TtwghRvCNNS75k1CIl0yyYmPBCOSDf1jShg5gwTdk0z b3IaXUOarNoHBYCWbzl4wHQkGKpEi8zt6ujZS/nWgr7Mze2cs8R74Ip+tfTkKfYaYqfQ=; Original-Received: from mail.netcrew.fi ([2001:67c:15c:1::62:1]) by mail.netcrew.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1nIFRH-0007uq-3H; Thu, 10 Feb 2022 21:49:11 +0200 Original-Received: from vuori by donburi.himad.notcom.org with local (Exim 4.93) (envelope-from ) id 1nIFRG-0078VN-Gh; Thu, 10 Feb 2022 21:49:10 +0200 Content-Disposition: inline In-Reply-To: <86a6eyr3lr.fsf@mail.linkov.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226624 Archived-At: On Thu, Feb 10, 2022 at 08:50:25PM +0200, Juri Linkov wrote: > > 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.