GNU bug report logs - #31317
26.1; Add a tramp-make-tramp-temp-file* variant which returns the full tramp filename?

Previous Next

Package: emacs;

Reported by: Phil Sainty <psainty <at> orcon.net.nz>

Date: Mon, 30 Apr 2018 12:57:01 UTC

Severity: normal

Tags: notabug

Found in version 26.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Phil Sainty <psainty <at> orcon.net.nz>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 31317 <at> debbugs.gnu.org, bug-gnu-emacs <bug-gnu-emacs-bounces+psainty=orcon.net.nz <at> gnu.org>
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
On 2018-05-01 02:10, Michael Albinus wrote:
> Phil Sainty <psainty <at> orcon.net.nz> 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





This bug report was last modified 7 years and 101 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.