unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Two column editing
Date: Tue, 5 May 2020 18:53:25 +0900	[thread overview]
Message-ID: <9A061F31-38AE-4635-8F6A-B218B37A9F1F@traduction-libre.org> (raw)
In-Reply-To: <CAM-tV-_32G846b2FSrmsEfw-mw1Dt1BWprC5OCwrsCV6w_+iRA@mail.gmail.com>



> On May 5, 2020, at 18:48, Noam Postavsky <npostavs@gmail.com> wrote:
> 
> On Tue, 5 May 2020 at 00:46, Jean-Christophe Helary
> <jean.christophe.helary@traduction-libre.org> 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





  reply	other threads:[~2020-05-05  9:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05  4:46 Two column editing Jean-Christophe Helary
2020-05-05  9:48 ` Noam Postavsky
2020-05-05  9:53   ` Jean-Christophe Helary [this message]
2020-05-05 10:13     ` Noam Postavsky
2020-05-05 10:28       ` Jean-Christophe Helary
2020-05-05 10:42         ` Noam Postavsky
2020-05-05 13:00           ` Jean-Christophe Helary

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=9A061F31-38AE-4635-8F6A-B218B37A9F1F@traduction-libre.org \
    --to=jean.christophe.helary@traduction-libre.org \
    --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).