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:47:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

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

> 2016-12-16 15:34 GMT+01:00 Denis Bitouzé <address@hidden>:
>> I see. So you meant `myenv' instead of `foo', don't you?
>
> Yes, I didn't look back to the name of the environment ;-)

Hence my puzzlement :)

>> Anyway, regarding your explanation, I couldn't see the point with the
>> `\' before `\|myenv' in:
>>
>>   ┌────
>>   │ (setq LaTeX-document-regexp "document\\|myenv")
>>   └────
>
> The plain regexp would actually be
>
>     document\|myenv
>
> but in Lisp code you have to escape the backslash, so you should use
>
>     document\\|myenv
>
> See https://www.emacswiki.org/emacs/RegularExpression#RegexpsInEmacs

OK, thanks!
-- 
Denis



reply via email to

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