bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35055: 27.0.50; async-shell-command truncates output lines


From: Juri Linkov
Subject: bug#35055: 27.0.50; async-shell-command truncates output lines
Date: Thu, 18 Apr 2019 23:51:57 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> There is no need for the new option to be consistent across
>> both synchronous and async/remote operations.
>
> Call it `async-shell-command-width', that's it. Nobody has asked for the
> synchronous case.

Yes, this is a safer option.

> 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'?

BTW, recently you added to the Tramp manual the example that I proposed:

  /ssh:address@hidden|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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]