From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Function for deleting a key binding in a sparse keymap Date: Sun, 11 Dec 2005 11:49:10 -0500 Message-ID: References: <3cc04a73cc1b1a.3cc1b1a3cc04a7@net.lu.se> <43987D21.4070200@student.lu.se> <4398C8F2.8060301@student.lu.se> <4399E538.2080909@student.lu.se> <439B688C.1090207@student.lu.se> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1134322338 19288 80.91.229.2 (11 Dec 2005 17:32:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2005 17:32:18 +0000 (UTC) Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, storm@cua.dk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 11 18:32:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ElV1N-0003E7-RJ for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2005 18:30:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElV1p-00048K-8S for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2005 12:30:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ElUPK-000084-NI for emacs-devel@gnu.org; Sun, 11 Dec 2005 11:50:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ElUPI-00006C-7P for emacs-devel@gnu.org; Sun, 11 Dec 2005 11:50:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElUPH-00005t-C1 for emacs-devel@gnu.org; Sun, 11 Dec 2005 11:50:39 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ElUQq-0002uF-Ps for emacs-devel@gnu.org; Sun, 11 Dec 2005 11:52:16 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1ElUNq-0000TY-24; Sun, 11 Dec 2005 11:49:10 -0500 Original-To: Lennart Borgman In-reply-to: <439B688C.1090207@student.lu.se> (message from Lennart Borgman on Sun, 11 Dec 2005 00:45:16 +0100) 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:47457 Archived-At: For proper style, please write two spaces between sentences. @emph{Note 1:} When Emacs finally find a function symbol through this process it also checks for command remapping. This just replaces the function symbol with another. It is not recursive. That needs a cross reference about command remapping. Various other cross references are needed too. @table @asis @item START-HERE: First apply @code{extra-keyboard-modifiers} mask to each keyboard character read. @end table This is very peculiar Texinfo usage. This item should be part of the @itemize. Please find a different way to represent these labels. One way would be to put the label text _inside_ the items of the @itemize. But even better, don't use labels! Gotos are not a clear way to express a program. It would be clearer to try to express this as (if overriding-terminal-local-map (look-in overriding-terminal-local-map) (if overriding-local-map (look-in overriding-local-map) (look-in (get-char-property (point) 'keymap)) etc.)) which involves no labels or gotos. Nested @itemize constructs might provide a way to do this. You could use @enumerate for the three alternatives, with another @itemize inside the third one. (See how it looks in TeX output.)