From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#44644: /tmp/emacs0/ not cleaned up upon exit Date: Fri, 27 Nov 2020 08:48:30 +0100 Message-ID: <87zh33kzox.fsf@gnus.org> References: <87a6vjk9ep.8.fsf@jidanni.org> <87y2j0sxz0.fsf@gnus.org> <83zh3gqb9o.fsf@gnu.org> <87sg8zcnu0.fsf@gnus.org> <83y2iqu646.fsf@gnu.org> <877dqa2cbz.fsf@gnus.org> <83sg8wqlpw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9356"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44644@debbugs.gnu.org, jidanni@jidanni.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 27 08:49:34 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 1kiYVa-0002Li-HD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 08:49:34 +0100 Original-Received: from localhost ([::1]:50116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiYVZ-0007aM-HW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 02:49:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiYV4-0007YD-Nn for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2020 02:49:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kiYV4-00021L-GI for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2020 02:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kiYV4-00012k-EP for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2020 02:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Nov 2020 07:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 44644-submit@debbugs.gnu.org id=B44644.16064633253987 (code B ref 44644); Fri, 27 Nov 2020 07:49:02 +0000 Original-Received: (at 44644) by debbugs.gnu.org; 27 Nov 2020 07:48:45 +0000 Original-Received: from localhost ([127.0.0.1]:43715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiYUn-00012E-JB for submit@debbugs.gnu.org; Fri, 27 Nov 2020 02:48:45 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:58680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiYUj-00011z-OW for 44644@debbugs.gnu.org; Fri, 27 Nov 2020 02:48:43 -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=Uhn8JMidOkIpbwZndhiV5A2qp30AER5UQ5Dc0g+mlsY=; b=Q/xIHyA//I82uVgnBlisczwoUz devH0/5Jg4zAWmKsTK6YAHEuwXe1YorflELg/u0Y24oWQLydRnlvbemLObcNvRn67UM2/tnc2BpJX CM1Ld2awTqLhUNaISjbCIr120XB1JRyA1ugT25eHmaGhJnHl3z2skrix7cxxL+VvQ+Po=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kiYUZ-0004tU-St; Fri, 27 Nov 2020 08:48:34 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUdGBaCYm9UPET/ ///ZTkq4AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QLGwcuDy8+EIMAAAFTSURBVCjPjVFNa8JAEJ2G BrZ7riX0tIS2rPMrRFDoLQUToicpKI2/Yl1U0hwLSuxpWRC2+ysbk2xs6aVzmrdv9r35APgTAYg2 8+LhTA8cmGTjfld0t09OrgziTF93jA6FP7+oEQZSFHVKOQnzkNkGKAxz1KwWITwMCecNAFKZCaZa ASVpJ+Yht9vOljO17ZgCceNyTxeFI9bppRePPlG+ds0VnJorN93TPTVrV3dTKtKm1haUUmEUmYOf LQ7JcqmzeFtCPB8douhgp/4ugpMc96J0gs/+7hb8dJQuRvEwmU1rb1MZdy3EVPho2nb6L4D7HBvg SzgmRdCAzSscezlzcwIL63XQgVFKK5BYfSIP1ZiI+Uf1AJ6xqxX9zK0oz3ayYji+nxkQlnqagMfR nQQ4N/X1UFhWlX7VW3gUlksr38raCc6MVEH7B7ngIoAf8Qv8O74Bmr1iBcXp8PAAAAAldEVYdGRh dGU6Y3JlYXRlADIwMjAtMTEtMjdUMDc6NDY6MTUrMDA6MDDJ+p/6AAAAJXRFWHRkYXRlOm1vZGlm eQAyMDIwLTExLTI3VDA3OjQ2OjE1KzAwOjAwuKcnRgAAAABJRU5ErkJggg== X-Now-Playing: Steve Noble & Farida Amadou duo's _SHAPE Wire CD'2020_: "AN (other)" In-Reply-To: <83sg8wqlpw.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 26 Nov 2020 15:41:31 +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: , 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:194400 Archived-At: Eli Zaretskii writes: > At most, yes. The problem is, it isn't easy to know when the > directory is under /tmp (we don't use temporary-file-directory, for > the reasons explained in the comment to server-socket-dir). Maybe we > should put some special property on server-dir when that is the case? Did you mean server-socket-dir instead of server-dir here? Yes, I guess that'd be possible, but the user may change server-socket-dir without changing the property... We could literally just check whether the parent of server-socket-dir is "/tmp" and only delete then. It'd be pretty defensive, but should fix this minor annoyance. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no