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

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

Re: Filling paragraph with character leading each line


From: Emanuel Berg
Subject: Re: Filling paragraph with character leading each line
Date: Thu, 11 Sep 2014 01:19:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Haines Brown <address@hidden> writes:

> 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 %.

I don't understand - can you give a hands-on example
for me (us) to try? Like provide the piece of code or
documentation that you cannot comment/fill they way you
want it?

You probably know of comment-dwim which is M-; (because
";" is the comment delimiter for Lisp) - you can use
mark-paragraph (`M-h') or some other way to indicate
what should be commented. Then just hit `M-;' - and
filling with M-q preserves the comment.

What I can see it works great. (?)

-- 
underground experts united


reply via email to

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