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

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

Filling paragraph with character leading each line


From: Haines Brown
Subject: Filling paragraph with character leading each line
Date: Wed, 10 Sep 2014 10:29:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

I gather that in C mode, when a comment paragraph is filled, a leading \
is automatically inserted at the beginning of each line. I need to do
something similar in text mode.

For example in a TeX document I might want to comment a paragraph (other
than by puting it in a begin{comment} environment) by starting each line
with a % character. So how can I refill the paragraph that has its first
few lines starting with % so that the % will appear at the start of all
its lines? At the present a refill keeps a % at the start of each line
where it already exists, but fails to extend the rule to the remaining
lines in the paragraph that lack a leading %.

Haines Brown


reply via email to

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