[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: understanding fill-region, paragraph-separate, and paragraph-start
From: |
Eric Abrahamsen |
Subject: |
Re: understanding fill-region, paragraph-separate, and paragraph-start |
Date: |
Thu, 13 Dec 2018 13:48:18 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I haven't been able to get this right. I think the regexp I want is
>> "[^:]+: ",
>
> That looks right for paragraph-start, except you want to stay within a line:
>
> "[^:\n]+: "
>
> You probably want it to be even more restrictive, as in
>
> "[ \t]*[[:alpha:]]+: "
That got me to the point where my experiments started to make sense,
thank you! I am currently fooling around with fill-prefix vs
adaptive-fill-regexp, and will probably still end up with some amount of
manual man-handling, but this should end up significantly cleaner.
Thanks,
Eric
- understanding fill-region, paragraph-separate, and paragraph-start, Eric Abrahamsen, 2018/12/11
- Re: understanding fill-region, paragraph-separate, and paragraph-start, Stefan Monnier, 2018/12/11
- Re: understanding fill-region, paragraph-separate, and paragraph-start,
Eric Abrahamsen <=