all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Async Operations in TRAMP
@ 2010-02-19 10:26 Nordlöw
  2010-02-19 15:03 ` Michael Albinus
  2010-02-19 21:54 ` José A. Romero L.
  0 siblings, 2 replies; 3+ messages in thread
From: Nordlöw @ 2010-02-19 10:26 UTC (permalink / raw
  To: help-gnu-emacs

Is it possible to make the dired/tramp file operations, typically
remove, copy and move, asynchronous by spawning them as separate
processes? This would make Emacs TRAMP even more unique and amazing...

/Nordlöw


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

* Re: Async Operations in TRAMP
  2010-02-19 10:26 Async Operations in TRAMP Nordlöw
@ 2010-02-19 15:03 ` Michael Albinus
  2010-02-19 21:54 ` José A. Romero L.
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Albinus @ 2010-02-19 15:03 UTC (permalink / raw
  To: Nordlöw; +Cc: help-gnu-emacs

Nordlöw <per.nordlow@gmail.com> writes:

> Is it possible to make the dired/tramp file operations, typically
> remove, copy and move, asynchronous by spawning them as separate
> processes? This would make Emacs TRAMP even more unique and amazing...

Anything goes, of course ...

However, Tramp's main purpose is to provide handlers for magic file name
operations. So it might be useful to introduce a general asynchronous
mode in dired first, and to add Tramp handlers later on.

There are also some problems to be solved, for example if you want to
access a file, which is being copied or removed. And how to indicate,
that an operation has been finished, and it is safe to access the
resulting file.

I vaguely remember there has been a discussion about, but I have no
pointer.

> /Nordlöw

Best regards, Michael.




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

* Re: Async Operations in TRAMP
  2010-02-19 10:26 Async Operations in TRAMP Nordlöw
  2010-02-19 15:03 ` Michael Albinus
@ 2010-02-19 21:54 ` José A. Romero L.
  1 sibling, 0 replies; 3+ messages in thread
From: José A. Romero L. @ 2010-02-19 21:54 UTC (permalink / raw
  To: help-gnu-emacs

On 19 Lut, 11:26, Nordlöw <per.nord...@gmail.com> wrote:
> Is it possible to make the dired/tramp file operations, typically
> remove, copy and move, asynchronous by spawning them as separate
> processes? This would make Emacs TRAMP even more unique and amazing...
>
> /Nordlöw

It  is certainly possible to launch a separate elisp interpreter from
emacs, and delegate to it commands for asynchronous execution. For an
example have a look here:

    http://www.emacswiki.org/emacs/Sunrise_Commander#toc4

that  one  implements only the copy and move operations, but it would
be trivial to add remove too, or any other command that can be put in
the background.

Cheers,
--
José A. Romero L.
escherdragon at gmail.com
"We who cut mere stones must always be envisioning cathedrals."
(Quarry worker's creed)


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

end of thread, other threads:[~2010-02-19 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-19 10:26 Async Operations in TRAMP Nordlöw
2010-02-19 15:03 ` Michael Albinus
2010-02-19 21:54 ` José A. Romero L.

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.