help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multi-line paragraph separator


From: Daniel Jensen
Subject: Re: multi-line paragraph separator
Date: Sat, 08 Sep 2007 13:08:48 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Mirko <mvukovic@nycap.rr.com> writes:

> I tried by redefining the paragraph-start and paragraph-separate as
>   (make-local-variable 'paragraph-start)
>   (setq paragraph-start "\\f\\f|    ")
>   (make-local-variable 'paragraph-separate)
>   (setq paragraph-separate "\\f$\\f$")
> but that did not work.

Those are not well-formed regular expressions. For example, \f is not a
special construct, it's the same as f. You probably meant to write
"\f\f", but they are two formfeed characters, not newlines. You can use
"\n\n" to match two newline characters. I hope this helps.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]