[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two column editing
From: |
Jean-Christophe Helary |
Subject: |
Re: Two column editing |
Date: |
Tue, 5 May 2020 18:53:25 +0900 |
> On May 5, 2020, at 18:48, Noam Postavsky <address@hidden> wrote:
>
> On Tue, 5 May 2020 at 00:46, Jean-Christophe Helary
> <address@hidden> wrote:
>
>> On the user list, Emanuel Berg suggested that I look at the code to find
>> examples.
>
> There's a minimal (one line) example in the docstring of 2C-split:
>
> First column’s text sSs Second column’s text
> \___/\
> / \
> 5 character Separator You type M-5 C-x 6 s with the point here.
>
>
>> First question: what am I missing ?
>
> I think you're missing the prefix argument.
Yes, but, the manual says:
"F2 s or C-x 6 s looks for a column separator, which is a string that appears
on each line between the two columns. You can specify the width of the
separator with a numeric argument to F2 s; that many characters, before point,
constitute the separator string. By default, the width is 1, so the column
separator is the character before point."
So if the default is 1 my 1 character wide TAB should do the trick, shouldn't
it ?
Just out or curiosity I tried M-1 C-x 6 s and the same thing happened.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune