From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: SteveFKI Newsgroups: gmane.emacs.help Subject: Re: Key bindings Date: Thu, 29 Mar 2007 14:02:41 -0700 (PDT) Message-ID: <9742624.post@talk.nabble.com> References: <9730443.post@talk.nabble.com> <87odmcnx3b.fsf@baldur.tsdh.de> <871wj724be.fsf@trick.ulm.malte.spiess> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1175202197 2101 80.91.229.12 (29 Mar 2007 21:03:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Mar 2007 21:03:17 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 29 23:03:09 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HX1m0-00057j-Ml for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Mar 2007 23:03:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HX1oc-0001oV-Pm for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Mar 2007 16:05:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HX1oE-0001iq-6U for help-gnu-emacs@gnu.org; Thu, 29 Mar 2007 17:05:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HX1oD-0001iK-CX for Help-gnu-emacs@gnu.org; Thu, 29 Mar 2007 17:05:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HX1oD-0001i9-3Z for Help-gnu-emacs@gnu.org; Thu, 29 Mar 2007 16:05:25 -0500 Original-Received: from www.nabble.com ([72.21.53.35] helo=talk.nabble.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HX1la-0005mC-4F for Help-gnu-emacs@gnu.org; Thu, 29 Mar 2007 17:02:42 -0400 Original-Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HX1lZ-0001QV-CU for Help-gnu-emacs@gnu.org; Thu, 29 Mar 2007 14:02:41 -0700 In-Reply-To: <871wj724be.fsf@trick.ulm.malte.spiess> X-Nabble-From: stephen.brown@eu.fkilogistex.com X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42286 Archived-At: 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 writes: > >> Tassilo Horn-3 wrote: > >>> Use `C-h k' to get the binding string and use that with the `kbd'-macro. >>> >>> ,----[ C-h k ] >>> | runs the command move-beginning-of-line >>> [...] >>> `---- >>> >>> ,----[ C-h k ] >>> | 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 "") '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 >> , >> it emacs tells me that >> >> " 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 , but > as . So you probably should write > (global-set-key (kbd "") 'some-function) > instead. Very strange keyboard setup btw. > > Greetings > > Malte > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > 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.