bug-auctex
[Top][All Lists]
Advanced

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

bug#21483: 2015-09-05; keybinding problem: global-binding overrides loca


From: Tassilo Horn
Subject: bug#21483: 2015-09-05; keybinding problem: global-binding overrides local-binding?
Date: Tue, 15 Sep 2015 14:32:27 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

> This is my setting:
>
> (add-hook 'LaTeX-mode-hook 'my-latex-mode-key)
>
> (defun my-latex-mode-key () 
>   "Setting of the following keys"
>   (interactive)
>   (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
> instead.
>
> I have to evaluate the function my-latex-mode-key and then switch
> latex mode off and on. Very annoying.

It works for me.  Either you are running a buggy emacs version or
there's some problematic configuration of yours.  Do you have a minimal
recipe for reproduction?

Bye,
Tassilo





reply via email to

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