all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* C-x @
@ 2002-04-30  9:30 Dave Love
  0 siblings, 0 replies; 6+ messages in thread
From: Dave Love @ 2002-04-30  9:30 UTC (permalink / raw)


I think the C-x @ map should be documented (as opposed to just
mentioned once in the manual).

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Introducing thread-safe Tramp
@ 2018-07-23 15:58 Michael Albinus
  2018-07-29 18:29 ` Drew Adams
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Albinus @ 2018-07-23 15:58 UTC (permalink / raw)
  To: emacs-devel; +Cc: Dmitry Gutov

Hi,

I have created a new branch feature/tramp-thread-safe. The major change
is making Tramp thread-safe, that means, several basic file operations
can run concurrently now.

Being a library, Tramp does not create new threads on its own. This must
be performed by the callers.

I have changed the `find-file' family of commands to raise their
underlying file operations asynchronously if indicated. Every visiting
of a file happens in its own thread then. If wildcards are used, one
thread per involved file is created.

In order to enable this, the respective command must be called with a
prefix argument, like "C-u C-x C-f ...".  Emacs will remain responsive,
you can continue with whatever operation. This will be best seen with
remote files, because they need more time to load into a buffer. Emacs
is not as responsive yet as I hoped to achieve; further optimization is
needed.

As second change, I have modified `vc-refresh-state' to run always in
its own thread. This is because I have observed, that for git
repositories, loading a remote file is often much faster than the
following update of its state in the modeline. For the time being this
behaviour is hard-coded, I haven't seen any drawback for this even for
local files. But we could trigger it also via a user option.

@Dmitry?

Please give it as much testing as possible. I cannot promise Emacs won't
crash ever with these changes, so it is not time for production
systems. But all bug reports and feedbacks will help to improve this new
feature.

And, if there are not too serious complaints, I will merge it into
master after a while :-) You are warned!

Best regards, Michael.



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

end of thread, other threads:[~2018-08-07  7:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-30  9:30 C-x @ Dave Love
  -- strict thread matches above, loose matches on Subject: below --
2018-07-23 15:58 Introducing thread-safe Tramp Michael Albinus
2018-07-29 18:29 ` Drew Adams
2018-07-30  8:44   ` Michael Albinus
2018-07-30 14:23     ` Eli Zaretskii
2018-08-04 12:47       ` Michael Albinus
2018-08-04 12:49         ` Michael Albinus
2018-08-04 15:00           ` Eli Zaretskii
2018-08-04 15:12             ` Michael Albinus
2018-08-04 15:43               ` Eli Zaretskii
2018-08-04 15:58                 ` Michael Albinus
2018-08-04 16:11                   ` Eli Zaretskii
2018-08-04 16:18                     ` Michael Albinus
2018-08-04 16:58                       ` Eli Zaretskii
2018-08-04 17:29                         ` Michael Albinus
2018-08-04 18:34                           ` Eli Zaretskii
2018-08-05  9:51                             ` Michael Albinus
2018-08-05 15:06                               ` Eli Zaretskii
2018-08-06 10:54                                 ` Michael Albinus
2018-08-06 14:55                                   ` Drew Adams
2018-08-06 15:25                                     ` C-x & (was: Introducing thread-safe Tramp) Michael Albinus
2018-08-06 17:59                                       ` Drew Adams
2018-08-06 19:17                                         ` C-x & Michael Albinus
2018-08-06 20:57                                           ` Drew Adams
2018-08-06 23:16                                             ` Drew Adams
2018-08-07  7:05                                               ` Michael Albinus
2018-08-07  7:01                                             ` Michael Albinus

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.