From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Enhancements to "minor-mode-map-alist" functionality. Date: Wed, 1 May 2002 01:14:35 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205010714.g417EZV07395@aztec.santafe.edu> References: <5xbscpg7zl.fsf@kfs2.cua.dk> <200204112243.g3BMhmI01190@rum.cs.yale.edu> <5xd6x5i7ps.fsf@kfs2.cua.dk> <5x4rih12b2.fsf@kfs2.cua.dk> <200204121846.g3CIkZY16909@rum.cs.yale.edu> <5xofgoobzr.fsf@kfs2.cua.dk> <200204122021.g3CKLh217680@rum.cs.yale.edu> <5xu1qd29od.fsf@kfs2.cua.dk> <200204162018.g3GKI3S24358@aztec.santafe.edu> <5x662rxog2.fsf@kfs2.cua.dk> <200204181846.g3IIk2K00596@aztec.santafe.edu> <5xk7r4mwqs.fsf@kfs2.cua.dk> <200204191842.g3JIgnV01056@aztec.santafe.edu> <5x8z7juyxf.fsf@kfs2.cua.dk> <200204201727.g3KHRvu01477@aztec.santafe.edu> <5xwuv11f7v.fsf@kfs2.cua.dk> <200204222236.g3MMamv02091@aztec.santafe.edu> <5xbscahe51.fsf@kfs2.cua.dk> <200204241755.g3OHtBZ03352@aztec.santafe.edu> <5xlmbaefru.fsf@kfs2.cua.dk> <200204272241.g3RMfNd05496@aztec.santafe.edu> <200204300518.g3U5ILu06523@aztec.santafe.edu> <5xn0vkx4jw.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1020237329 21882 127.0.0.1 (1 May 2002 07:15:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 1 May 2002 07:15:29 +0000 (UTC) Cc: Kai.Grossjohann@CS.Uni-Dortmund.DE, 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 172oKn-0005gp-00 for ; Wed, 01 May 2002 09:15:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 172oPP-000418-00 for ; Wed, 01 May 2002 09:20:15 +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 172oKX-0002NU-00; Wed, 01 May 2002 03:15:13 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 172oJw-0002F4-00; Wed, 01 May 2002 03:14:36 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g417EZk16208; Wed, 1 May 2002 01:14:35 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g417EZV07395; Wed, 1 May 2002 01:14:35 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: storm@cua.dk In-Reply-To: <5xn0vkx4jw.fsf@kfs2.cua.dk> (storm@cua.dk) 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:3473 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3473 It is a list of alists with the same format and interpretation as minor-mode-map-alist. Would a single added alist do the job? Alternatively, an element may look like (lambda . FORM) where FORM is evaluated and should return either nil or a cons (SYMBOL . KEYMAP); That seems kludgy and ugly. I would rather allow replacing VARIABLE with a boolean expression. Wouldn't that be enough? I think this is the sort of area where it is better to make smaller extensions, not larger ones.