[Top][All Lists]

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

Re: [AUCTeX-devel] exclude begin{comment} (optionally) from LaTeX-fill-r

From: Uwe Brauer
Subject: Re: [AUCTeX-devel] exclude begin{comment} (optionally) from LaTeX-fill-region and friends
Date: Sat, 04 Jun 2016 12:36:11 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux)

Hi Mosè,

   > Hi Uwe,
   > 2016-06-04 10:40 GMT+02:00 Uwe Brauer <address@hidden>:

   > Yes, if you're fine with treating it like a verbatim environment: add
   > `comment' environment to `LaTeX-indent-environment-list' with
   > `current-indentation' as indentation rule:

   > (add-to-list 'LaTeX-indent-environment-list
   >              '("comment" current-indentation))

Thanks very much, 2 comments:

    -  I prefer to have that buffer local so

eval: (add-to-list  (make-local-variable 'LaTeX-indent-environment-list) 
'("comment" current-indentation))

    -  the documentation say of LaTeX-fill-environment should say
       something about that possibility. I could provide a trivial


reply via email to

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