From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: define-key acting strange.. Date: Fri, 24 May 2002 13:02:51 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200205202134.g4KLY4g26004@aztec.santafe.edu> <200205240044.g4O0iEu01307@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1022238178 15684 127.0.0.1 (24 May 2002 11:02:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 24 May 2002 11:02:58 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17BCqY-00044r-00 for ; Fri, 24 May 2002 13:02:58 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17BD6O-0007Os-00 for ; Fri, 24 May 2002 13:19:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17BCqt-0004MQ-00; Fri, 24 May 2002 07:03:19 -0400 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17BCqV-0004KJ-00 for ; Fri, 24 May 2002 07:02:55 -0400 Original-Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 57A0614483; Fri, 24 May 2002 13:02:54 +0200 (MEST) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f Original-To: "D. Goel" X-Yow: UH-OH!! I put on ``GREAT HEAD-ON TRAIN COLLISIONS of the 50's'' by mistake!!! In-Reply-To: ("D. Goel"'s message of "24 May 2002 02:43:25 -0400") Original-Lines: 28 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (ia64-suse-linux) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4330 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4330 "D. Goel" writes: |> ( A quick update before i go away for the long |> weekend.. to... Maryland!!!.. ).. |> |> |> All of the problem was being caused by the one line in that |> expression: (guess i will have to wait another day to learn GDB :) |> |> |> (define-key [t] ).. and that could be anything .. *Note (elisp)Format of Keymaps::. `(t . BINDING)' This specifies a "default key binding"; any event not bound by other elements of the keymap is given BINDING as its binding. Default bindings allow a keymap to bind all possible event types without having to enumerate all of them. A keymap that has a default binding completely masks any lower-precedence keymap. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."