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

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

Re: Key bindings


From: SteveFKI
Subject: Re: Key bindings
Date: Thu, 29 Mar 2007 14:02:41 -0700 (PDT)

Malte,

This is indeed right, but I cannot explain how/why my home key is mapped to
find. It's fixed now, and works.

Thanks

Steve


Malte Spiess-3 wrote:
> 
> SteveFKI <address@hidden> writes:
> 
>> Tassilo Horn-3 wrote:
> 
>>> Use `C-h k' to get the binding string and use that with the `kbd'-macro.
>>> 
>>> ,----[ C-h k <home> ]
>>> | <home> runs the command move-beginning-of-line
>>> [...]
>>> `----
>>> 
>>> ,----[ C-h k <C-home> ]
>>> | <C-home> runs the command beginning-of-buffer
>>> [...]
>>> `----
>>> 
>>> You see, emacs 22 already has the bindings you want. :-)
>>> 
>>> Nevertheless, if you would want to rebind them, you would do
>>> 
>>>   (global-set-key (kbd "<C-home>") 'some-function)
>>> 
>>> Bye,
>>> Tassilo
>>> -- 
>>> A child of five could understand this! Fetch me a child of five!
>>> _______________________________________________
>>> help-gnu-emacs mailing list
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>>> 
>>> 
>>
>> I tried this, and I get the same problem. However, when I type C-h k
>> <home>,
>> it emacs tells me that
>>
>> "<find> runs the command search-forward
>>  (search-forward STRING &optional BOUND NOERROR COUNT)
>>       which is an interactive built-in function.
>>
>> Sounds like I am trying to override a function, which cannot be
>> overriden.
>>
>> By the way I am using emacs  version 21.3.1, and not in aposition to
>> upgrade.
> 
> Okay, I would recommend it, too!
> 
>> Any more ideas?
> 
> Yes, it seems like the key you pressed is not recognised as <home>, but
> as <find>. So you probably should write
> (global-set-key (kbd "<C-find>") 'some-function)
> instead. Very strange keyboard setup btw.
> 
> Greetings
> 
> Malte
> _______________________________________________
> help-gnu-emacs mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Key-bindings-tf3485502.html#a9742624
Sent from the Emacs - Help mailing list archive at Nabble.com.





reply via email to

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