[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Introducing thread-safe Tramp
From: |
Eli Zaretskii |
Subject: |
Re: Introducing thread-safe Tramp |
Date: |
Sun, 05 Aug 2018 18:06:49 +0300 |
> From: Michael Albinus <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> Date: Sun, 05 Aug 2018 11:51:34 +0200
>
> > But "C-x &" affects just the next command, so all you need is for it
> > to produce a boolean value, and have the next command work
> > asynchronously or not according to that value. Which probably means
> > "C-x &" should not bind find-file-asynchronously, but some other
> > variable, and that variable had better had a name that is not limited
> > to file operations, for us to be able to use it with other commands.
> > Because once we extend "C-x &" to non-file commands, it will not
> > "know" what command will be invoked after it, so it won't be able to
> > know it should bind find-file-asynchronously or something else. It
> > should therefore bind a variable which affects any command.
>
> Nobody hinders us to bind several variables in
> universal-async-argument.
If that produces expected results in practice, that'd be fine, yes.
> > For the variable which tailors find-file, save-buffer, etc., I agree
> > that it should not just say "find-file".
> > execute-file-commands-asynchronously sounds okay to me. But that's
> > just part of the broader issue of invoking commands asynchronously.
>
> I've changed it accordingly. Pushed to the feature/tramp-thread-safe
> branch, in order to have the same code basis we're speaking about.
Thanks.
- Re: Introducing thread-safe Tramp, (continued)
- Re: Introducing thread-safe Tramp, Eli Zaretskii, 2018/08/04
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/04
- Re: Introducing thread-safe Tramp, Eli Zaretskii, 2018/08/04
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/04
- Re: Introducing thread-safe Tramp, Eli Zaretskii, 2018/08/04
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/04
- Re: Introducing thread-safe Tramp, Eli Zaretskii, 2018/08/04
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/04
- Re: Introducing thread-safe Tramp, Eli Zaretskii, 2018/08/04
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/05
- Re: Introducing thread-safe Tramp,
Eli Zaretskii <=
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/06
- RE: Introducing thread-safe Tramp, Drew Adams, 2018/08/06
- C-x & (was: Introducing thread-safe Tramp), Michael Albinus, 2018/08/06
- RE: C-x & (was: Introducing thread-safe Tramp), Drew Adams, 2018/08/06
- Re: C-x &, Michael Albinus, 2018/08/06
- RE: C-x &, Drew Adams, 2018/08/06
- RE: C-x &, Drew Adams, 2018/08/06
- Re: C-x &, Michael Albinus, 2018/08/07
- Re: C-x &, Michael Albinus, 2018/08/07
- Re: Introducing thread-safe Tramp, Stefan Monnier, 2018/08/06