From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Ludemann Newsgroups: gmane.emacs.bugs Subject: bug#55560: 29.0.50; kill-emacs on daemon doesn't remove ~/.emacs.d/.emacs.desktop.lock Date: Sat, 21 May 2022 12:16:50 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000036312a05df8a75d2" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8136"; mail-complaints-to="usenet@ciao.gmane.io" To: 55560@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 21 21:18:09 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 1nsUc5-0001tg-5Q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 May 2022 21:18:09 +0200 Original-Received: from localhost ([::1]:52138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsUc4-0004yc-00 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 May 2022 15:18:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsUby-0004yU-Bk for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 15:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49084) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsUby-0004ho-2t for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 15:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nsUbx-0002rc-U6 for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 15:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter Ludemann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55560 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165316065510971 (code B ref -1); Sat, 21 May 2022 19:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 May 2022 19:17:35 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) 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-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:232847 Archived-At: --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--