From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: (define-key my-sparse-map [(left)] nil) => (left) entry in keymap Date: Thu, 03 Nov 2005 02:58:54 +0100 Message-ID: <43696EDE.2070501@student.lu.se> References: <43690165.9040807@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1130983234 14670 80.91.229.2 (3 Nov 2005 02:00:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2005 02:00:34 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 03 03:00:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXUOR-00040u-0V for ged-emacs-devel@m.gmane.org; Thu, 03 Nov 2005 02:59:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXUOQ-0006Vw-Ju for ged-emacs-devel@m.gmane.org; Wed, 02 Nov 2005 20:59:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EXUNs-0006NB-Ud for emacs-devel@gnu.org; Wed, 02 Nov 2005 20:59:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EXUNo-0006MA-8V for emacs-devel@gnu.org; Wed, 02 Nov 2005 20:59:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXUNo-0006M6-2n for emacs-devel@gnu.org; Wed, 02 Nov 2005 20:59:16 -0500 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EXUNo-0006hv-0E for emacs-devel@gnu.org; Wed, 02 Nov 2005 20:59:16 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.060.1) id 4368D4B90002222D; Thu, 3 Nov 2005 02:58:55 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Stefan Monnier In-Reply-To: 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:45325 Archived-At: Stefan Monnier wrote: >>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".