GNU bug report logs - #38010
26.1; Please support creating a remote temporary file with Tramp

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Thu, 31 Oct 2019 21:04:02 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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38010 in the body.
You can then email your comments to 38010 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#38010; Package emacs. (Thu, 31 Oct 2019 21:04:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Markus Triska <triska <at> metalevel.at>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 31 Oct 2019 21:04:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Markus Triska <triska <at> metalevel.at>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; Please support creating a remote temporary file with Tramp
Date: Thu, 31 Oct 2019 22:02:57 +0100
I am working on an Emacs application that spawns a remote process via
start-file-process. That process will use a remote file that should
ideally be generated in analogy to a local temporary file as can be
obtained with make-temp-file.

Specifically, the application is ediprolog, and there is user demand for
extending it to work with remote Prolog processes:

    https://github.com/triska/ediprolog/issues/4

Hence, it would be really useful if for example make-temp-file could be
extended to create a temporary file on the remote machine.

Thank you and all the best!
Markus







Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38010; Package emacs. (Fri, 01 Nov 2019 07:58:02 GMT) Full text and rfc822 format available.

Message #8 received at 38010 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Markus Triska <triska <at> metalevel.at>
Cc: 38010 <at> debbugs.gnu.org
Subject: Re: bug#38010: 26.1; Please support creating a remote temporary
 file with Tramp
Date: Fri, 01 Nov 2019 08:57:35 +0100
Markus Triska <triska <at> metalevel.at> writes:

Hi Markus,

> I am working on an Emacs application that spawns a remote process via
> start-file-process. That process will use a remote file that should
> ideally be generated in analogy to a local temporary file as can be
> obtained with make-temp-file.
>
> Specifically, the application is ediprolog, and there is user demand for
> extending it to work with remote Prolog processes:
>
>     https://github.com/triska/ediprolog/issues/4
>
> Hence, it would be really useful if for example make-temp-file could be
> extended to create a temporary file on the remote machine.

There is `make-nearby-temp-file' for that purpose.

I'm closing the bug as "notabug". Feel free to come back if it doesn't
work for you.

> Thank you and all the best!
> Markus

Best regards, Michael.




Added tag(s) notabug. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Fri, 01 Nov 2019 08:00:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 38010 <at> debbugs.gnu.org and Markus Triska <triska <at> metalevel.at> Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Fri, 01 Nov 2019 08:00:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38010; Package emacs. (Fri, 01 Nov 2019 08:24:02 GMT) Full text and rfc822 format available.

Message #15 received at 38010 <at> debbugs.gnu.org (full text, mbox):

From: Markus Triska <triska <at> metalevel.at>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 38010 <at> debbugs.gnu.org
Subject: Re: bug#38010: 26.1;
 Please support creating a remote temporary file with Tramp
Date: Fri, 01 Nov 2019 09:23:21 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

>
> There is `make-nearby-temp-file' for that purpose.
>
> I'm closing the bug as "notabug". Feel free to come back if it doesn't
> work for you.

Thank you Michael! I did not see this mentioned anywhere in the Tramp or
Emacs documentation, and so, could you please consider documenting it?

Thank you and all the best,
Markus





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38010; Package emacs. (Fri, 01 Nov 2019 08:34:01 GMT) Full text and rfc822 format available.

Message #18 received at 38010 <at> debbugs.gnu.org (full text, mbox):

From: Markus Triska <triska <at> metalevel.at>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 38010 <at> debbugs.gnu.org
Subject: Re: bug#38010: 26.1;
 Please support creating a remote temporary file with Tramp
Date: Fri, 01 Nov 2019 09:33:43 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

> There is `make-nearby-temp-file' for that purpose.

Thank you, I found it now in the documentation!

All the best,
Markus




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38010; Package emacs. (Fri, 01 Nov 2019 08:42:02 GMT) Full text and rfc822 format available.

Message #21 received at 38010 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Markus Triska <triska <at> metalevel.at>
Cc: 38010 <at> debbugs.gnu.org
Subject: Re: bug#38010: 26.1; Please support creating a remote temporary
 file with Tramp
Date: Fri, 01 Nov 2019 09:41:04 +0100
Markus Triska <triska <at> metalevel.at> writes:

Hi Markus,

>> There is `make-nearby-temp-file' for that purpose.
>>
>> I'm closing the bug as "notabug". Feel free to come back if it doesn't
>> work for you.
>
> Thank you Michael! I did not see this mentioned anywhere in the Tramp or
> Emacs documentation, and so, could you please consider documenting it?

Tramp is just a library which offers alternative implementations for
Emacs functions. It does not document which functions it implements,
that's part of the Emacs doc.

I don't have Emacs 26.1 at hand, just 26.2. It documents
`make-nearby-temp-file' in:

- /etc/NEWS
- the elisp info, see (info "(elisp) Unique File Names") and
  (info "(elisp) Magic File Names")

> Thank you and all the best,
> Markus

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38010; Package emacs. (Fri, 01 Nov 2019 09:12:02 GMT) Full text and rfc822 format available.

Message #24 received at 38010 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: triska <at> metalevel.at, 38010 <at> debbugs.gnu.org
Subject: Re: bug#38010: 26.1;
 Please support creating a remote temporary file with Tramp
Date: Fri, 01 Nov 2019 11:11:51 +0200
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Date: Fri, 01 Nov 2019 09:41:04 +0100
> Cc: 38010 <at> debbugs.gnu.org
> 
> - the elisp info, see (info "(elisp) Unique File Names") and
>   (info "(elisp) Magic File Names")

I suggest to add an index entry there.  For example:

  @cindex temporary file on a remote host

This might make this function more discoverable.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38010; Package emacs. (Fri, 01 Nov 2019 09:39:01 GMT) Full text and rfc822 format available.

Message #27 received at 38010 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: triska <at> metalevel.at, 38010 <at> debbugs.gnu.org
Subject: Re: bug#38010: 26.1; Please support creating a remote temporary
 file with Tramp
Date: Fri, 01 Nov 2019 10:38:06 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> I suggest to add an index entry there.  For example:
>
>   @cindex temporary file on a remote host
>
> This might make this function more discoverable.

Good idea. Done, and pushed to master.

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Nov 2019 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 255 days ago.

Previous Next


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