From: Michael Albinus <michael.albinus@gmx.de>
To: Juri Linkov <juri@linkov.net>
Cc: 35055@debbugs.gnu.org
Subject: bug#35055: 27.0.50; async-shell-command truncates output lines
Date: Fri, 19 Apr 2019 09:21:01 +0200 [thread overview]
Message-ID: <87lg06mpeq.fsf@gmx.de> (raw)
In-Reply-To: <8736mfjatu.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 18 Apr 2019 23:51:57 +0300")
Juri Linkov <juri@linkov.net> writes:
Hi Juri,
>> If somebody needs it for a remote `shell-command', there's still the
>> option to set COLUMNS in `tramp-remote-process-environment' yourself.
>
> Or maybe better to add another option `tramp-remote-process-width'?
No. Tramp is a library, it shouldn't care who's calling it. If I would
start to add package-specific customisation, other packages could
request the same.
And `tramp-remote-process-width' would compete with `shell-command-width'.
> BTW, recently you added to the Tramp manual the example that I proposed:
>
> /ssh:user@host|sudo::/path/to/file
>
> But I discovered a warning against using "|sudo::" without the hostname:
>
> https://stackoverflow.com/questions/2177687/open-file-via-ssh-and-sudo-with-emacs
>
> "Important: be sure to specify the hostname explicitly:
> sudo:remotehost: rather than sudo::"
>
> Is this restriction still valid? Because when I used "|sudo::"
> without the hostname, it works fine.
Using the host name of the previous hop as default is a new feature in
Tramp 2.4 (Emacs 27). See etc/NEWS:
--8<---------------cut here---------------start------------->8---
*** For some connection methods, like "su" or "sudo", the host name in
ad-hoc multi-hop file names must match the previous hop. Default host
names are adjusted to the host name from the previous hop.
--8<---------------cut here---------------end--------------->8---
Best regards, Michael.
next prev parent reply other threads:[~2019-04-19 7:21 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-30 21:55 bug#35055: 27.0.50; async-shell-command truncates output lines Juri Linkov
2019-04-01 10:00 ` Michael Albinus
2019-04-01 20:44 ` Juri Linkov
2019-04-02 9:27 ` Michael Albinus
2019-04-03 20:36 ` Juri Linkov
2019-04-04 20:59 ` Juri Linkov
2019-04-05 12:35 ` Michael Albinus
2019-04-06 20:47 ` Juri Linkov
2019-04-07 7:32 ` Michael Albinus
2019-04-07 20:15 ` Juri Linkov
2019-04-08 7:39 ` Michael Albinus
2019-04-08 20:23 ` Juri Linkov
2019-04-13 10:45 ` Michael Albinus
2019-04-13 21:48 ` Juri Linkov
2019-04-14 17:55 ` Michael Albinus
2019-04-14 19:41 ` Juri Linkov
2019-04-15 7:47 ` Michael Albinus
2019-04-16 20:39 ` Juri Linkov
2019-04-17 7:22 ` Michael Albinus
2019-04-17 20:13 ` Juri Linkov
2019-04-18 7:40 ` Michael Albinus
2019-04-18 20:51 ` Juri Linkov
2019-04-19 7:21 ` Michael Albinus [this message]
2019-04-30 21:17 ` Michael Albinus
2019-05-01 21:07 ` Juri Linkov
2019-05-02 9:02 ` Michael Albinus
2019-05-02 20:57 ` Juri Linkov
2019-05-03 7:20 ` Michael Albinus
2019-05-05 19:27 ` Juri Linkov
2019-05-06 9:28 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lg06mpeq.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=35055@debbugs.gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.