From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#22679: 25.0.91; ibuffer-do-shell-command-pipe truncate output Date: Sat, 20 Aug 2016 08:46:54 -0400 Message-ID: References: <7oa66k9es.fsf@fencepost.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1471697304 5535 195.159.176.226 (20 Aug 2016 12:48:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Aug 2016 12:48:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: 22679@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 20 14:48:20 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bb5hB-000119-VR for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Aug 2016 14:48:18 +0200 Original-Received: from localhost ([::1]:32957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb5h8-0003pc-Bq for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Aug 2016 08:48:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb5h2-0003pU-Nj for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 08:48:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bb5gw-0004aZ-Hl for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 08:48:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb5gw-0004aU-Dy for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 08:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bb5gw-0003DK-5z for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 08:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Aug 2016 12:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22679 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 22679-submit@debbugs.gnu.org id=B22679.147169722412284 (code B ref 22679); Sat, 20 Aug 2016 12:48:02 +0000 Original-Received: (at 22679) by debbugs.gnu.org; 20 Aug 2016 12:47:04 +0000 Original-Received: from localhost ([127.0.0.1]:34814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bb5g0-0003C4-BN for submit@debbugs.gnu.org; Sat, 20 Aug 2016 08:47:04 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:35633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bb5fy-0003Bw-UW for 22679@debbugs.gnu.org; Sat, 20 Aug 2016 08:47:03 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u7KClUxX005751; Sat, 20 Aug 2016 08:47:32 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 25D6BAE0EA; Sat, 20 Aug 2016 08:46:54 -0400 (EDT) In-Reply-To: (Tino Calancha's message of "Sat, 20 Aug 2016 19:28:13 +0900 (JST)") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5772=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5772> : inlines <5123> : streams <1687150> : uri <2270752> 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: 208.118.235.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:122423 Archived-At: > I have corrected the call to `call-process-region': now it uses > 'shell-file-name' as the executable. Thanks. Now that I looked at the rest of the patch I see that you use some kind of after/before hooks, so this approach doesn't really lend itself to extracting into a more generally useful function which could be used by shell-command (and others). Could you explain what made you use this approach, to see if there might be some way to solve the problem while still making the code more generally useful (and reduce redundancy rather than augment it)? Stefan