From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Key bindings proposal Date: Sun, 29 Aug 2010 00:27:29 +0100 Organization: JURTA Message-ID: <87lj7q1f4e.fsf@mail.jurta.org> References: <19534.1494.627000.357123@gargle.gargle.HOWL> <19537.40472.267000.563053@gargle.gargle.HOWL> <87tymlv41y.fsf@mail.jurta.org> <19575.29932.150000.820415@gargle.gargle.HOWL> <874oefelcj.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283041325 4450 80.91.229.12 (29 Aug 2010 00:22:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Aug 2010 00:22:05 +0000 (UTC) Cc: Uday S Reddy , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 29 02:22:03 2010 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 1OpVeo-0004qV-TP for ged-emacs-devel@m.gmane.org; Sun, 29 Aug 2010 02:21:59 +0200 Original-Received: from localhost ([127.0.0.1]:57231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OpVeo-0002eN-0g for ged-emacs-devel@m.gmane.org; Sat, 28 Aug 2010 20:21:58 -0400 Original-Received: from [140.186.70.92] (port=40997 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OpVeh-0002eE-Oa for emacs-devel@gnu.org; Sat, 28 Aug 2010 20:21:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OpVeg-0003K5-OK for emacs-devel@gnu.org; Sat, 28 Aug 2010 20:21:51 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]:41467) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpVeg-0003K0-If for emacs-devel@gnu.org; Sat, 28 Aug 2010 20:21:50 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id A0A3C6E8054; Sat, 28 Aug 2010 17:21:49 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id EE738451C134; Sat, 28 Aug 2010 17:21:47 -0700 (PDT) In-Reply-To: (Lennart Borgman's message of "Sat, 28 Aug 2010 01:12:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:129371 Archived-At: >> Maybe it should be not just mode-specific but also context-dependent >> in a broader sense. =A0Some programs provide to pop up a conte= xt >> menu. =A0So Emacs could provide a separate context menu and correspond= ing >> command namespace and key prefixes. > > I tried to implement something like that in appmenu.el in nXhtml. (It > has changed quite a few times.) You construct menu items from doc-strings, but much simpler would be to use normal menu definitions at point (provided that modes will put them there).