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

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

Re: Keyboard mappings


From: Tassilo Horn
Subject: Re: Keyboard mappings
Date: Sun, 10 May 2009 11:42:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)

luca.pamparana@gmail.com writes:

Hi Luca,

>> I see the following lines in this sample emacs file and I wonder what
>> that means:
>>
>> (local-set-key "\C-cj" 'fast-jump)
>>
>> What is the key combination required here to initiate the fast-jump
>> method. I am confused by the \C-parameter.
>
> ok, I figured it out. \C-c stands for control c

Instead of that syntax you can use the `kbd' macro:

  "\C-cj" ==> (kbd "C-c j")

The kbd macro accepts the key syntax that is used in the emacs docs and
which is also shown by the help commands like `describe-key'.

Bye,
Tassilo





reply via email to

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