From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44644: /tmp/emacs0/ not cleaned up upon exit Date: Tue, 17 Nov 2020 17:00:03 +0200 Message-ID: <83zh3gqb9o.fsf@gnu.org> References: <87a6vjk9ep.8.fsf@jidanni.org> <87y2j0sxz0.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2145"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44644@debbugs.gnu.org, jidanni@jidanni.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 17 16:01:28 2020 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 1kf2U3-0000Hh-Up for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 16:01:27 +0100 Original-Received: from localhost ([::1]:37314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kf2U2-0002eK-IG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 10:01:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf2Te-0002dz-U7 for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2020 10:01:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49317) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kf2Te-00021L-J4 for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2020 10:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kf2Te-0007tg-Fv for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2020 10:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Nov 2020 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44644 X-GNU-PR-Package: emacs Original-Received: via spool by 44644-submit@debbugs.gnu.org id=B44644.160562522030301 (code B ref 44644); Tue, 17 Nov 2020 15:01:02 +0000 Original-Received: (at 44644) by debbugs.gnu.org; 17 Nov 2020 15:00:20 +0000 Original-Received: from localhost ([127.0.0.1]:60863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf2Sx-0007se-LB for submit@debbugs.gnu.org; Tue, 17 Nov 2020 10:00:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf2Ss-0007sH-PL for 44644@debbugs.gnu.org; Tue, 17 Nov 2020 10:00:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55487) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kf2Sn-0001Vz-5H; Tue, 17 Nov 2020 10:00:09 -0500 Original-Received: from [176.228.60.248] (port=2506 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kf2Sl-00062L-U6; Tue, 17 Nov 2020 10:00:08 -0500 In-Reply-To: <87y2j0sxz0.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 17 Nov 2020 00:06:43 +0100) 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:193542 Archived-At: > From: Lars Ingebrigtsen > Date: Tue, 17 Nov 2020 00:06:43 +0100 > Cc: 44644@debbugs.gnu.org > > 積丹尼 Dan Jacobson writes: > > > Anyway leaving empty directories around after exit is bad when not root too. > > True. Looking at the code, it looks like having `server-start' add > `server-force-delete' to `kill-emacs-query-functions' would do the > trick? > > Does anybody see any downsides to doing that? What if the Emacs that's being killed is not the one that created the server file?