GNU bug report logs - #35055
27.0.50; async-shell-command truncates output lines

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Sat, 30 Mar 2019 22:18:02 UTC

Severity: minor

Found in version 27.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Juri Linkov <juri <at> linkov.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#35055: closed (27.0.50; async-shell-command truncates output
 lines)
Date: Sun, 05 May 2019 19:29:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 05 May 2019 22:27:56 +0300
with message-id <874l68wvk3.fsf <at> mail.linkov.net>
and subject line Re: bug#35055: 27.0.50; async-shell-command truncates output lines
has caused the debbugs.gnu.org bug report #35055,
regarding 27.0.50; async-shell-command truncates output lines
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
35055: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35055
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Juri Linkov <juri <at> linkov.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; async-shell-command truncates output lines
Date: Sat, 30 Mar 2019 23:55:56 +0200
Test case:

1. Open a wide frame and type:

2. `M-& ps aux RET'

3. observe that output lines are truncated at column 80

Another example: `M-& dpkg -l '*emacs*' RET', then try to copy
full package names from the *Async Shell Command* buffer.
Nope, it's impossible because they are truncated.

OTOH, there is no such problem with `M-! ps aux RET'
where lines are not truncated at all.

So the question is: why `M-&' (async-shell-command) limits COLUMNS to 80,
even on wide frames, whereas `M-!' (shell-command) has no limitation.

A third case is `M-x shell' that limits COLUMNS to window-width,
but at least it makes possible to change the window width (e.g.
to make it wider) to influence the number of output columns.


[Message part 3 (message/rfc822, inline)]
From: Juri Linkov <juri <at> linkov.net>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 35055-done <at> debbugs.gnu.org
Subject: Re: bug#35055: 27.0.50; async-shell-command truncates output lines
Date: Sun, 05 May 2019 22:27:56 +0300
>> I hope now it's right:
>
> Yes, please push.

Pushed to master and closed.

> I will add some few words to tramp.texi what to do in the synchronous case.

I renamed it in tramp.texi as well.


This bug report was last modified 6 years and 79 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.