Re: [O] [BUG] turn-on-org-cdlatex

2012-08-20 Thread Dominik, Carsten
Updated, thanks. - Carsten On 3.8.2012, at 09:41, Bastien wrote: > Hi Rasmus, > > Rasmus writes: > >> It would seem there is a bug in turn-on-org-cdlatex whenever _ or ^ is >> called. And perhaps others. > > This is a problem in cdlatex.el. > > You need to replace `last-command-char' by `

Re: [O] [BUG] turn-on-org-cdlatex

2012-08-03 Thread Bastien
Hi Rasmus, Rasmus writes: > It would seem there is a bug in turn-on-org-cdlatex whenever _ or ^ is > called. And perhaps others. This is a problem in cdlatex.el. You need to replace `last-command-char' by `last-command-event'. I'm copying Carsten so that he can take the fix upstream. HTH,

[O] [BUG] turn-on-org-cdlatex

2012-08-02 Thread Rasmus
Hi, It would seem there is a bug in turn-on-org-cdlatex whenever _ or ^ is called. And perhaps others. To reproduce: bash> emacs -q In *scratch* #+begin_src emacs-lisp ;; adjust the two following lines to your system (load-file "/usr/share/emacs/site-lisp/auctex/texmathp.el") (load-file "~