From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Assignment of misc packages for emacs Date: 15 May 2002 10:08:15 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200205050534.g455YfF01634@aztec.santafe.edu> <5xbsbumexh.fsf@kfs2.cua.dk> <200205141941.g4EJfud15293@aztec.santafe.edu> <5xvg9qmgzt.fsf@kfs2.cua.dk> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021424953 4346 127.0.0.1 (15 May 2002 01:09:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 May 2002 01:09:13 +0000 (UTC) Cc: rms@gnu.org, assign@gnu.org, 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 177nI1-00017z-00 for ; Wed, 15 May 2002 03:09:13 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 177nTI-00050e-00 for ; Wed, 15 May 2002 03:20:53 +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 177nIC-0000lF-00; Tue, 14 May 2002 21:09:24 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 177nHR-0000ea-00; Tue, 14 May 2002 21:08:37 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.197]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g4F18IR11228; Wed, 15 May 2002 10:08:18 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g4F18HR01144; Wed, 15 May 2002 10:08:17 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g4F18G814576; Wed, 15 May 2002 10:08:17 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g4F18GK25507; Wed, 15 May 2002 10:08:16 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 1C65637C8; Wed, 15 May 2002 10:08:16 +0900 (JST) Original-To: no-spam@cua.dk (Kim F. Storm) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <5xvg9qmgzt.fsf@kfs2.cua.dk> Original-Lines: 21 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:3944 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3944 no-spam@cua.dk (Kim F. Storm) writes: > E.g. I have the following mini-menu bound to F8: > > QUERY: r)egexp s)tring t)ags ALL: R)egexp S)tring > > (defvar replace-mini-menu '(...)) So it's basically equivalent to (defun mini-menu (menu) (message (mapconcat #'cadr menu " ")) (call-interactively (or (nth 2 (assoc (read-char) menu)) (error "Unknown key")))) ? I'm not sure this warrants a whole separate package... [does it do more?] -MIles -- Suburbia: where they tear out the trees and then name streets after them.