From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#35055: 27.0.50; async-shell-command truncates output lines Date: Sun, 14 Apr 2019 19:55:25 +0200 Message-ID: <87a7gszd2q.fsf@gmx.de> References: <87tvfkuivn.fsf@mail.linkov.net> <875zrym4eo.fsf@gmx.de> <877ecd797c.fsf@mail.linkov.net> <87y34s21vp.fsf@gmx.de> <87zhp6vmu5.fsf@mail.linkov.net> <87r2ah32rr.fsf@mail.linkov.net> <878swopr3p.fsf@gmx.de> <87y34mc13t.fsf@mail.linkov.net> <874l7ajmnx.fsf@gmx.de> <87lg0l1syw.fsf@mail.linkov.net> <87v9zpgd3t.fsf@gmx.de> <87mul0tfe5.fsf@mail.linkov.net> <87v9zib2vd.fsf@gmx.de> <877ebxa857.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="260654"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35055@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 14 20:13:01 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFjcj-0015eG-2G for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Apr 2019 20:13:01 +0200 Original-Received: from localhost ([127.0.0.1]:38594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFjch-0007pQ-Vb for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Apr 2019 14:13:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFjac-0005GC-Qs for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2019 14:10:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFjML-0007GQ-J9 for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2019 13:56:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFjMH-0007Ce-Np for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2019 13:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hFjMH-0006oj-Jy for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2019 13:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Apr 2019 17:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35055 X-GNU-PR-Package: emacs Original-Received: via spool by 35055-submit@debbugs.gnu.org id=B35055.155526453926175 (code B ref 35055); Sun, 14 Apr 2019 17:56:01 +0000 Original-Received: (at 35055) by debbugs.gnu.org; 14 Apr 2019 17:55:39 +0000 Original-Received: from localhost ([127.0.0.1]:33138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFjLu-0006o7-LQ for submit@debbugs.gnu.org; Sun, 14 Apr 2019 13:55:38 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:35809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFjLt-0006nv-4J for 35055@debbugs.gnu.org; Sun, 14 Apr 2019 13:55:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1555264527; bh=02QmdMIbYpWWppRIBKpIgGgYRsZnXtGowdTDmgC9/rQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=T0Y30k+zCN3NBJJCTYdRBPm3rzHIC3k35FpfysGOopZxIuO8+Rimdo3IoapGoWiPE Nu6otzVGn9gp3/Srp7bdWVQV+va+6frZJZGejlsg/lMkeJXaM8QMVivAWiRvOUmPmz Sahf8qkuD8AXq3ScgaS3vl6Zm6PLnVxaxjQMuM7I= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.86.57.74]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M1Ygz-1hH7K82sPr-0035ff; Sun, 14 Apr 2019 19:55:27 +0200 In-Reply-To: <877ebxa857.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 14 Apr 2019 00:48:52 +0300") X-Provags-ID: V03:K1:5tEa1as3fE5Cmuby1RMhf6VYhfRC9v/EqrAUZg/V++xy7zI90gL K/RVmU+0gmc5PBYkdZdELFNM7Nqse+EJgYcfI+5gP+tdN8jvpIBVTIZbEGWPnHNIDTgUPlh Tct9guWo1p6+htV5D5Ow2Ypspe2rIF6cMFGn0y2FZL3enstRcBUWPMu8UouUlVm4r6aiwbY gKQ2ZyWP4H/Pxz6/1hz0A== X-UI-Out-Filterresults: notjunk:1;V03:K0:6qnRo0WSUfs=:cy2ZuDVUhBgUKiYdzmNKlZ cOdrBp9OkqDTcg7VXcr73xeyElVzUQLtkhr4M7pFcorZV18FsB3Ro4B6X/D4AL+OhzDbZZkQQ 2DiNa2e12H4x0tzlKzc7RrflX5TyR8L3rd+o6xLAaHdhDRuzRCiRJ7Pb2OEdih86ra59YqibA FK/SC7HNpVD9kBuvfFAUFV210erl/lL4FxccE7LPwfWNBEVwBC0g+KHVwNkz6wtMh6tmgmNHI buECdjoJ50m2oF9bOnQ6KFq+8S3N5+kf1A8o0FjOW8Shn4Bcw6Bz0YTVvUUgnXAmBBc57f4mf CDM/CtN8xslaNfa1o8IKBbP3d83IslAAPccndZHI7ibcMfJ+UQq/xAyI5+Qg/2yNhHxlHG1aD IE/tPCbtZObhtjVWPAMT3HmnqPylEg2oRth0ovq8c98tpUSLEDdQig2+ZXRe1wdEd2QlZMuHv jpfT+48RQwguj9qalXtsNW5Cx/4SDIwzcZRPpmbzoWejf6uhRUY7UEXVIl1p+D0QPcRENVE4H XHVLoS/B1XWgK5or4sy9Dh0iG8mxA5eov0HnIqGohIepgHkoCs+4lz9m5y8loHTKuw47ZOi/5 Yg+AUvytNJfhOA0yKCqrOCj5FItOxqzkboyo9gCnO2pJ0VssVrn6c508mG/eXzto4eyU0Rf/c EfExFX4Gm96osKgtZoQb1ayLHv0zvzxXQ1zhiIdOeX4VKQy9DFIJXTJ1MwMzOvScVvD85K+Pn +EmkckXAbDJ6agrCXCN8iH/JvtZLcYmKqQRZGCbmYtDz4UyX2jwPx5SKSeto0rDAVkaDFirc X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157639 Archived-At: Juri Linkov writes: Hi Juri, >> 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. Thanks. However, I've meant this also for synchronous `shell-command'. You have implemented this only for asynchronous. The synchronous `shell-command' does not suffer from the buffer width restriction. But there might be use cases to set a fixed width, for example if you want to get a well-defined output layout. Would you also mind to document the new user option in the Emacs manual? > 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:user@host|sudo::/path Well, this is not a feature on this own. It is just an example how to apply ad-hoc multi-hops. That's why it is described in that section. > Would it be possible to make this feature more prominent? There is an introduction chapter "Quick Start Guide". I've added some words about ssh+sudo, and friends.