* Re: Binding key to command
2009-07-29 19:32 Binding key to command Rodolfo Medina
@ 2009-07-29 18:52 ` Tassilo Horn
2009-07-29 20:11 ` [solved] " Rodolfo Medina
0 siblings, 1 reply; 3+ messages in thread
From: Tassilo Horn @ 2009-07-29 18:52 UTC (permalink / raw)
To: help-gnu-emacs
Rodolfo Medina <rodolfo.medina@gmail.com> writes:
Hi Rodolfo,
> I wish to use the key combinations `C-,' and `C-;' for a certain
> command, but Emacs does not seem to accept the expression
>
> global-set-key "\C-,"
>
> What should I put instead of that in ~/.emacs?
(global-set-key (kbd "C-,") 'rodolfos-favourite-command)
Bye,
Tassilo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Binding key to command
@ 2009-07-29 19:32 Rodolfo Medina
2009-07-29 18:52 ` Tassilo Horn
0 siblings, 1 reply; 3+ messages in thread
From: Rodolfo Medina @ 2009-07-29 19:32 UTC (permalink / raw)
To: help-gnu-emacs
I wish to use the key combinations `C-,' and `C-;' for a certain command, but
Emacs does not seem to accept the expression
global-set-key "\C-,"
What should I put instead of that in ~/.emacs?
Thanks for any help
Rodolfo
^ permalink raw reply [flat|nested] 3+ messages in thread
* [solved] Re: Binding key to command
2009-07-29 18:52 ` Tassilo Horn
@ 2009-07-29 20:11 ` Rodolfo Medina
0 siblings, 0 replies; 3+ messages in thread
From: Rodolfo Medina @ 2009-07-29 20:11 UTC (permalink / raw)
To: help-gnu-emacs
Rodolfo Medina <rodolfo.medina@gmail.com> writes:
>> I wish to use the key combinations `C-,' and `C-;' for a certain
>> command, but Emacs does not seem to accept the expression
>>
>> global-set-key "\C-,"
>>
>> What should I put instead of that in ~/.emacs?
Tassilo Horn <tassilo@member.fsf.org> writes:
> (global-set-key (kbd "C-,") 'rodolfos-favourite-command)
Nathaniel Flath <flat0103@gmail.com> writes:
> Try (global-set-key (kbd "C-;) and (global-set-key (kbd "C-,")
Thanks! This seems to work fine
Rodolfo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-29 20:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-29 19:32 Binding key to command Rodolfo Medina
2009-07-29 18:52 ` Tassilo Horn
2009-07-29 20:11 ` [solved] " Rodolfo Medina
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.