bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#31317: 26.1; Add a tramp-make-tramp-temp-file* variant which returns


From: Phil Sainty
Subject: bug#31317: 26.1; Add a tramp-make-tramp-temp-file* variant which returns the full tramp filename?
Date: Tue, 01 May 2018 02:37:03 +1200
User-agent: Orcon Webmail

On 2018-05-01 02:10, Michael Albinus wrote:
Phil Sainty <address@hidden> writes:
Would it make sense for `tramp-make-tramp-temp-file' to be utilising
that function?  (i.e. composing a tramp file name from VEC and then
handing off to `make-nearby-temp-file' ?)

No, see the comment inside `tramp-make-tramp-temp-file'.  It must use
`make-temp-name' instead of `make-temp-file'.

I'm rather confused about why there would be a danger of an infinite
loop if `tramp-make-tramp-temp-file' called `make-nearby-temp-file',
if that (presumably) is not a danger if I call `make-nearby-temp-file'
in a tramp context?

I'm obviously missing something.  Never mind.  Thank you for pointing
me to the new function!


-Phil






reply via email to

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