help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: C-j is not doing as it is being told


From: Matthew Calhoun
Subject: Re: C-j is not doing as it is being told
Date: Mon, 8 Mar 2004 10:37:29 -0800

I was being frustrated by a similar problem until I looked at the documentation for global-set-key. It mentions that "if KEY has a local binding in the current buffer, that local binding will continue to shadow any global binding that you make with this function." So I tried inserting a call to local-set-key in the hook of the appropriate mode. I can't say whether this is the "right" way to go about it, but it seems to work.

Matt

El Mar 5, 2004, a las 10:36 PM, help-gnu-emacs-request@gnu.org escribió:

Hi

I wanted to remap some key combinations, including C-j. I use
global-unset-key followed by global-set-key for each key combo and it
works fine most of the time apart from when emacs enters Latex-mode
where C-j reverts to its default behavoir and ignores my remapping.
Any suggestion what is causing this and what I can do to stop it?

Cheers,
kjitta




reply via email to

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