[Top][All Lists]

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

[AUCTeX-devel] serious keybinding problem

From: Uwe Brauer
Subject: [AUCTeX-devel] serious keybinding problem
Date: Tue, 15 Sep 2015 12:34:18 +0200
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux)


I am currently facing two problems:

    - I always thought that local-key-binding via hook replaces the
      global-key-binding (at least so it is in Xemacs) now in GNU Emacs I have 
      set (global-set-key "\C-cr" 'ispell-region)
      (setq reftex-extra-bindings t)
      which according to the documentation should bind
      \C-cr to reftex-reference etc. It dos not 

    -  But I also have set

(add-hook 'LaTeX-mode-hook 'my-latex-mode-key)

(defun my-latex-mode-key () 
  "Setting of the following keys"
  (local-set-key [(control right)] 'my-turn-bidi-on)
  (local-set-key [(control left)] 'my-turn-bidi-off)
  (local-set-key [(f31)]   'TeX-fold-buffer)
  (local-set-key [(f30)]   'TeX-fold-clearout-buffer)
  (local-set-key [(control f30)] 'preview-clearout-buffer))

However this binding is ignored, the global-key-binding is taken

I have to evaluate the function my-latex-mode-key and then switch latex
mode off and on. Very annoying.

Uwe Brauer 

reply via email to

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