From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] shell-command and whitespace Date: Wed, 18 Feb 2015 09:45:34 +0100 Organization: Linux Private Site Message-ID: <87oaor1uc1.fsf@Rainer.invalid> References: <54C5905C.2030501@dancol.org> <87a9166omf.fsf@Rainer.invalid> <54E263E0.403@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424249174 16483 80.91.229.3 (18 Feb 2015 08:46:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2015 08:46:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 18 09:45:59 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YO0Gc-0003zP-Mw for ged-emacs-devel@m.gmane.org; Wed, 18 Feb 2015 09:45:58 +0100 Original-Received: from localhost ([::1]:49362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO0Gb-0007sP-T3 for ged-emacs-devel@m.gmane.org; Wed, 18 Feb 2015 03:45:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO0GP-0007sJ-Ka for emacs-devel@gnu.org; Wed, 18 Feb 2015 03:45:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YO0GL-0001Io-Gy for emacs-devel@gnu.org; Wed, 18 Feb 2015 03:45:45 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:60265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO0GL-0001IS-6f for emacs-devel@gnu.org; Wed, 18 Feb 2015 03:45:41 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YO0GK-0003t1-33 for emacs-devel@gnu.org; Wed, 18 Feb 2015 09:45:40 +0100 Original-Received: from p4ff1d325.dip0.t-ipconnect.de ([79.241.211.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Feb 2015 09:45:40 +0100 Original-Received: from Stromeko by p4ff1d325.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Feb 2015 09:45:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4ff1d325.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:HUFlltrg4cxb0iF2+9IcVwCFzsE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183236 Archived-At: Daniel Colascione writes: >>> How about this patch, which makes shell-command strip whitespace by >>> default when called interactively? >> >> How about you keep the behaviour as is and have double prefix strip the >> whitespace instead? > > Most of the time, I want to strip whitespace, and whitespace stripping > is how $() works in the shell. That may well be, but I mostly don't want this command to strip whitespace as has been the default for many years. So instead of redefining what it does I again suggest you add that functionality. >From a usability point of view double prefix is almost as good as a single prefix and you're free to provide customization to reverse the meaning of the two. But please keep the default what it was. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada