From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel Subject: Re: Per-mode obarray for M-x Date: Wed, 9 Mar 2011 08:08:32 -0800 (PST) Message-ID: <46861.130.55.118.19.1299686912.squirrel@webmail.lanl.gov> References: Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1299686931 10208 80.91.229.12 (9 Mar 2011 16:08:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 16:08:51 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Scott Frazer" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 17:08:47 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 1PxLwK-0003EO-TX for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 17:08:45 +0100 Original-Received: from localhost ([127.0.0.1]:57550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxLwK-0005zq-3M for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 11:08:44 -0500 Original-Received: from [140.186.70.92] (port=39150 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxLwF-0005za-Nu for emacs-devel@gnu.org; Wed, 09 Mar 2011 11:08:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxLwE-0005U6-Q7 for emacs-devel@gnu.org; Wed, 09 Mar 2011 11:08:39 -0500 Original-Received: from proofpoint2.lanl.gov ([204.121.3.26]:54523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxLwC-0005TK-GM; Wed, 09 Mar 2011 11:08:36 -0500 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by proofpoint2.lanl.gov (8.14.3/8.14.3) with ESMTP id p29HixBZ030738; Wed, 9 Mar 2011 10:44:59 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 343F715CB053; Wed, 9 Mar 2011 09:08:32 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 1F1AA15CB04E; Wed, 9 Mar 2011 09:08:32 -0700 (MST) Original-Received: by webmail1.lanl.gov (Postfix, from userid 48) id 1D0E2450001; Wed, 9 Mar 2011 09:08:32 -0700 (MST) Original-Received: from 130.55.118.19 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Wed, 9 Mar 2011 08:08:32 -0800 (PST) In-Reply-To: User-Agent: SquirrelMail/1.4.8-5.el5_4.10.lanl3 X-Priority: 3 (Normal) Importance: Normal X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15, 1.0.148, 0.0.0000 definitions=2011-03-09_07:2011-03-09, 2011-03-09, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 204.121.3.26 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:136972 Archived-At: > Keymaps act the way I like: the same key binding in different modes > calls a mode-specific version of some function. 'C-M-a' calls > 'beginning-of-defun' in emacs-lisp mode, and calls > 'c-beginning-of-defun' in c-mode. The idea is that I could do "M-x > bod" and it would call the right version. This is very similar to what was proposed as "actions" (though those were considered to be pseudocommands that could be bound to keys). I can't find exactly the right message, but this is close: http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg01382.html Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.