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

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

Re: a question about keymaps


From: nusret
Subject: Re: a question about keymaps
Date: Sat, 30 Jun 2007 16:25:12 -0700 (PDT)

--- Peter Dyballa <Peter_Dyballa@Web.DE> wrote:

> 
> Am 30.06.2007 um 23:38 schrieb nusret:
> 
> > QUESTION: How can I correct the first form so that
> it
> > does what I expect? Also, what causes this
> behavior?
> 
> You need to bind a key to a function. [C-mouse-1] is
> no function.
> 
> Typing C-h k and then pressing C-mouse-1 you get the
> function bound  
> to the left-most mouse key(mouse-buffer-menu) . Then
> bind it to S-C- 
> mouse-3!

Peter,
Thank you for the suggestion.
The reason I tried what i tried is the following:
(define-key function-key-map [(control tab)] [?\M-\t])
This one works and binds "\C-\t" to the action of the
key [?\M-\t]. Yet the other one doesn't work. there
should be a reason for this, but I'm not sure what.
What could be the difference?

As to your suggestion, I tried it upon your
suggestion. But it gives the error: "Function  returns
invalid key sequence" Apparently the function
"mouse-buffer-menu" requires an argument and probably
this causes the problem?? Just a guess... Any
suggestions?
thank you again,

Nusret


       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC




reply via email to

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