From unknown Tue Jun 17 21:56:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53870 <53870@debbugs.gnu.org> To: bug#53870 <53870@debbugs.gnu.org> Subject: Status: calendar-exit doesn't kill calendar buffers Reply-To: bug#53870 <53870@debbugs.gnu.org> Date: Wed, 18 Jun 2025 04:56:41 +0000 retitle 53870 calendar-exit doesn't kill calendar buffers reassign 53870 emacs submitter 53870 Juri Linkov severity 53870 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 03:08:15 2022 Received: (at submit) by debbugs.gnu.org; 8 Feb 2022 08:08:15 +0000 Received: from localhost ([127.0.0.1]:45115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHLXr-0008Ro-91 for submit@debbugs.gnu.org; Tue, 08 Feb 2022 03:08:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:50642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHLXl-0008RQ-0C for submit@debbugs.gnu.org; Tue, 08 Feb 2022 03:08:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHLXk-0005WD-9v for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 03:08:08 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:56705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHLXg-0008M8-57 for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 03:08:07 -0500 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 6D5CFFF804 for ; Tue, 8 Feb 2022 08:07:58 +0000 (UTC) From: Juri Linkov To: bug-gnu-emacs@gnu.org Subject: calendar-exit doesn't kill calendar buffers Organization: LINKOV.NET References: <87h79f8urg.fsf@tucano.isti.cnr.it> <87v8xtdcr4.fsf@gnus.org> <878rupbbll.fsf@tucano.isti.cnr.it> <87k0e9asjk.fsf@gnus.org> <877da8c3jn.fsf@tucano.isti.cnr.it> <8735kv61c1.fsf@gnus.org> <87zgn35x2u.fsf@web.de> <878runz6e2.fsf@gnus.org> <86o83ilb57.fsf@mail.linkov.net> <87fsotvqff.fsf@gnus.org> Date: Tue, 08 Feb 2022 09:39:24 +0200 In-Reply-To: <87fsotvqff.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 08 Feb 2022 07:11:00 +0100") Message-ID: <86tud9erir.fsf_-_@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.199; envelope-from=juri@linkov.net; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) [This is a separate bug report from bug#53764.] >> The only case when I see the diary file is when quitting Calendar >> leaves the diary buffer floating in the buffer list, so every time after >> using Calendar have to visit the diary buffer and manually kill it. > > That buffer is included in `calendar-buffer-list', so `calendar-exit' > calls `quit-window' on that buffer. So you could have > `quit-window-hook' kill the buffer, I guess? The problem is that when the KILL arg of calendar-exit is non-nil, it still doesn't kill calendar buffers. When calendar-setup is non-nil, it doesn't kill all calendar buffers because ‘(quit-window kill w)’ is called only on windows, but not on non-displayed buffers. When calendar-setup is nil, it doesn't kill all calendar buffers because ‘(quit-windows-on b kill)’ never kills non-displayed buffers. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 09 03:32:46 2022 Received: (at 53870) by debbugs.gnu.org; 9 Feb 2022 08:32:46 +0000 Received: from localhost ([127.0.0.1]:49694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHiP8-0008EF-HY for submit@debbugs.gnu.org; Wed, 09 Feb 2022 03:32:46 -0500 Received: from quimby.gnus.org ([95.216.78.240]:33082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHiP6-00089M-9v for 53870@debbugs.gnu.org; Wed, 09 Feb 2022 03:32:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From: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=6MgF+Nd40Z0MZ9zn/OUZn22rmll9NYgbgE0vjfzYH7w=; b=qje4rY8ELk+3IkLZfheN6GIOk4 h83k0HMqLs4FsWgHDMD/2EoErKst4n0D4yAqxUgkkBPsH/O+Iek7opi51XH8tledrErNgHfNMnFk4 sUvCuRP0diMXQ3n6r1QZ+lI2YtdYJ3IWtIuJhOSV0CZuGq+FDH588QLtcH+kO979xnE8=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHiOx-0008By-7G; Wed, 09 Feb 2022 09:32:38 +0100 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#53870: calendar-exit doesn't kill calendar buffers References: <87h79f8urg.fsf@tucano.isti.cnr.it> <87v8xtdcr4.fsf@gnus.org> <878rupbbll.fsf@tucano.isti.cnr.it> <87k0e9asjk.fsf@gnus.org> <877da8c3jn.fsf@tucano.isti.cnr.it> <8735kv61c1.fsf@gnus.org> <87zgn35x2u.fsf@web.de> <878runz6e2.fsf@gnus.org> <86o83ilb57.fsf@mail.linkov.net> <87fsotvqff.fsf@gnus.org> <86tud9erir.fsf_-_@mail.linkov.net> X-Now-Playing: Simon & Garfunkel's _Live From New York City, 1967_: "Benedictus" Date: Wed, 09 Feb 2022 09:32:33 +0100 In-Reply-To: <86tud9erir.fsf_-_@mail.linkov.net> (Juri Linkov's message of "Tue, 08 Feb 2022 09:39:24 +0200") Message-ID: <87sfsso2xq.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > The problem is that when the KILL arg of calendar-exit is non-nil, > it still doesn't kill calendar buffers. I've now fixed this in Emacs 29. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53870 Cc: 53870@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov writes: > The problem is that when the KILL arg of calendar-exit is non-nil, > it still doesn't kill calendar buffers. I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 09 03:33:09 2022 Received: (at control) by debbugs.gnu.org; 9 Feb 2022 08:33:09 +0000 Received: from localhost ([127.0.0.1]:49698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHiPU-0008Iu-Q1 for submit@debbugs.gnu.org; Wed, 09 Feb 2022 03:33:08 -0500 Received: from quimby.gnus.org ([95.216.78.240]:33096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHiPT-0008IQ-0L for control@debbugs.gnu.org; Wed, 09 Feb 2022 03:33:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8o5z1Y+84bHRHsrum6iXBMP5RpDlDQyUAPpu2fc0wYg=; b=lk3rYYkI31wMqyCiGMJldh/NRt eV4dcvLic6e+ILuII/Qm56AEMRBEMcicN5tYVccfI2rxLF+RnlE4/bP9542Gn+W6TYqFvn7iGVR9W 1gQLM9teODffRD7J3Yg9xfoIvFjFG8e6CtyDjOCzaThirDUehuxjViEpO4+uzVQOmexU=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHiPK-0008CH-R0 for control@debbugs.gnu.org; Wed, 09 Feb 2022 09:33:01 +0100 Date: Wed, 09 Feb 2022 09:32:58 +0100 Message-Id: <87r18co2x1.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #53870 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 53870 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 53870 29.1 quit From unknown Tue Jun 17 21:56:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 09 Mar 2022 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator