Re: [O] Bug: cdlatex-tab in math-env isn't considered when inside of a list item. [7.7 (release_7.7.513.g2a5877)]

2011-11-13 Thread Maik Beckmann
My bad, I wrote: > if the point is at the beginning of a headline cdlatex-tab advances to the > next word rather than leaving it alone. because I evidently didn't read your email closely enough 2011/11/13 Nicolas Goaziou : > ... (I had forgotten to take care of headlines case). Sorry for the

Re: [O] Bug: cdlatex-tab in math-env isn't considered when inside of a list item. [7.7 (release_7.7.513.g2a5877)]

2011-11-13 Thread Maik Beckmann
2011/11/13 Nicolas Goaziou : >>> 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 in

Re: [O] Bug: cdlatex-tab in math-env isn't considered when inside of a list item. [7.7 (release_7.7.513.g2a5877)]

2011-11-13 Thread Nicolas Goaziou
Maik Beckmann writes: >> 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've pushed a close patch into master (I had forgotten to take care of headlines case). Thank you for your work. Regards,

Re: [O] Bug: cdlatex-tab in math-env isn't considered when inside of a list item. [7.7 (release_7.7.513.g2a5877)]

2011-11-12 Thread Maik Beckmann
2011/11/12 Nicolas Goaziou : > Your patch prevents cdlatex expansion for LaTeX environments, since > point must be in a LaTeX fragment to trigger `cdlatex-tab'. That actually bit me yesterday :P > I've slightly modified your patch to repair that. Could you test it and > report back the result?

Re: [O] Bug: cdlatex-tab in math-env isn't considered when inside of a list item. [7.7 (release_7.7.513.g2a5877)]

2011-11-12 Thread Nicolas Goaziou
Hello, Maik Beckmann writes: > The attached patch what works for me. Your patch prevents cdlatex expansion for LaTeX environments, since point must be in a LaTeX fragment to trigger `cdlatex-tab'. I've slightly modified your patch to repair that. Could you test it and report back the result?

Re: [O] Bug: cdlatex-tab in math-env isn't considered when inside of a list item. [7.7 (release_7.7.513.g2a5877)]

2011-11-10 Thread Maik Beckmann
The attached patch what works for me. It is however the result of a short trail'n'error session, since I'm by no means an experienced lisp/elisp programmer. With the patch the behavior is slightly different than usual with lists. Before TAB cycles the list, the cursor jumps out of the Latex frag

[O] Bug: cdlatex-tab in math-env isn't considered when inside of a list item. [7.7 (release_7.7.513.g2a5877)]

2011-11-10 Thread Maik Beckmann
* The observed behavior Inside a list item cdlatex-tab isn't considered. An example: To circumvent emacs' fill-paragrah issue with \[ \] I prefer using a inline math environment in a single item list. Unfortunately cdlatex isn't considered when hitting TAB then - $y = a_0 + a_{1[TAB]}$