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

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

Re: copy paragraph


From: Nikos Apostolakis
Subject: Re: copy paragraph
Date: Fri, 14 Apr 2006 20:05:48 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Nikos Apostolakis wrote:
>> Gary Wessle <not@defined.now> writes:
>>>I am trying to copy paragraph under point and by binding C-cp like this
>>>(global-set-key "\C-cp" "\M-A-{\C-@\M-A-}\M-w")
>>>not working, could some one check it.
>> 
>> With "global-set-key" you can bind *commands* to a key, not key
>> sequences.
>
> Of course, strings of keys and vectors of input events are
> commands as well.  The "Keys and Commands" node of the Emacs
> manual refers to the "What is a Function" node of the Emacs
> Lisp manual for the defnition of a command:
>

I'll be ... 

I don't know where I got this idea but before your message I was
sure that one could not use a sequence of keys as the second
argument to "global-set-key".  Actually I could swear that I read it
in the manual!

Sorry for the noise.
Nikos





reply via email to

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