2011/11/13 Nicolas Goaziou <n.goaz...@gmail.com>: >>> I've slightly modified your patch to repair that. Could you test it and >>> report back the result? >> >> From what i can tell it works flawlessly.
I'm sorry, but I just caught a flaw. I actually remember it being the reason why I chose to test if the point is inside a latex fragment, which then broke cdlatex' environment completion outside of fragments. If the point is at the beginning of a headline cdlatex-tab advances to the next word rather than leaving it alone. [TAB]* foo bar bazz Some test * [CURSOR]foo bar bazz Some test * [TAB]foo bar bazz Some test * foo bar bazz... Regards, Maik