emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] orgtbl send and auto-capitalize-mode, cursor jumps


From: Uwe Brauer
Subject: Re: [O] orgtbl send and auto-capitalize-mode, cursor jumps
Date: Sat, 10 Dec 2011 17:51:47 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) XEmacs/21.5-b29 (linux)

>> On Sat, 10 Dec 2011 16:00:19 +0100, Carsten Dominik <address@hidden> wrote:

   > Hi Uwe,
   > I am not able to reproduce this.

   > - Carsten

It seems a special configuration of auto-capitalize-mode
with respect to texmathp.

(autoload 'auto-capitalize-mode "auto-capitalize"
  "Toggle auto-capitalize minor mode in this buffer." t)
(autoload 'turn-on-auto-capitalize-mode "auto-capitalize"
  "Turn on auto-capitalize minor mode in this buffer." t)

(add-hook 'LaTeX-mode-hook 'turn-on-auto-capitalize-mode)
(add-hook 'TeX-mode-hook 'turn-on-auto-capitalize-mode) 
;; for auto-cap with LaTeX
(add-hook 'LaTeX-mode-hook
      (lambda ()
        (set (make-local-variable 'auto-capitalize-predicate)
             (lambda () (not (texmathp))))))





reply via email to

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