all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Emacs Development <Emacs-devel@gnu.org>
Subject: Re: Questions about XDG_RUNTIME_DIR and server-socket-dir
Date: Sun, 3 Feb 2019 21:41:49 +1300	[thread overview]
Message-ID: <128f5db9-3f28-334d-5dea-2e8ae55cd1a2@orcon.net.nz> (raw)
In-Reply-To: <32b703fc-e89c-23c3-cf21-74b4af6640f1@cs.ucla.edu>

On 3/02/19 7:10 PM, Paul Eggert wrote:
> XDG_RUNTIME_DIR is a per-user-login directory that is like TMPDIR except
> without some of the security problems of TMPDIR [...]
> 
> I don't see the harm in changing it, if each new setting is intended to
> correspond to a different user login. That might be simpler than adding
> yet another environment variable.

In my case a single user login could use multiple values -- each of the
Emacs instances (and inferior processes thereof) that the user ran
during that login session would be seeing a different XDG_RUNTIME_DIR.

If it's intended to be a replacement for TMPDIR though, perhaps changing
XDG_RUNTIME_DIR is no worse than changing TMPDIR.


-Phil



  reply	other threads:[~2019-02-03  8:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-03  5:21 Questions about XDG_RUNTIME_DIR and server-socket-dir Phil Sainty
2019-02-03  6:01 ` Eli Zaretskii
2019-02-03  9:18   ` Phil Sainty
2019-02-03 11:21     ` Eli Zaretskii
2019-02-03 21:12       ` Phil Sainty
2019-02-04  3:30         ` Eli Zaretskii
2019-02-04  4:10           ` Stefan Monnier
2019-02-04  5:06           ` Phil Sainty
2019-02-03  6:10 ` Paul Eggert
2019-02-03  8:41   ` Phil Sainty [this message]
2019-02-03 16:42     ` Paul Eggert
2019-02-04 12:49   ` Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=128f5db9-3f28-334d-5dea-2e8ae55cd1a2@orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=Emacs-devel@gnu.org \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.