From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: (define-key my-sparse-map [(left)] nil) => (left) entry in keymap Date: Wed, 02 Nov 2005 23:07:15 -0500 Message-ID: <87d5li1ijz.fsf-monnier+emacs@gnu.org> References: <43690165.9040807@student.lu.se> <43696EDE.2070501@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130990921 29353 80.91.229.2 (3 Nov 2005 04:08:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2005 04:08:41 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 03 05:08:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXWNy-0000LJ-KV for ged-emacs-devel@m.gmane.org; Thu, 03 Nov 2005 05:07:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXWNx-0001Hx-My for ged-emacs-devel@m.gmane.org; Wed, 02 Nov 2005 23:07:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EXWNh-0001HX-HA for emacs-devel@gnu.org; Wed, 02 Nov 2005 23:07:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EXWNf-0001HB-Vu for emacs-devel@gnu.org; Wed, 02 Nov 2005 23:07:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXWNf-0001H8-SQ for emacs-devel@gnu.org; Wed, 02 Nov 2005 23:07:15 -0500 Original-Received: from [209.226.175.25] (helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EXWNf-00072o-Mk for emacs-devel@gnu.org; Wed, 02 Nov 2005 23:07:15 -0500 Original-Received: from alfajor ([70.48.82.56]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20051103040715.WVLS26967.tomts5-srv.bellnexxia.net@alfajor>; Wed, 2 Nov 2005 23:07:15 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id A8FD1D7AEC; Wed, 2 Nov 2005 23:07:15 -0500 (EST) Original-To: Lennart Borgman In-Reply-To: <43696EDE.2070501@student.lu.se> (Lennart Borgman's message of "Thu, 03 Nov 2005 02:58:54 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45332 Archived-At: >>> I believed that you could remove a key binding with (define-key keymap key >>> nil). However with a sparse keymap I instead get an entry that is just >>> (key). Is this a bug? >> No, > Thanks, that helped ;-) -- now I see how it works: nil has the meaning "no > binding at all, not even default". ... nor inherited. Stefan