From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#58839: [Patch] Re: bug#58839: 29.0.50; project-kill-buffer fails when Eglot is running Date: Mon, 31 Oct 2022 20:36:43 +0000 Message-ID: <87k04fvig4.fsf@gmail.com> References: <87sfj8umwb.fsf@posteo.net> <87edur3lil.fsf@posteo.net> <87a65f3j40.fsf@posteo.net> <213f3549-de4e-25a7-5e27-d13893e557bc@yandex.ru> <87zgdfwkle.fsf@gmail.com> <8e31a89d-e35e-6dd0-a8e3-f0b9684c8bfa@yandex.ru> <87v8o3wgq1.fsf@gmail.com> <87ilk2x1si.fsf@gmail.com> <871qqq7l9p.fsf@posteo.net> <87eduqwekz.fsf@gmail.com> <87wn8invbx.fsf@posteo.net> <877d0iw8iq.fsf@gmail.com> <837d0hhlke.fsf@gnu.org> <46ff0065-5645-ef1e-2621-242fb6a73f98@yandex.ru> <87v8o0uxn5.fsf@gmail.com> <49cf7edf-afa7-9fce-f4ff-e3af7ad1c02d@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24204"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: philipk@posteo.net, Eli Zaretskii , manuel.uberti@inventati.org, 58839@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 31 21:36:34 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 1opbWL-0006AU-GO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 Oct 2022 21:36:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opbW2-000120-Nf; Mon, 31 Oct 2022 16:36:14 -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 1opbVq-00010y-GM for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 16:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1opbVq-0000O5-0F for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 16:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1opbVp-0001OT-Lm for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 16:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Oct 2022 20:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58839 X-GNU-PR-Package: emacs Original-Received: via spool by 58839-submit@debbugs.gnu.org id=B58839.16672485435327 (code B ref 58839); Mon, 31 Oct 2022 20:36:01 +0000 Original-Received: (at 58839) by debbugs.gnu.org; 31 Oct 2022 20:35:43 +0000 Original-Received: from localhost ([127.0.0.1]:41946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opbVW-0001Nr-Mn for submit@debbugs.gnu.org; Mon, 31 Oct 2022 16:35:42 -0400 Original-Received: from mail-wm1-f43.google.com ([209.85.128.43]:36592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opbVV-0001Nd-3b for 58839@debbugs.gnu.org; Mon, 31 Oct 2022 16:35:41 -0400 Original-Received: by mail-wm1-f43.google.com with SMTP id c3-20020a1c3503000000b003bd21e3dd7aso11553846wma.1 for <58839@debbugs.gnu.org>; Mon, 31 Oct 2022 13:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dAaX2t/8dsMjjBc30G7/9YJxBbyydyqCZIrzdVt2xL0=; b=OeRQ2xrkJA8W/5bMW8Y5mudts0D9DdatytCkKb9BPuqX4C2aj6vJFHE6fQV0qwC/zy JC39CGLZQCZSPw5JlqEXVwe//Pch+DBp8B6b6kCua+wuq1IXLFWIVksKPg7Udt4JwGro rRS7+ObJD+0j77giRZ1Z1ipZ5M5zRbm2pLtnhJCmdqT12K40ZyZbcjBx/MG6AZtZYohh vp43z2dr9kOsl0Ij0MEQtS3IZJ3o3Z0SrKfwouxQB43IuaFsqstoZ2oStKOevjHVDZkR cqn22uhEKkP4+6iTkJyxMCTKjB87+kDqHkX+0OGp11zzwSfPKp/JhvqCkLY6/pOuQ7n6 G2nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=dAaX2t/8dsMjjBc30G7/9YJxBbyydyqCZIrzdVt2xL0=; b=NxIpq3zPdnI/6hoH53x3PThoujCzYWT5wrtUT6mDU6dPch664ZITPIHh91yenrUWQq zWEnNs/0Cx2Wl/UCf67mMR86IbTS/lTo51nyqrcw8lTcdE39O1S0z2xUP6YhyyMFLNTr zAv+y4NkUTUgnUl+wUKNUUPpyDUROQ33P+0uI2Sa31/aLez0+2YxsxTBOrN8Gqi5k+xK TdwYNFgkENN3BO7biEYq1/yuMDd+fI+mMj0mK3jeD/MkB2CihjzgYM+zaoueA7+wmiL3 TJjP8NV19eI47OYaf5BXISYm/NAwW+prj9mDjNIxZmgqawFQFDIZg3bN2iJOCPuwBsq4 H9DA== X-Gm-Message-State: ACrzQf0BUrGpBjINmY53gK3fUtlFlh9255zZ5kgAy/PsECWX/VUqryDq x6mIBPfJJRb5YjtObSalGME= X-Google-Smtp-Source: AMsMyM7/JrwaY1Jbw+xDKqgMGy2PA8eDmOTWL7UxAHHWNdRKaTrX5sxeav4wPaVaOJLdWgSzWKf7nQ== X-Received: by 2002:a05:600c:21d7:b0:3cf:7d8a:42e2 with SMTP id x23-20020a05600c21d700b003cf7d8a42e2mr242171wmj.202.1667248534969; Mon, 31 Oct 2022 13:35:34 -0700 (PDT) Original-Received: from krug ([87.196.74.163]) by smtp.gmail.com with ESMTPSA id w24-20020a1cf618000000b003cf4d99fd2asm8290915wmc.6.2022.10.31.13.35.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 13:35:34 -0700 (PDT) In-Reply-To: <49cf7edf-afa7-9fce-f4ff-e3af7ad1c02d@yandex.ru> (Dmitry Gutov's message of "Mon, 31 Oct 2022 19:11:33 +0200") 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246722 Archived-At: Dmitry Gutov writes: > On 31.10.2022 13:56, Jo=C3=A3o T=C3=A1vora wrote: >> On Mon, Oct 31, 2022 at 9:52 AM Jo=C3=A3o T=C3=A1vora > > wrote: >> > In the little time I've used this feature since the start of this >> > discussion I have discovered it backfires no small number of occasion= s: >> > Eglot, CIDER, *scratch*, *ielm*, *sly-scratch*, *Completions*,...=C2= =A0 Heck >> > even *ibuffer* itself is targeted by this. >> And you can add the gnus mail buffers to this list. If you are >> unlucky >> enough to start M-x gnus from a project file to read your email, then >> closing that project in the future will take your gnus session, your >> summary buffers, messages, etc. with it.=C2=A0 This can't possibly be co= nsidered >> an exotic use case, and can't be right. > > Does Gnus use fundamental-mode for some of its important buffers? No idea. gnus-summary-modes is one of the modes Try: emacs -Q C-x C-f some/file/in/a/project/foo.c M-x gnus ; Remember to check your email ; read mail, make searches, etc C-x b foo.c ; go back to the file C-x p k ; Get preposterous confirmation prompt about tens of buffers about = to be killed ; say yes, bye all those emails=20