From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Scott Frazer Newsgroups: gmane.emacs.devel Subject: Re: Per-mode obarray for M-x Date: Thu, 10 Mar 2011 21:18:12 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1299831168 799 80.91.229.12 (11 Mar 2011 08:12:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2011 08:12:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 11 09:12:44 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PxxSm-0004Wk-Aq for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2011 09:12:44 +0100 Original-Received: from localhost ([127.0.0.1]:52713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxxSk-0002yg-Fb for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2011 03:12:42 -0500 Original-Received: from [140.186.70.92] (port=56312 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pxrvi-0002R7-TR for emacs-devel@gnu.org; Thu, 10 Mar 2011 21:18:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pxrvh-00058v-Q4 for emacs-devel@gnu.org; Thu, 10 Mar 2011 21:18:14 -0500 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:36153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pxrvh-00058q-N7 for emacs-devel@gnu.org; Thu, 10 Mar 2011 21:18:13 -0500 Original-Received: by yws5 with SMTP id 5so1271537yws.0 for ; Thu, 10 Mar 2011 18:18:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=XVs45x5VMJmIlUxLAhRzNAyLDIHo0iOOswoHof9IbNU=; b=EfL2uZQYoQxfurGXymQUADvTEG6HScQ9NH1qkUlCswtUJJ00kt/a2gw1enfJGN2SDi /k4oYUaoIun8lNJ088BXAmOGRsSXkt7m3UWVfyahhMCOLu1KB90eQ70HGFznm5NirLKM 5Vp04lswBGaeNyxpmU1pC6BEpHC4oPl03IZSY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sUwVgO1VSyTRnGJbkRmOBg2wj+HhFPzXagSfk3BES4aELnbPUdJGrBzv4WCd7pA2EV iAZBxGIFYl+BKQC7J537Jk1bYUhYSdKBuRNR3QTcOUC8o6C8LL6+VMYiRC+Fx4GSSJM7 OngqiR8wXGP1PYT2ddXVf25PUMWEvtxwZSBSU= Original-Received: by 10.101.147.33 with SMTP id z33mr588909ann.115.1299809892509; Thu, 10 Mar 2011 18:18:12 -0800 (PST) Original-Received: by 10.100.57.7 with HTTP; Thu, 10 Mar 2011 18:18:12 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.41 X-Mailman-Approved-At: Fri, 11 Mar 2011 03:12:27 -0500 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:137087 Archived-At: On Wed, Mar 9, 2011 at 9:33 AM, Scott Frazer wrote: > There doesn't seem to be much enthusiasm for the idea, so instead of > something integrated I'll just make a package to scratch my own itch. > A couple good suggestions have been made that I can build off of. > Some sort of alist mapping modes to functions with a macro to > define/add things, then add a common function to be called. For anyone who stumbles upon this thread looking for something similar, here's how I ended up solving it: http://article.gmane.org/gmane.emacs.sources/3546 Scott