auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] how to disable indentation for tabular-like environment


From: Denis Bitouzé
Subject: Re: [AUCTeX] how to disable indentation for tabular-like environment
Date: Fri, 16 Dec 2016 15:17:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Le 16/12/16 à 15h09, Mosè Giordano a écrit :

>> Regexp? Sigh... why life is to complicated?! ;)
>
> I don't know why it was conceived as a regexp rather than as a list of
> environment names (a regexp can be then built automatically).

Good news! :)

>> Anyway, I couldn't find any reference concerning
>> `LaTeX-document-regexp'. Any pointer?
>
> There are a number of AUCTeX's features hidden in the source code,
> this increases the pleasure of discovering new features every day ;-)

I don't like speleology 'cause I'm claustrophobic :)

> Jokes apart,
>
>     (setq LaTeX-document-regexp "document\\|foo")
>
> and you're done.

Indeed, thanks!

But what's the point with `\\|foo'? AFAICS:

  ┌────
  │ (setq LaTeX-document-regexp "myenv")
  └────

does the trick as well.
-- 
Denis



reply via email to

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