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

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

[h-e-w] Re: finding a specific key assignment


From: Raymond Zeitler
Subject: [h-e-w] Re: finding a specific key assignment
Date: Mon, 24 Sep 2001 13:08:36 -0400

Maybe this newsgroup article might help?

From: Eli Zaretskii 
Newsgroups: gnu.emacs.help
Subject: Re: Are there keybinding pointers?
Date: Sun, 12 Aug 2001 08:04:16 +0300
Lines: 18
Message-ID: < address@hidden >
References: < address@hidden >

Glen Coates wrote:
> 
> Is there any way to make emacs treat one key as if it is another?  What I
> want to do is make RET behave exactly like C-j ... I have put
> 
> (global-set-key (kbd "RET") 'newline-and-indent)
> 
> Which works fine for CCMode ... but isn't good for bash/perl modes ...

It isn't?  The above is a global key binding, so it should have worked in
all modes.

> how can I make emacs treat every RET keystroke as if it is a C-j
> keystroke, so that auto-indenting works for every language mode?

(keyboard-translate ?\C-m ?\C-j)

(This is in the manual, btw; see the node "Keyboard Translations".



From: "Jeff Rancier" <address@hidden>
To: "Ntemacs \(E-mail\)" <address@hidden>
Date: Mon, 24 Sep 2001 10:25:35 -0400
Subject: [h-e-w] finding a specific key assignment

Hello,

If I strike the key F10, I the menu bar is activated.  If I type C-h k f10,
I get the following info:


f10 runs the command #[nil "\300\301!\207" [w32-send-sys-command 61696] 2
nil nil]
   which is an interactive compiled Lisp function.
(anonymous)
not documented

I want to reassign this key but can't find any occurences of *f10* in my
.emacs, nor my site-lisp directory.

Can anyone point me to where this is defined?  Is this a default behaviour?

Thanks,
Jeff



reply via email to

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