auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] feature request/proposal LaTeX-indent-new-comment-lin


From: Ralf Angeli
Subject: Re: [AUCTeX-devel] feature request/proposal LaTeX-indent-new-comment-line
Date: Fri, 18 Jan 2008 19:15:29 +0100

* Uwe Brauer (2008-01-18) writes:

> Sometimes I find the following behavior useful when adding comments to
> text or formulas
>
>
> Some text which needs a comment         % here comes the comment
> in order to clarify 

If you use `comment-indent' on the first line this results in the
following text using Emacs 22:

Some text which needs a comment % here comes the comment
in order to clarify 

> now the function 
> indent-new-comment-line 
>
> Results in 
>
> Some text which needs a comment         % here comes the comment
> %
> in order to clarify 

In Emacs 22 this becomes

Some text which needs a comment % here comes the comment
                                % 
in order to clarify 

> But I would prefer 
>
> Some text which needs a comment         % here comes the comment
>                                         %
> in order to clarify 

Then this should be fixed in XEmacs.

> Alternatively the filling function would do that automatically.
>
> Some text which needs a comment         % here comes the comment which
> in order to clarify 
>
> Auto-filling gives 
>
> Some text which needs a comment         % here comes the comment
>                                         % which
> in order to clarify 
>
> Could such a functionality be added?

It's already there in Emacs 22.

-- 
Ralf




reply via email to

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