[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44644: /tmp/emacs0/ not cleaned up upon exit
From: |
Lars Ingebrigtsen |
Subject: |
bug#44644: /tmp/emacs0/ not cleaned up upon exit |
Date: |
Fri, 27 Nov 2020 08:48:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> 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
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, (continued)
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Eli Zaretskii, 2020/11/17
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, 積丹尼 Dan Jacobson, 2020/11/17
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Lars Ingebrigtsen, 2020/11/24
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Andreas Schwab, 2020/11/24
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Lars Ingebrigtsen, 2020/11/24
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Andreas Schwab, 2020/11/24
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Eli Zaretskii, 2020/11/24
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Jean Louis, 2020/11/24
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Lars Ingebrigtsen, 2020/11/25
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Eli Zaretskii, 2020/11/26
- bug#44644: /tmp/emacs0/ not cleaned up upon exit,
Lars Ingebrigtsen <=
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Eli Zaretskii, 2020/11/27
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Jean Louis, 2020/11/27
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, Lars Ingebrigtsen, 2020/11/27
- bug#44644: /tmp/emacs0/ not cleaned up upon exit, 積丹尼 Dan Jacobson, 2020/11/27