From: Malte Spiess <i1tnews@arcor.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Key bindings
Date: Thu, 29 Mar 2007 22:16:37 +0200 [thread overview]
Message-ID: <871wj724be.fsf@trick.ulm.malte.spiess> (raw)
In-Reply-To: mailman.1576.1175174562.7795.help-gnu-emacs@gnu.org
SteveFKI <stephen.brown@eu.fkilogistex.com> 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
>> help-gnu-emacs@gnu.org
>> 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
next prev parent reply other threads:[~2007-03-29 20:16 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1572.1175163715.7795.help-gnu-emacs@gnu.org>
2007-03-29 10:49 ` Key bindings Tassilo Horn
2007-03-29 13:19 ` SteveFKI
2007-03-29 20:16 ` Peter Dyballa
2007-03-29 20:49 ` SteveFKI
2007-03-29 21:22 ` Peter Dyballa
[not found] ` <mailman.1576.1175174562.7795.help-gnu-emacs@gnu.org>
2007-03-29 20:16 ` Malte Spiess [this message]
2007-03-29 21:02 ` SteveFKI
2007-03-29 20:22 ` Tassilo Horn
2007-03-29 10:19 SteveFKI
[not found] <mailman.1327.1122065988.20277.help-gnu-emacs@gnu.org>
2005-07-22 21:44 ` Charles philip Chan
-- strict thread matches above, loose matches on Subject: below --
2005-07-22 19:32 Stefan Bienert
2005-07-22 22:56 ` Peter Dyballa
[not found] <mailman.7825.1055479806.21513.help-gnu-emacs@gnu.org>
2003-06-13 7:03 ` key bindings Kai Großjohann
2003-06-13 8:57 ` Barman Brakjoller
2003-06-13 4:49 john doe
2002-12-13 21:20 Bingham, Jay
2002-12-13 18:01 sdieselil
2002-12-13 19:51 ` Kevin Rodgers
2002-12-16 11:53 ` Kester Clegg
2002-12-18 13:10 ` sdieselil
2002-12-18 23:32 ` Koyote
2002-11-01 16:20 Jeff Rancier
2002-11-01 16:56 ` Kevin Rodgers
2002-11-01 18:37 ` Jeff Rancier
2002-11-05 17:12 ` Michael Hudson
2002-11-02 0:23 ` Henrik Enberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871wj724be.fsf@trick.ulm.malte.spiess \
--to=i1tnews@arcor.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.