[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Introducing thread-safe Tramp
From: |
Michael Albinus |
Subject: |
Re: Introducing thread-safe Tramp |
Date: |
Tue, 07 Aug 2018 16:20:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Filipp Gunbin <address@hidden> writes:
Hi Filipp,
Thanks for your comments!
> files.texi:
>
> +If this option is @code{nil} (the default), visiting a file is
> +performed synchronously. A regexp value let files, which name matches
> ^^^
> lets
Fixed.
> NEWS:
>
> +If the new user option 'execute-file-commands-asynchronously' has a
> +proper non-nil value, interactive file visiting commands load the file
> +asynchronously into the respective buffer. I.e., Emacs is still
>
> It'd be useful to elaborate a bit on what is 'proper'. The case of
> regexp value is particularly important for users to know, I think. This
> is present in variable docstring, yes, but not here.
Adapted.
> lisp/simple.el:
>
> +(defvar universal-async-argument nil
> + "Non-nil indicates a command to run asynchronously when called
> interactively.
> ^^^^^^^^^^^^
> that a command should?
Not "should". It is just a hint that a user wishes the next command to
run asynchronously. This could be prefixed for *every* command; whether
that command cares about the indication is up to the command itself.
If you mean just better English - OK. But the first sentence of a
docstring must fit into one line.
> +(defun universal-async-argument ()
> + "Execute an interactive command asynchronously."
> [..]
> + (when (memq cmd '(universal-argument digit-argument))
> + (call-interactively cmd)
>
> What about negative-argument?
Good point. Fixed.
> Filipp
Best regards, Michael.
- RE: C-x & (was: Introducing thread-safe Tramp), (continued)
- 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
- Re: Introducing thread-safe Tramp, Eli Zaretskii, 2018/08/06
- C-x & (was: Introducing thread-safe Tramp), Michael Albinus, 2018/08/06
- Re: Introducing thread-safe Tramp, Filipp Gunbin, 2018/08/06
- Re: Introducing thread-safe Tramp,
Michael Albinus <=
- Re: Introducing thread-safe Tramp, Stephen Berman, 2018/08/07
- Re: Introducing thread-safe Tramp, Robert Pluim, 2018/08/07
- Re: Introducing thread-safe Tramp, Stephen Berman, 2018/08/07
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/07
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/07
- RE: Introducing thread-safe Tramp, Drew Adams, 2018/08/07
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/07
- RE: Introducing thread-safe Tramp, Drew Adams, 2018/08/07
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/07
- Re: Introducing thread-safe Tramp, Michael Albinus, 2018/08/07