Sunday, June 14, 2015

Re: Formatting of lists and paragraphs containing numbers with fo+=n

On Sun, Jun 14, 2015 at 06:48:47PM +1000, Erik Christiansen wrote:
> Further, if we want to be 100% immune to list point mimicry due to
> unfortunate wrapping, then it is essential to choose a unique regex.
> That would seem to require choice of a unique suffix, since the rest
> is quite ordinary text.
>
> With '\.' susceptible, and ')' no safer, I'd look at some of these:
>
> 1] asdjk kjasldjlkjklj kljaslkdjakljsd lkjadslkjaskldjklaj ljlkj
>
> [...]
>
> If using utf-8, then an even safer option might be choosing a
> thoroughly weird character, like the fat little bullet symbol I've
> seen once or twice.

OK, thanks. Probably I will have to choose that method as the simplest
to implement. Luckily, most of the time I don't have to use explicit
numbering (e.g. with ReST).

If I have time I will look into the formatexpr (mentioned earlier) as
well.

--
Marcin Szewczyk http://wodny.org
mailto:Marcin.Szewczyk@wodny.borg <- remove b / usuĊ„ b
xmpp:wodny@ubuntu.pl xmpp:wodny@jabster.pl

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: