|
From: | Jorge A. Alfaro-Murillo |
Subject: | Re: fill comma separated list |
Date: | Thu, 02 Jun 2016 12:41:11 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
papab writes:
I have a whole bunch of sequences of numbers, like this: 5.1816, -3.81, 4.8768, 5.1816, -4.4196, 4.8768, 6.4008, -4.4196, 5.48640, 6.4008, -3.81, 5.486400; I'd like to be able to make it look like this easily: 5.1816, -3.81, 4.8768, 5.1816, -4.4196, 4.8768, 6.4008, -4.4196, 5.486400, 6.4008, -3.81, 5.48640 3 numbers per row. Suggestions? Some variation of fill-paragraph?
Let's play emacs golf: (I assume no whitespace and cursor at the initial 5):
F3 C-e <space> C-d C-e <space> C-d C-e <backspace> C-n C-a F4 C-0 F4
14 key strokes. -- Jorge.
[Prev in Thread] | Current Thread | [Next in Thread] |