[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: server-local variables

From: Eli Zaretskii
Subject: Re: server-local variables
Date: Mon, 31 Oct 2016 05:30:41 +0200

> From: Michael Albinus <address@hidden>
> Cc: address@hidden
> Date: Sun, 30 Oct 2016 21:28:48 +0100
> > Do these functions really have to live in files.el?  They are used by
> > Tramp, don't they?
> Sure, Tramp (and ange-ftp, perhaps also url-handlers) will use them
> internally. But they shall also be good for other packages. Bug#24394
> discusses `shell-file-name' and `shell-command-switch'. Bug#3736
> discusses server-local settings for `null-device'. And in bug#18940 I've
> proposed server-local settings of `process-environment' (well, Stefan did
> object, but this was not discussed until its end, I believe).
> If you fear that it would inflate files.el too much, we could locate
> these functions in files-x.el.

My reasoning was that if this doesn't have to be preloaded, it should
live in a package that's most likely to be loaded when they are needed
anyway.  I think Tramp is the likely user; I find it much harder to
imagine the others using it, but whenever I use a remote file name,
Tramp is auto-loaded, so Tramp sounds like a good place.

I don't object to files-x.el, if you think that is better.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]