[Top][All Lists]

[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: Sun, 14 Apr 2019 00:48:52 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> +(defcustom async-shell-command-width nil
>> +  "Number of columns available for shell command.
>> +If nil, use the shell default number (usually 80).
>> +If a positive integer, use a fixed width."
>> +  :type '(choice (const :tag "Use system limit" nil)
>> +                 (integer :tag "Fixed width" :value 80))
>> +  :group 'shell
>> +  :version "27.1")
>> +
> What about calling this just `shell-command-width'? It wouldn't hurt for
> synchronous shell commands, and I could adapt
> `tramp-remote-process-environment' accordingly if set. Might be more
> convenient for users.

Yes, this is a more general name.  I pushed to master.

BTW, I had a hard time finding the info about one of the most demanding
Tramp features - an ability to edit files with sudo on a remote server.

I searched for "ssh+sudo" by analogy with the git+ssh:// scheme,
but failed to find anything related among all documented methods in
the Tramp manual, even when searched separately for "ssh" and "sudo".
Eventually I found it in an unexpected chapter "Ad-hoc multi-hops"
that allows to do: C-x C-f /ssh:address@hidden|sudo::/path <RET>

Would it be possible to make this feature more prominent?

reply via email to

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