all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Keyboard mappings
@ 2009-05-10  1:28 luca.pamparana
  2009-05-10  2:21 ` luca.pamparana
  0 siblings, 1 reply; 3+ messages in thread
From: luca.pamparana @ 2009-05-10  1:28 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

Sorry for the noob question...

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.

Thanks,

Luca


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keyboard mappings
  2009-05-10  1:28 Keyboard mappings luca.pamparana
@ 2009-05-10  2:21 ` luca.pamparana
  2009-05-10  9:42   ` Tassilo Horn
  0 siblings, 1 reply; 3+ messages in thread
From: luca.pamparana @ 2009-05-10  2:21 UTC (permalink / raw)
  To: help-gnu-emacs

On May 10, 3:28 am, luca.pampar...@gmail.com wrote:
> Hello,
>
> Sorry for the noob question...
>
> 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.
>
> Thanks,
>
> Luca

ok, I figured it out. \C-c stands for control c


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keyboard mappings
  2009-05-10  2:21 ` luca.pamparana
@ 2009-05-10  9:42   ` Tassilo Horn
  0 siblings, 0 replies; 3+ messages in thread
From: Tassilo Horn @ 2009-05-10  9:42 UTC (permalink / raw)
  To: help-gnu-emacs

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-10  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-10  1:28 Keyboard mappings luca.pamparana
2009-05-10  2:21 ` luca.pamparana
2009-05-10  9:42   ` Tassilo Horn

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.