From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-devel@gnu.org
Subject: Re: [PATCH] shell-command and whitespace
Date: Wed, 18 Feb 2015 09:45:34 +0100 [thread overview]
Message-ID: <87oaor1uc1.fsf@Rainer.invalid> (raw)
In-Reply-To: 54E263E0.403@dancol.org
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
next prev parent reply other threads:[~2015-02-18 8:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-26 0:54 [PATCH] shell-command and whitespace Daniel Colascione
2015-01-26 6:29 ` Achim Gratz
2015-02-16 21:40 ` Daniel Colascione
2015-02-18 8:45 ` Achim Gratz [this message]
2015-02-18 17:04 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oaor1uc1.fsf@Rainer.invalid \
--to=stromeko@nexgo.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).