On Mon, 16 May 2005 11:49:52 -0400, Stefan Monnier <[EMAIL PROTECTED]> wrote:
>
> Although "ESC a" is equivalent to "M-a", this is not true of function keys
> like "left" where "M-left" is not the same as "ESC left".
That is true only if you don't set `meta-prefix-char' to another value.
I set it
Try first 'M-x global-set-key global-set-key' and then do M-x
repeat-complex-command.
Thanks! I have managed to get the key bound. That had been annoying me for
ages.
In case anybody else has the same problem, it was:
(global-set-key (quote [27 left]) 'beginning-of-line)
I cannot bind [
Am 16.05.2005 um 03:01 schrieb Ian Crowther:
I cannot bind [(alt v)]
I think this works when you change the cmd and option keys. Then
alt/option does not select from the keyboard another layer of
characters but works as the Meta key. Cmd is then the alt modifier.
(setq mac-command-key-is-meta ni
> I'm trying to make emacs bind "M-arrow" to things.
> I know other applications can use the key combination in the same
> environment (on the console, using putty and screen) and it seems emacs
> itself can handle it; when I go "C-h c M-left" it says "ESC is
> undefined"
Although "ESC a" is equi
Am 15.05.2005 um 01:51 schrieb Ian Crowther:
it does exactly what I expect. I press left and it goes to the line
start. The following still don't work:
(global-set-key [M-left] 'beginning-of-line)
(global-set-key [A-left] 'beginning-of-line)
Try first 'M-x global-set-key global-s
Just use a name of a function instead of the string. For example:
(global-set-key [M-left] 'beginning-of-line)
(The way you used global-set-key is meant for macros: the thing inside
quotes should be a sequence of one or more keys, it cannot be an
arbitrary string, and it certainly isn't displa
Am 14.05.2005 um 01:27 schrieb Ian Crowther:
And because I don't know what they do, I tried the following
combinations also:
(global-set-key [H-left] "H-left was pressed")
(global-set-key [s-left] "s-left was pressed")
For these to work you need to have the Hyper and super modifiers
defined --
> From: "Ian Crowther" <[EMAIL PROTECTED]>
> Bcc:
> Date: Sat, 14 May 2005 00:27:27 +0100
>
> I can evaluate "(global-set-key [left] "left was pressed")" and get "left
> was pressed" inserted into the buffer when I press left. All I now need to
> do is try to figure out how to use the alt key o