From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Raffael Stocker Newsgroups: gmane.emacs.bugs Subject: bug#72532: [PATCH] ; lisp/progmodes/which-func.el (which-function-mode): check buffer Date: Fri, 09 Aug 2024 19:39:01 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16040"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72532@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 09 19:39:49 2024 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 1scTaf-00044h-7T for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Aug 2024 19:39:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scTaU-0002li-IL; Fri, 09 Aug 2024 13:39:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1scTaQ-0002lM-Nt for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2024 13:39:35 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1scTaP-000360-T1 for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2024 13:39:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=ovIR7b2ZLq9tMelt0eUTq65i8403TZlahWt8BYxnW7E=; b=CsZ3UlySI+HEx8TaHZzCgTbkGYTBsUkoYn+ReCIxM4brXOg3WjX1rskAu6pKwkbWN4+Z4yiABlM0S2cpdYETlWBWyPtcCNuekMnhWTOsFfxAmw/BNUeIpbTYU1muay27cxlhvG+8EFI/r7XYp56koGVAkxdkuUl5loNdUPM95XeWbM4eRqKH41Mcirj338S98s6bPBwZva7O478udewVGgVpExuyp2pCOhYYKIvsN6Se+cB6UKy5vp4lT0VfqqT8P+5LHtCSsU1c/taZD3rC0CK8vphD6AyRfQJ//XGkXvBSONeAn95up13tdj8LLXk/4nfggqV7EIH3kkOVXNL90w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1scTar-0008PC-Vb for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2024 13:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Raffael Stocker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Aug 2024 17:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72532 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72532-submit@debbugs.gnu.org id=B72532.172322518232278 (code B ref 72532); Fri, 09 Aug 2024 17:40:01 +0000 Original-Received: (at 72532) by debbugs.gnu.org; 9 Aug 2024 17:39:42 +0000 Original-Received: from localhost ([127.0.0.1]:38576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scTaX-0008OY-Jq for submit@debbugs.gnu.org; Fri, 09 Aug 2024 13:39:41 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:58834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scTaV-0008OL-WE for 72532@debbugs.gnu.org; Fri, 09 Aug 2024 13:39:40 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4WgWPC1vcdz1qsPQ; Fri, 9 Aug 2024 19:39:11 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4WgWPC1j7yz1qqlS; Fri, 9 Aug 2024 19:39:11 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id Un5P5pgCDtde; Fri, 9 Aug 2024 19:39:01 +0200 (CEST) X-Auth-Info: YzTGvmdNO9fnMPrl0wRYTLsQh1ZEYzfc6gKNvNyTonaLFVN/kaz3FeC00MsL6xTW Original-Received: from Whiteflame (aftr-62-216-207-33.dynamic.mnet-online.de [62.216.207.33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 9 Aug 2024 19:39:01 +0200 (CEST) In-Reply-To: (Stefan Kangas's message of "Fri, 9 Aug 2024 09:45:25 +0000") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289973 Archived-At: Stefan Kangas writes: > `buffer-list' is documented to return a list of all live buffers, so it > would be good to understand why buffers are getting killed in this loop. > > In other words, are we sure that your patch is not just covering up some > problem elsewhere? I guess it is. I just did some trying out and found that I can reliably make the problem appear and disappear by enabling/disabling eglot. I will spend some more time with this and see what more I can find out.