From unknown Sat Sep 13 12:32:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55574: 28.1; desktop-kill not included in kill-emacs-hook anymore Resent-From: tanzer@gg32.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 May 2022 13:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55574 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 55574@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: tanzer@gg32.com Received: via spool by submit@debbugs.gnu.org id=B.165322579724049 (code B ref -1); Sun, 22 May 2022 13:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 May 2022 13:23:17 +0000 Received: from localhost ([127.0.0.1]:43967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nslYC-0006Fp-TN for submit@debbugs.gnu.org; Sun, 22 May 2022 09:23:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:37994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nslYA-0006Fh-Rl for submit@debbugs.gnu.org; Sun, 22 May 2022 09:23:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nslYA-0001sn-Mz for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 09:23:14 -0400 Received: from mx0.gg32.com ([168.119.248.232]:7135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nslY8-0004Ex-5e for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 09:23:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=20220514; bh=W7SRYF1++ep qDQ9BCkz3jHqRCr3MZYWaXXVAst/JhyA=; h=from:to:subject:date:reply-to; d=gg32.com; b=PKpv/juRtm8GSA3uMXuMNS9suohqMMNvlXw4yUkFEBfmLrl6u9mZYk78 xuy5SHhEh21vpVZ6VO3TH3DGmMpc4kydWV2ZfLyPLHGg0SpzJn3oUwksjD0FqubAUKwPH5 RX/T2pFYW+Ol4vRvKNDEz1wCeoOnVEri/cF9S2aLWwiB+3hKmyYLlP0yvqsOwUp5ppOV14 1kKRbaUeV31F8xGXDWaJvU7+KvR2DvPvBdouVO0SGJD006fkpIFByLO8I99otrp+wUlWEQ 8XA8qbPdDvdQ0Ta9U1Von2ttg2WIIVZ4FOj/vsYpV4rFb2ECeirUSI0gUys8GMfk8vYTtX VIr9Ug== Received: by mx0.gg32.com (OpenSMTPD) with ESMTP id 2e045443; Sun, 22 May 2022 14:23:04 +0100 (WEST) X-mailer: PMA 0.8.0 Content-Type: text/plain; charset="utf-8" Date: Sun, 22 May 2022 13:23:03 -0000 Mime-Version: 1.0 Content-transfer-encoding: 8bit From: tanzer@gg32.com Message-Id: <4ef4f41e-d9d2-11ec-a163-f2f1999dd7e9@gg32.com> Received-SPF: pass client-ip=168.119.248.232; envelope-from=tanzer@gg32.com; helo=mx0.gg32.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) Before Emacs 28, `desktop-kill` was included in `kill-emacs-hook` if `desktop-save-mode` was enabled. In Emacs 28, `desktop-kill` is included in `kill-emacs-query-functions` instead. Therefore the desktop is not saved and the desktop lock not removed when `kill-emacs` is used to exit Emacs. Unfortunately, the new behavior is not documented in the NEWS file. The behavior can be reproduced by evaluating the following elisp snippet in an Emacs 28.1 instance started with `emacs -Q`: (desktop-save-mode 1) (message "kill-emacs-hook: %s" kill-emacs-hook) In Emacs 28.1, it will display: "kill-emacs-hook: nil" In Emacs 27.2, it will display: "kill-emacs-hook: (desktop-kill)" Please revoke the change or document it properly. In GNU Emacs 28.1 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2022-04-04 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.4 Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER THREADS TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $EMACSLOADPATH: /Users/tanzer/.emacs.lib::/Applications/Emacs.app/Contents/Resources/site-lisp: value of $LC_CTYPE: UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: /Users/tanzer/.emacs.lib/custom hides /Applications/Emacs-28.1.app/Contents/Resources/lisp/custom Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils desktop frameset cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 52547 9320) (symbols 48 6728 1) (strings 32 18877 2482) (string-bytes 1 635721) (vectors 16 14225) (vector-slots 8 194877 11238) (floats 8 22 51) (intervals 56 203 0) (buffers 992 10)) -- Christian Tanzer From unknown Sat Sep 13 12:32:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55574: 28.1; desktop-kill not included in kill-emacs-hook anymore Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 May 2022 16:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55574 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: tanzer@gg32.com Cc: 55574@debbugs.gnu.org Received: via spool by 55574-submit@debbugs.gnu.org id=B55574.165323831530072 (code B ref 55574); Sun, 22 May 2022 16:52:01 +0000 Received: (at 55574) by debbugs.gnu.org; 22 May 2022 16:51:55 +0000 Received: from localhost ([127.0.0.1]:46214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsoo6-0007oy-Qy for submit@debbugs.gnu.org; Sun, 22 May 2022 12:51:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsoo2-0007od-52 for 55574@debbugs.gnu.org; Sun, 22 May 2022 12:51:53 -0400 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=8Itz9ROlfdg2faguUa0YwYIVW9H4bZd8Y0AS8E2sp60=; b=aidpv2gg636JUoid4N59bqQhnv ixZlkbXTCTNSn+157RmXVdxXRnuwnzO8CGtUijWlwgqYbRqA6qC6dOMDBJipgX9PBsbki3sSdpDWL mYIGGltbMhhG9ibgGLGj9DJPzKNf03WHSDZ2CU0sDckzSR3H1Qu7n3lxVgRMc6xwvc8s=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsons-0008W6-VD; Sun, 22 May 2022 18:51:43 +0200 From: Lars Ingebrigtsen References: <4ef4f41e-d9d2-11ec-a163-f2f1999dd7e9@gg32.com> X-Now-Playing: Steven Brown's _Music for Film & Theatre (2)_: "L'Arrivee dans le Jour (L)" Date: Sun, 22 May 2022 18:51:38 +0200 In-Reply-To: <4ef4f41e-d9d2-11ec-a163-f2f1999dd7e9@gg32.com> (tanzer@gg32.com's message of "Sun, 22 May 2022 13:23:03 -0000") Message-ID: <87fsl1tsrp.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: tanzer@gg32.com writes: > Before Emacs 28, `desktop-kill` was included in `kill-emacs-hook` if > `desktop-save-mode` was enabled. This is a duplicate of bug#55574, so I'm merging the two. 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-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 (---) tanzer@gg32.com writes: > Before Emacs 28, `desktop-kill` was included in `kill-emacs-hook` if > `desktop-save-mode` was enabled. This is a duplicate of bug#55574, so I'm merging the two. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 22 12:52:00 2022 Received: (at control) by debbugs.gnu.org; 22 May 2022 16:52:00 +0000 Received: from localhost ([127.0.0.1]:46217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsoo9-0007pC-0y for submit@debbugs.gnu.org; Sun, 22 May 2022 12:52:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsoo7-0007oj-8g for control@debbugs.gnu.org; Sun, 22 May 2022 12:51:55 -0400 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=O04OTMxKLsVkV4gQ+pc3CUZepA89oiB7pmgCRzre35c=; b=naFnkfughj6ezIkoaGz5ib6odh 9uSm0jpgg2jxUBmT66BxFRDlVz+KCYguNmhiYc/cYbIYvCu0c12Bhh9TFpS1Q4vBUJJGGpkJZRzBr tcoV07HQL4Gy7q7sCmh7/Y7rhW5JLX5T8OWL8J70Y0rW8VXBo8Bi9RibvTYjuIFjvF/8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsonz-0008WD-Fk for control@debbugs.gnu.org; Sun, 22 May 2022 18:51:49 +0200 Date: Sun, 22 May 2022 18:51:47 +0200 Message-Id: <87ee0ltsrg.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55574 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: forcemerge 55574 55574 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 (---) forcemerge 55574 55574 quit From unknown Sat Sep 13 12:32:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55574: 28.1; desktop-kill not included in kill-emacs-hook anymore Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 May 2022 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55574 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: tanzer@gg32.com Cc: 55574@debbugs.gnu.org Received: via spool by 55574-submit@debbugs.gnu.org id=B55574.165323862030638 (code B ref 55574); Sun, 22 May 2022 16:57:02 +0000 Received: (at 55574) by debbugs.gnu.org; 22 May 2022 16:57:00 +0000 Received: from localhost ([127.0.0.1]:46233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsot2-0007y5-L4 for submit@debbugs.gnu.org; Sun, 22 May 2022 12:57:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsosz-0007xq-DA for 55574@debbugs.gnu.org; Sun, 22 May 2022 12:56:59 -0400 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=M8XirKt954uluV/cYbsV0EFC7n2fnY0MR8F7dOTBB1I=; b=APtmN1KeS6dOm3FvEbv7wLTWJK 6FMlriCHUOnX9wDRS+FpdywCU2aknfU9vJnevqrYzqzIYoFVD5nFlfxbY1CAxdxjwvmav0VoYAMWa DLZLOvRBEwoHYSC/iga4txR3R/IqOkNLm9YOwsrJfXD+v3Fuespo7xxKpgHKw6BazCxE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsosq-00008u-Jr; Sun, 22 May 2022 18:56:50 +0200 From: Lars Ingebrigtsen References: <4ef4f41e-d9d2-11ec-a163-f2f1999dd7e9@gg32.com> <87fsl1tsrp.fsf@gnus.org> X-Now-Playing: Steven Brown's _Music for Film & Theatre (2)_: "Prunelles d'Ailleurs (L)" Date: Sun, 22 May 2022 18:56:48 +0200 In-Reply-To: <87fsl1tsrp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 22 May 2022 18:51:38 +0200") Message-ID: <874k1htsj3.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: Lars Ingebrigtsen writes: > This is a duplicate of bug#55574, so I'm merging the two. Sorry; I meant bug#55560. 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-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 (---) Lars Ingebrigtsen writes: > This is a duplicate of bug#55574, so I'm merging the two. Sorry; I meant bug#55560. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 22 12:57:05 2022 Received: (at control) by debbugs.gnu.org; 22 May 2022 16:57:05 +0000 Received: from localhost ([127.0.0.1]:46237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsot6-0007yj-RW for submit@debbugs.gnu.org; Sun, 22 May 2022 12:57:05 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsot4-0007xw-Nd for control@debbugs.gnu.org; Sun, 22 May 2022 12:57:03 -0400 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=JziN3ArNenXZ3Cs3EaD1hXpVud1aN7iUKFz4UZETe0U=; b=sfHyhxaGe8cM7hMjJbqqJBxzRk 3bzvx+QbgI5qbAR2B59VykPoEIy+rr/1XwXcv7VobuejnOMEqGgFhXrCl69hFi2TW71/MAPxajgXj mi5CZ9SeIunHn/xjQY5t1aaKPmQ2okizclU9WdOiH5lnw1z9tSAAYGaoKuousKCrEaJ4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsosw-000094-TO for control@debbugs.gnu.org; Sun, 22 May 2022 18:56:56 +0200 Date: Sun, 22 May 2022 18:56:54 +0200 Message-Id: <8735h1tsix.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55574 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: forcemerge 55574 55560 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 (---) forcemerge 55574 55560 quit From unknown Sat Sep 13 12:32:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55574: 28.1; desktop-kill not included in kill-emacs-hook anymore Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 May 2022 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55574 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Christian Tanzer Cc: 55574@debbugs.gnu.org Received: via spool by 55574-submit@debbugs.gnu.org id=B55574.165324723721889 (code B ref 55574); Sun, 22 May 2022 19:21:02 +0000 Received: (at 55574) by debbugs.gnu.org; 22 May 2022 19:20:37 +0000 Received: from localhost ([127.0.0.1]:46421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsr81-0005gy-G4 for submit@debbugs.gnu.org; Sun, 22 May 2022 15:20:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsr7y-0005gl-Go for 55574@debbugs.gnu.org; Sun, 22 May 2022 15:20:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=f4L49aEe+idOiR02a91BTrTrhquVOaNKh7f3njtw1l8=; b=qRLkWNBb4VXET3ZIomYV571e0N QP8/7gG2VlrYMDZ5KRab5tQ0enV21cvudgGRstmsTBdTbA9sBgxBEwGBvbCnJBGIi/9rujA3qgvXI /94qCqmOowHXRK1SvT61FsYAWVwXgVVc19Ce1YIXQ27uOq68w8vW3oBlAqb0Bawb91Xk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsr7q-00017z-49; Sun, 22 May 2022 21:20:28 +0200 From: Lars Ingebrigtsen References: <874k1htsj3.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVSRlj01duxb3bk rK/++vv///8ckvcFAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YFFhMTNgFuHC4AAAGnSURBVDjLdZPt dcMgDEVdZwIKAyT2AhZiAYr2n6lPEobQ0+hHYnStjyfhbfvfvj749zIfj+cbeIj/H9OWCJxPCpEp cHa2vxycTEkkSTWiOS1ihz8AqAVmBtiTAfiDdBBiRK5dHIQwImAZvjRAJwaeI2Kmqh4BHReaUrCm AvhxkEZxdIxRKUC3txtaqoGXbA0lpl8tQkiRrW4HIcMbqABJNnmehGfWKjVFCE/x2gXg0vlhQidG lfDPFK8vgHo9qOqEUCmYjJCuh4Lvx5CHnDrhdL0UtJPiXUL0N6Z8dtB0U5CAt/OBnAakIgIgU0Ia FM8vyWyAiRGAMywz3pAYFDTGEM4MNaYaRjoKAzgeqh+F30Dl4mftyAQFlACQWHTTzEWkkfqFHLTi ScjXZPfIQCWfNi3Dn2COvt6AZbWPIHQgcV2tlBu0FdQ0QPFVd1f7C0LyhbW7XamlF/WUcYJVGg0g KygzYhHiHbhA7lfTBLUREW0VzT5m0uM9XV9FZaz3xINfJQX4ImytzLgHaJFtJw7YdmW8UewAivUC jK+DYumgJp4EG25FO/4FhDDQhxFm/CIAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDUtMjJUMTk6 MTk6NTMrMDA6MDAR05wBAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTIyVDE5OjE5OjUzKzAw OjAwYI4kvQAAAABJRU5ErkJggg== X-Now-Playing: Ryuichi Sakamoto's _Hidari Ude No Yume (1)_: "Boku No Kakera" Date: Sun, 22 May 2022 21:20:22 +0200 In-Reply-To: (Christian Tanzer's message of "Sun, 22 May 2022 20:19:20 +0100") Message-ID: <87h75hs7bd.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: (Re-sending with the debbugs address in the CCs so that it lands in the bug tracker.) Christian Tanzer writes: > On 22.05.2022, at 19:12, Lars Ingebrigtsen wrote: >> >> =?UTF-8?Q?=EF=BB=BFLars?= Ingebrigtsen writes: >> >>> This is a duplicate of bug#55574, so I'm merging the two. >> >> Sorry; I [...] 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-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 (---) (Re-sending with the debbugs address in the CCs so that it lands in the bug tracker.) Christian Tanzer writes: > On 22.05.2022, at 19:12, Lars Ingebrigtsen wrote: >>=20 >> =EF=BB=BFLars Ingebrigtsen writes: >>=20 >>> This is a duplicate of bug#55574, so I'm merging the two. >>=20 >> Sorry; I meant bug#55560. > > Sorry for the noise. I stumbled over this a few weeks ago and only > looked into it today, unfortunately without checking for an existing > report again. > > I still think that this needs documenting though because it breaks > stuff that has worked since forever. > > My function calling kill-emacs hasn=E2=80=99t changed since 1993; until t= oday > that is. I=E2=80=99m pretty sure that back then it wasn=E2=80=99t frowned= upon to use > kill-emacs in elisp code. From unknown Sat Sep 13 12:32:39 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: tanzer@gg32.com Subject: bug#55574: closed (Re: bug#55574: 28.1; desktop-kill not included in kill-emacs-hook anymore) Message-ID: References: <831qwk7929.fsf@gnu.org> <4ef4f41e-d9d2-11ec-a163-f2f1999dd7e9@gg32.com> X-Gnu-PR-Message: they-closed 55574 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo Reply-To: 55574@debbugs.gnu.org Date: Mon, 23 May 2022 12:01:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1653307262-14410-1" This is a multi-part message in MIME format... ------------=_1653307262-14410-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #55574: 28.1; desktop-kill not included in kill-emacs-hook anymore which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 55574@debbugs.gnu.org. --=20 55574: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D55574 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1653307262-14410-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 55574-done) by debbugs.gnu.org; 23 May 2022 12:00:53 +0000 Received: from localhost ([127.0.0.1]:47525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt6k1-0003ax-1K for submit@debbugs.gnu.org; Mon, 23 May 2022 08:00:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt6jz-0003T1-1Q for 55574-done@debbugs.gnu.org; Mon, 23 May 2022 08:00:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60680) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt6jt-0007id-6B; Mon, 23 May 2022 08:00:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bq/Walwgj4b/OL6o3vo56oQmXkR7wU1f2MN721sZE+k=; b=XNGkXdinWzUJ JmJwRRq2yj3T/70Pt2g3DJjCykS517iNNnPO7NQkJ+8azYR80pxAB1oqcdC2+qObBfd54L6apBQzD FEFGyyP9N7oum5lqwhKR60oh7msa1zXFi9gqRYkUZcWQFfsgIIAfoqOAL8e+FVnfS7vyt94K6T0rU TtY+gaV0AP0X5i40ckW/EgiAVCibuMqw7+4rRJSVsspCUu2rbPJFh0cF0QVAvj6waGykCzUiGCWW3 zGK7OTXlKKYfS2TEPkVTYQE/n6WXwCA9yHaEt42cpwHVQ7VF/w5HTtCQwWc4CeP6FN8A3Qaq5BN3+ 3Gg6hyIRtRT3DPJTsEWP2w==; Received: from [87.69.77.57] (port=3325 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt6js-0000lY-Jc; Mon, 23 May 2022 08:00:44 -0400 Date: Mon, 23 May 2022 15:00:30 +0300 Message-Id: <831qwk7929.fsf@gnu.org> From: Eli Zaretskii To: tanzer@gg32.com In-Reply-To: <4ef4f41e-d9d2-11ec-a163-f2f1999dd7e9@gg32.com> (tanzer@gg32.com) Subject: Re: bug#55574: 28.1; desktop-kill not included in kill-emacs-hook anymore References: <4ef4f41e-d9d2-11ec-a163-f2f1999dd7e9@gg32.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55574-done Cc: 55574-done@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 (---) > Date: Sun, 22 May 2022 13:23:03 -0000 > From: tanzer@gg32.com > > > Before Emacs 28, `desktop-kill` was included in `kill-emacs-hook` if > `desktop-save-mode` was enabled. > > In Emacs 28, `desktop-kill` is included in `kill-emacs-query-functions` > instead. Therefore the desktop is not saved and the desktop lock not > removed when `kill-emacs` is used to exit Emacs. > > Unfortunately, the new behavior is not documented in the NEWS file. I've now documented this in NEWS, and I'm therefore closing the bug. Thanks. ------------=_1653307262-14410-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 May 2022 13:23:17 +0000 Received: from localhost ([127.0.0.1]:43967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nslYC-0006Fp-TN for submit@debbugs.gnu.org; Sun, 22 May 2022 09:23:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:37994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nslYA-0006Fh-Rl for submit@debbugs.gnu.org; Sun, 22 May 2022 09:23:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nslYA-0001sn-Mz for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 09:23:14 -0400 Received: from mx0.gg32.com ([168.119.248.232]:7135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nslY8-0004Ex-5e for bug-gnu-emacs@gnu.org; Sun, 22 May 2022 09:23:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=20220514; bh=W7SRYF1++ep qDQ9BCkz3jHqRCr3MZYWaXXVAst/JhyA=; h=from:to:subject:date:reply-to; d=gg32.com; b=PKpv/juRtm8GSA3uMXuMNS9suohqMMNvlXw4yUkFEBfmLrl6u9mZYk78 xuy5SHhEh21vpVZ6VO3TH3DGmMpc4kydWV2ZfLyPLHGg0SpzJn3oUwksjD0FqubAUKwPH5 RX/T2pFYW+Ol4vRvKNDEz1wCeoOnVEri/cF9S2aLWwiB+3hKmyYLlP0yvqsOwUp5ppOV14 1kKRbaUeV31F8xGXDWaJvU7+KvR2DvPvBdouVO0SGJD006fkpIFByLO8I99otrp+wUlWEQ 8XA8qbPdDvdQ0Ta9U1Von2ttg2WIIVZ4FOj/vsYpV4rFb2ECeirUSI0gUys8GMfk8vYTtX VIr9Ug== Received: by mx0.gg32.com (OpenSMTPD) with ESMTP id 2e045443; Sun, 22 May 2022 14:23:04 +0100 (WEST) X-mailer: PMA 0.8.0 Content-Type: text/plain; charset="utf-8" Date: Sun, 22 May 2022 13:23:03 -0000 Mime-Version: 1.0 Content-transfer-encoding: 8bit Subject: 28.1; desktop-kill not included in kill-emacs-hook anymore To: bug-gnu-emacs@gnu.org From: tanzer@gg32.com Message-Id: <4ef4f41e-d9d2-11ec-a163-f2f1999dd7e9@gg32.com> Received-SPF: pass client-ip=168.119.248.232; envelope-from=tanzer@gg32.com; helo=mx0.gg32.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: , Reply-To: tanzer@gg32.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Before Emacs 28, `desktop-kill` was included in `kill-emacs-hook` if `desktop-save-mode` was enabled. In Emacs 28, `desktop-kill` is included in `kill-emacs-query-functions` instead. Therefore the desktop is not saved and the desktop lock not removed when `kill-emacs` is used to exit Emacs. Unfortunately, the new behavior is not documented in the NEWS file. The behavior can be reproduced by evaluating the following elisp snippet in an Emacs 28.1 instance started with `emacs -Q`: (desktop-save-mode 1) (message "kill-emacs-hook: %s" kill-emacs-hook) In Emacs 28.1, it will display: "kill-emacs-hook: nil" In Emacs 27.2, it will display: "kill-emacs-hook: (desktop-kill)" Please revoke the change or document it properly. In GNU Emacs 28.1 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2022-04-04 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.4 Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER THREADS TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $EMACSLOADPATH: /Users/tanzer/.emacs.lib::/Applications/Emacs.app/Contents/Resources/site-lisp: value of $LC_CTYPE: UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: /Users/tanzer/.emacs.lib/custom hides /Applications/Emacs-28.1.app/Contents/Resources/lisp/custom Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils desktop frameset cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 52547 9320) (symbols 48 6728 1) (strings 32 18877 2482) (string-bytes 1 635721) (vectors 16 14225) (vector-slots 8 194877 11238) (floats 8 22 51) (intervals 56 203 0) (buffers 992 10)) -- Christian Tanzer ------------=_1653307262-14410-1-- From unknown Sat Sep 13 12:32:39 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Peter Ludemann Subject: bug#55560: closed (Re: bug#55574: 28.1; desktop-kill not included in kill-emacs-hook anymore) Message-ID: References: <831qwk7929.fsf@gnu.org> X-Gnu-PR-Message: they-closed 55560 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo Reply-To: 55560@debbugs.gnu.org Date: Mon, 23 May 2022 12:01:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1653307263-14410-3" This is a multi-part message in MIME format... ------------=_1653307263-14410-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #55574: 29.0.50; kill-emacs on daemon doesn't remove ~/.emacs.d/.emacs.desk= top.lock which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 55560@debbugs.gnu.org. --=20 55574: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D55574 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1653307263-14410-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 55574-done) by debbugs.gnu.org; 23 May 2022 12:00:53 +0000 Received: from localhost ([127.0.0.1]:47525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt6k1-0003ax-1K for submit@debbugs.gnu.org; Mon, 23 May 2022 08:00:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt6jz-0003T1-1Q for 55574-done@debbugs.gnu.org; Mon, 23 May 2022 08:00:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60680) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt6jt-0007id-6B; Mon, 23 May 2022 08:00:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bq/Walwgj4b/OL6o3vo56oQmXkR7wU1f2MN721sZE+k=; b=XNGkXdinWzUJ JmJwRRq2yj3T/70Pt2g3DJjCykS517iNNnPO7NQkJ+8azYR80pxAB1oqcdC2+qObBfd54L6apBQzD FEFGyyP9N7oum5lqwhKR60oh7msa1zXFi9gqRYkUZcWQFfsgIIAfoqOAL8e+FVnfS7vyt94K6T0rU TtY+gaV0AP0X5i40ckW/EgiAVCibuMqw7+4rRJSVsspCUu2rbPJFh0cF0QVAvj6waGykCzUiGCWW3 zGK7OTXlKKYfS2TEPkVTYQE/n6WXwCA9yHaEt42cpwHVQ7VF/w5HTtCQwWc4CeP6FN8A3Qaq5BN3+ 3Gg6hyIRtRT3DPJTsEWP2w==; Received: from [87.69.77.57] (port=3325 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt6js-0000lY-Jc; Mon, 23 May 2022 08:00:44 -0400 Date: Mon, 23 May 2022 15:00:30 +0300 Message-Id: <831qwk7929.fsf@gnu.org> From: Eli Zaretskii To: tanzer@gg32.com In-Reply-To: <4ef4f41e-d9d2-11ec-a163-f2f1999dd7e9@gg32.com> (tanzer@gg32.com) Subject: Re: bug#55574: 28.1; desktop-kill not included in kill-emacs-hook anymore References: <4ef4f41e-d9d2-11ec-a163-f2f1999dd7e9@gg32.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55574-done Cc: 55574-done@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 (---) > Date: Sun, 22 May 2022 13:23:03 -0000 > From: tanzer@gg32.com > > > Before Emacs 28, `desktop-kill` was included in `kill-emacs-hook` if > `desktop-save-mode` was enabled. > > In Emacs 28, `desktop-kill` is included in `kill-emacs-query-functions` > instead. Therefore the desktop is not saved and the desktop lock not > removed when `kill-emacs` is used to exit Emacs. > > Unfortunately, the new behavior is not documented in the NEWS file. I've now documented this in NEWS, and I'm therefore closing the bug. Thanks. ------------=_1653307263-14410-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 May 2022 19:17:35 +0000 Received: from localhost ([127.0.0.1]:42981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsUbW-0002qs-Fp for submit@debbugs.gnu.org; Sat, 21 May 2022 15:17:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:52244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsUbV-0002ql-BM for submit@debbugs.gnu.org; Sat, 21 May 2022 15:17:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsUbV-0004wn-2Q for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 15:17:33 -0400 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:43806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsUbT-0004gQ-0y for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 15:17:32 -0400 Received: by mail-pg1-x534.google.com with SMTP id q76so10378474pgq.10 for ; Sat, 21 May 2022 12:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=C4ihxzyYW19TQWJKYDlGoXLf3UFwy8uI2w3gaJGGw4I=; b=p6irsFjjRO+lg1CROkKxoSqHIGmYx4sn7+PfP8tMbyI7mQt3lIZNNkpAlgwJku7BLo a1ydwNdLfM5FCz3mO6WnUrH2CV1gRGukFI1c5D9+4jqkPsbTDXaAu/9T6erXdnL9Q7wq acjMHgk0hQm+wu/mB6q7p4Pap+J11ZoMs18RbzrOfUDXxZqKdfDF+c0mdAMgYzNlLi2E kXIAfVR5/DyHW2pOymAcghZcO+9e1V+GEipu2OcnAvvVusUHJS2crwKQ/aSg5PrnPe7J i53oOVYgkZp086nnKr0kYULHHxW2IlgzeTo++PlJjCaHKmFU5dKf4x60J0BQgKzRAFRh Yt3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=C4ihxzyYW19TQWJKYDlGoXLf3UFwy8uI2w3gaJGGw4I=; b=rL2818kJTJA0tBcIsI33OaWfgbrI7JZVHE6s2f6El6SGX60cR8Zqn693gIzV6H/ZDy MDWst+1cpiAT9Beg9fyXrwA6J1vZll55GAGpKv2vENEhmfpO9jMWZ2ftmI/zhLwET9H0 J4Eketk6jVQHqv98ga3ADiGMx4kBjqVrYPc7tbz1SFl7vo/Tw0E4FCX3DjdlogI8lw5E ViZb1k3RTL9Rs8YPOyvHeSuERq4CNU2d+Srsj0gmfO6RVeQWootVv9lfvJ22bDr2UUFe +tIeA9Dlpd/DzgPSs68nvAc7gphIO4wamslG4pPi6TIJMM0jI7gzcVusDTgOnom2hkSn 9d8Q== X-Gm-Message-State: AOAM5328hdFS5YyvrFlAFIMjRly3VRohPKVf7TEBarTqe/pUyzaR1tve qlhGbvH8tkaLqlr5lKejPdvV2WhM6yfO8yWAbDaKMvX8 X-Google-Smtp-Source: ABdhPJw1stfGlLiHirlEFmY+cfOM2cIpji9UkFbdpZ25JNAvAOai9DntgYyeaewmIj7zk3uEnVOB6WUA+tNcb1t3swI= X-Received: by 2002:a63:1953:0:b0:3c6:e5e:9190 with SMTP id 19-20020a631953000000b003c60e5e9190mr13573363pgz.286.1653160648518; Sat, 21 May 2022 12:17:28 -0700 (PDT) MIME-Version: 1.0 From: Peter Ludemann Date: Sat, 21 May 2022 12:16:50 -0700 Message-ID: Subject: 29.0.50; kill-emacs on daemon doesn't remove ~/.emacs.d/.emacs.desktop.lock To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000036312a05df8a75d2" Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=peter.ludemann@gmail.com; helo=mail-pg1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.3 (-) 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.3 (--) --00000000000036312a05df8a75d2 Content-Type: text/plain; charset="UTF-8" I started emacs with "emacs --daemon". I stopped it with the "kill-emacs" command. Emacs stopped, but the desktop lock file remained. Following is the my console (not showing the "emacs --daemon" command). I'm pretty sure that older emacsen deleted the lock file when the daemon was stopped, so this looks like a regression. If it makes a difference, there was an existing .emacs.desktop file when I started the daemon. $ ps auwwwxxx|grep emacs peter 29376 4.1 0.4 135876 68624 ? Ss 11:30 0:05 emacs --daemon peter 29855 0.0 0.0 6180 728 pts/0 S+ 11:33 0:00 grep emacs $ cat ~/.emacs.d/.emacs.desktop.lock ;echo 29376 $ emacsclient -e '(kill-emacs)' $ ps auwwwxxx|grep emacs peter 29861 0.0 0.0 6180 664 pts/0 S+ 11:33 0:00 grep emacs $ cat ~/.emacs.d/.emacs.desktop.lock ;echo 29376 In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2022-05-21 built on penguin Repository revision: 208102fa470e3417320062cdb48a9967d80bf092 Repository branch: master System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --prefix=/home/peter/.local --with-gnutls PKG_CONFIG_PATH=/home/peter/.local/lib/pkgconfig:' Configured features: FREETYPE GIF GMP GNUTLS JPEG LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XFT XIM XPM LUCID ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Apropos Minor modes in effect: global-auto-revert-mode: t display-time-mode: t savehist-mode: t desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: ~/src/pykythe/emacs/prolog hides /home/peter/.local/share/emacs/29.0.50/lisp/progmodes/prolog Features: (shadow sort mail-extr emacsbug message yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils shortdoc help-fns radix-tree misearch multi-isearch mule-util apropos time-date term/xterm xterm finder-inf package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars cl-extra help-mode seq gv subr-x byte-opt bytecomp byte-compile cconv autorevert filenotify grep compile text-property-search comint ansi-color ring cus-load time savehist desktop frameset cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 91186 8875) (symbols 48 9960 1) (strings 32 29163 1620) (string-bytes 1 904097) (vectors 16 15493) (vector-slots 8 175522 6636) (floats 8 79 477) (intervals 56 533 0) (buffers 992 12)) --00000000000036312a05df8a75d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I started emacs with "emacs --daemon". I stopped it w= ith the
"kill-emacs" command. Emacs stopped, but the desktop l= ock file
remained. Following is the my console (not showing the
"= ;emacs --daemon" command).

I'm pretty sure that older emacs= en deleted the lock file=C2=A0
when the daemon was stopped, so this looks l= ike a=C2=A0
regression. If it makes a difference, there was an=C2=A0
<= div class=3D"gmail_default" style=3D"font-family:verdana,sans-serif">existi= ng .emacs.desktop file when I started the daemon.

$ ps auwwwxxx|grep em= acs
peter =C2=A0 =C2=A029376 =C2=A04.1 =C2=A00.4 135876 68624 ? =C2=A0 = =C2=A0 =C2=A0 =C2=A0Ss =C2=A0 11:30 =C2=A0 0:05 emacs --daemon
peter =C2= =A0 =C2=A029855 =C2=A00.0 =C2=A00.0 =C2=A0 6180 =C2=A0 728 pts/0 =C2=A0 =C2= =A0S+ =C2=A0 11:33 =C2=A0 0:00 grep emacs
$ cat ~/.emacs.d/.emacs.deskto= p.lock ;echo
29376
$ emacsclient -e '(kill-emacs)'
$ ps au= wwwxxx|grep emacs
peter =C2=A0 =C2=A029861 =C2=A00.0 =C2=A00.0 =C2=A0 61= 80 =C2=A0 664 pts/0 =C2=A0 =C2=A0S+ =C2=A0 11:33 =C2=A0 0:00 grep emacs
= $ cat ~/.emacs.d/.emacs.desktop.lock ;echo
29376


In GNU Emacs= 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
= =C2=A0of 2022-05-21 built on penguin
Repository revision: 208102fa470e34= 17320062cdb48a9967d80bf092
Repository branch: master
System Descripti= on: Debian GNU/Linux 11 (bullseye)

Configured using:
=C2=A0'c= onfigure --prefix=3D/home/peter/.local --with-gnutls
=C2=A0PKG_CONFIG_PA= TH=3D/home/peter/.local/lib/pkgconfig:'

Configured features:
= FREETYPE GIF GMP GNUTLS JPEG LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG
= SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE
XF= T XIM XPM LUCID ZLIB

Important settings:
=C2=A0 value of $LANG: e= n_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Ap= ropos

Minor modes in effect:
=C2=A0 global-auto-revert-mode: t=C2=A0 display-time-mode: t
=C2=A0 savehist-mode: t
=C2=A0 desktop-s= ave-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2= =A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wh= eel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 buf= fer-read-only: t
=C2=A0 column-number-mode: t
=C2=A0 line-number-mode= : t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-composition-mode: t
= =C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t

Lo= ad-path shadows:
~/src/pykythe/emacs/prolog hides /home/peter/.local/sha= re/emacs/29.0.50/lisp/progmodes/prolog

Features:
(shadow sort mai= l-extr emacsbug message yank-media rmc puny dired
dired-loaddefs rfc822 = mml mml-sec epa derived epg rfc6068 epg-config
gnus-util mm-decode mm-bo= dies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendma= il rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils shortdoc hel= p-fns radix-tree misearch
multi-isearch mule-util apropos time-date term= /xterm xterm finder-inf
package browse-url url url-proxy url-privacy url= -expand url-methods
url-history url-cookie url-domsuf url-util mailcap u= rl-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-= loaddefs
password-cache json map url-vars cl-extra help-mode seq gv subr= -x
byte-opt bytecomp byte-compile cconv autorevert filenotify grep compi= le
text-property-search comint ansi-color ring cus-load time savehistdesktop frameset cl-loaddefs cl-lib iso-transl tooltip eldoc paren
elec= tric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term= /x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt= fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode = register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select= scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors fr= ame minibuffer nadvice simple cl-generic cham georgian
utf-8-lang misc-l= ang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp5193= 2 hebrew greek romanian slovak czech european
ethiopic indian cyrillic c= hinese composite emoji-zwj charscript charprop
case-table epa-hook jka-c= mpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs faces= cus-face macroexp files window
text-properties overlay sha1 md5 base64 = format env code-pages mule
custom widget keymap hashtable-print-readable= backquote threads inotify
dynamic-setting font-render-setting x-toolkit= x multi-tty
make-network-process emacs)

Memory information:
(= (conses 16 91186 8875)
=C2=A0(symbols 48 9960 1)
=C2=A0(strings 32 29= 163 1620)
=C2=A0(string-bytes 1 904097)
=C2=A0(vectors 16 15493)
= =C2=A0(vector-slots 8 175522 6636)
=C2=A0(floats 8 79 477)
=C2=A0(int= ervals 56 533 0)
=C2=A0(buffers 992 12))
--00000000000036312a05df8a75d2-- ------------=_1653307263-14410-3--