all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#38010: 26.1; Please support creating a remote temporary file with Tramp
@ 2019-10-31 21:02 Markus Triska
  2019-11-01  7:57 ` Michael Albinus
  0 siblings, 1 reply; 7+ messages in thread
From: Markus Triska @ 2019-10-31 21:02 UTC (permalink / raw)
  To: 38010


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








^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38010: 26.1; Please support creating a remote temporary file with Tramp
  2019-10-31 21:02 bug#38010: 26.1; Please support creating a remote temporary file with Tramp Markus Triska
@ 2019-11-01  7:57 ` Michael Albinus
  2019-11-01  8:23   ` Markus Triska
  2019-11-01  8:33   ` Markus Triska
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Albinus @ 2019-11-01  7:57 UTC (permalink / raw)
  To: Markus Triska; +Cc: 38010

Markus Triska <triska@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38010: 26.1; Please support creating a remote temporary file with Tramp
  2019-11-01  7:57 ` Michael Albinus
@ 2019-11-01  8:23   ` Markus Triska
  2019-11-01  8:41     ` Michael Albinus
  2019-11-01  8:33   ` Markus Triska
  1 sibling, 1 reply; 7+ messages in thread
From: Markus Triska @ 2019-11-01  8:23 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 38010


Michael Albinus <michael.albinus@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






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38010: 26.1; Please support creating a remote temporary file with Tramp
  2019-11-01  7:57 ` Michael Albinus
  2019-11-01  8:23   ` Markus Triska
@ 2019-11-01  8:33   ` Markus Triska
  1 sibling, 0 replies; 7+ messages in thread
From: Markus Triska @ 2019-11-01  8:33 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 38010

Michael Albinus <michael.albinus@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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38010: 26.1; Please support creating a remote temporary file with Tramp
  2019-11-01  8:23   ` Markus Triska
@ 2019-11-01  8:41     ` Michael Albinus
  2019-11-01  9:11       ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Albinus @ 2019-11-01  8:41 UTC (permalink / raw)
  To: Markus Triska; +Cc: 38010

Markus Triska <triska@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38010: 26.1; Please support creating a remote temporary file with Tramp
  2019-11-01  8:41     ` Michael Albinus
@ 2019-11-01  9:11       ` Eli Zaretskii
  2019-11-01  9:38         ` Michael Albinus
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2019-11-01  9:11 UTC (permalink / raw)
  To: Michael Albinus; +Cc: triska, 38010

> From: Michael Albinus <michael.albinus@gmx.de>
> Date: Fri, 01 Nov 2019 09:41:04 +0100
> Cc: 38010@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38010: 26.1; Please support creating a remote temporary file with Tramp
  2019-11-01  9:11       ` Eli Zaretskii
@ 2019-11-01  9:38         ` Michael Albinus
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Albinus @ 2019-11-01  9:38 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: triska, 38010

Eli Zaretskii <eliz@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-01  9:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-31 21:02 bug#38010: 26.1; Please support creating a remote temporary file with Tramp Markus Triska
2019-11-01  7:57 ` Michael Albinus
2019-11-01  8:23   ` Markus Triska
2019-11-01  8:41     ` Michael Albinus
2019-11-01  9:11       ` Eli Zaretskii
2019-11-01  9:38         ` Michael Albinus
2019-11-01  8:33   ` Markus Triska

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.