[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] shell-command and whitespace
From: |
Achim Gratz |
Subject: |
Re: [PATCH] shell-command and whitespace |
Date: |
Mon, 26 Jan 2015 07:29:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Daniel Colascione writes:
> C-u M-! inserts the output of a shell command in the current buffer.
> That's great, but this output includes the terminating newline that
> almost all shell commands produce, and I almost never want that newline,
> or any other whitespace.
>
> 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?
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