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: Fri, 27 Aug 2010 23:38:37 +0100 Organization: JURTA Message-ID: <87bp8nj3yq.fsf@mail.jurta.org> References: <19534.1494.627000.357123@gargle.gargle.HOWL> <19537.40472.267000.563053@gargle.gargle.HOWL> <87tymlv41y.fsf@mail.jurta.org> <8D701A9E7D444011925CB68BF0883D2B@us.oracle.com> <87hbikdss4.fsf@mail.jurta.org> <87iq2yzvpo.fsf@mail.jurta.org> <871v9m6490.fsf@uwakimon.sk.tsukuba.ac.jp> <87pqx53qmi.fsf@mail.jurta.org> <87eidk9aed.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282949812 3851 80.91.229.12 (27 Aug 2010 22:56:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Aug 2010 22:56:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 28 00:56:50 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 1Op7qr-0005gY-GO for ged-emacs-devel@m.gmane.org; Sat, 28 Aug 2010 00:56:49 +0200 Original-Received: from localhost ([127.0.0.1]:55247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Op7qr-0005vT-2r for ged-emacs-devel@m.gmane.org; Fri, 27 Aug 2010 18:56:49 -0400 Original-Received: from [140.186.70.92] (port=56199 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Op7qe-0005tU-HV for emacs-devel@gnu.org; Fri, 27 Aug 2010 18:56:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Op7qZ-00063t-Iy for emacs-devel@gnu.org; Fri, 27 Aug 2010 18:56:36 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]:34897) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op7qZ-00063p-F8; Fri, 27 Aug 2010 18:56:31 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id EC7626E805D; Fri, 27 Aug 2010 15:56:30 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 5BDAD451C1B4; Fri, 27 Aug 2010 15:56:28 -0700 (PDT) In-Reply-To: <87eidk9aed.fsf@catnip.gol.com> (Miles Bader's message of "Fri, 27 Aug 2010 09:17:30 +0900") 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:129320 Archived-At: >> Shouldn't this be part of CUA mode? If the CUA standard defines this >> functionality then probably it should be enabled with CUA mode. > > I think CUA-mode is already way too overloaded and bloated with random > functionality. And there are no CUA-mode parts that could be shared - there is no delay between key presses (like cua-prefix-override-inhibit-delay), and activating the top-level doesn't depend on the region being active (like in CUA). The only idea that could be taken from CUA-mode is using the SHIFT key to override the menu activation. Actually, this is what Gnome Terminal already does when "Enable menu access keys" is enabled: - M-b moves backward one word (since there is no menu with the accelerator "B"); - M-f activates the top-level File menu; - S-M-f moves forward one word. The same could be implemented in Emacs (not by default, of course). > To the extent it's possible, it seems far better to have > an independent mode. A mode or a variable? XEmacs just goes with a customizable variable `menu-accelerator-enabled'.