auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Forcing indentation in math environments


From: Julien Cubizolles
Subject: Re: [AUCTeX] Forcing indentation in math environments
Date: Fri, 20 Feb 2015 15:55:39 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Julien Cubizolles <address@hidden> writes:


> The thing is I'm not sure why it's working :-) since strange things also
> happen:
>
> * If yas-minor-mode is on, the point is at the beginning of the text
>   after using TAB, which is what I want; it's at the beginning of the
>   line if yas is not on. I could choose something else than TAB for
>   yas-expansion but this side-effect is actually what I prefer
>
> * I don't see why the (cond ...) is needed but it is: C-u TAB behaves
>   the same as TAB otherwise, as if I used indent-relative instead of my
>   custom function.
>
> * If I try to add (delete-horizontal-space) (commented out for now), TAB
>   acts as C-u TAB.

I just noticed that I get a "Marker does not point anywhere" when I tun
TAB or C-u TAB.




reply via email to

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