From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Key bindings proposal Date: Tue, 3 Aug 2010 12:02:53 +0200 Message-ID: References: <19534.1494.627000.357123@gargle.gargle.HOWL> <19537.40472.267000.563053@gargle.gargle.HOWL> <176EDAD3B9E54E39870FA3F84A5DDF3C@us.oracle.com> <19542.56658.583000.394397@gargle.gargle.HOWL> <4C57E531.60005@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280829820 2434 80.91.229.12 (3 Aug 2010 10:03:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Aug 2010 10:03:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?UTF-8?Q?Jan_Dj=C3=A4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 03 12:03:38 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 1OgELQ-0005jt-QH for ged-emacs-devel@m.gmane.org; Tue, 03 Aug 2010 12:03:37 +0200 Original-Received: from localhost ([127.0.0.1]:53420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgELN-00085m-H2 for ged-emacs-devel@m.gmane.org; Tue, 03 Aug 2010 06:03:33 -0400 Original-Received: from [140.186.70.92] (port=35740 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgELB-000848-BU for emacs-devel@gnu.org; Tue, 03 Aug 2010 06:03:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgEL6-0005ES-EQ for emacs-devel@gnu.org; Tue, 03 Aug 2010 06:03:21 -0400 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:57928) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgEL6-0005EC-6D for emacs-devel@gnu.org; Tue, 03 Aug 2010 06:03:16 -0400 Original-Received: by qyk34 with SMTP id 34so2809517qyk.0 for ; Tue, 03 Aug 2010 03:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Ah/8dG61nSrGHJGlQ8c5dUO2nDRcBSArTkbS6yWHKGI=; b=LchSoXQHsdRTbaS1StgSn3PNCZywy+uSigimnvGT5LbllUiqzdygc3qU8rdptaj6Sf T3gzXPAGk+B1SVfQrykks3ZUwk2CjQd6wOKxZoJVy6yukhUIjI1fSlhaH6tQ0JE32AoJ B73GD+xKf5UTzLXiXiwm4oiOdpG88i0ctnWGc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=fC4/k/zayLcdPBhaL8s5KS62n4Y3OMyZavTuXYR0d47qcc2iTqNz7w5kQJ8ZnLcsw7 3rhlitO8C6gPybYEvkTpaAHsENjGwzIEpqhZgKffXwqaO2+kxtYbZlre3bg3MS9EXbNS 5GjxzZQKkTn1DQWyWV1uLawapkwa8JIq7ekXI= Original-Received: by 10.224.36.209 with SMTP id u17mr1180409qad.399.1280829794153; Tue, 03 Aug 2010 03:03:14 -0700 (PDT) Original-Received: by 10.229.9.84 with HTTP; Tue, 3 Aug 2010 03:02:53 -0700 (PDT) In-Reply-To: <4C57E531.60005@swipnet.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:128180 Archived-At: On Tue, Aug 3, 2010 at 11:45 AM, Jan Dj=C3=A4rv wrote: > 2010-08-02 20:10, Lennart Borgman skrev: >> >> On Mon, Aug 2, 2010 at 7:59 PM, Drew Adams =C2=A0= wrote: >>> >>> AFAIK, Lennart added support for the MS Windows menu navigation >>> keystrokes (aka >>> menu accelerators) - see his library `menacc.el'. >> >> >> Yes and we were also discussing adding this to GNU/Linux but it has >> not happened yet. >> > > It would be a different implementation for native menus (probably not wor= th > it), Lucid, Motif/Lesstif, Nextstep and Gtk+. > Motif doesn't have a marker character, you must at the C level tell the > widget in question which letter to use. =C2=A0The Emacs C level could per= haps > translate a marker character to this. =C2=A0Gtk+ has _ as marker characte= r, and > Lucid currently has no keyboard handling in menus except arrow keys. > I don't know what Nextstep uses. Thanks for the info. >> A problem is of course that Emacs uses the Alt key by default as Emacs >> META key. (I have a patch for this for w32 as I have said =C2=A0before m= any >> times). >> > > How do you handle buffer names (for the Buffer menu) that have the marker > character in them (& I think for W32)? =C2=A0Wouldn't it be better to use= a text > property at the lisp level and let each platform specific code sort this > out? Yes I think so (or perhaps rather a cons ("menu-string" . pos)). But this would require some changes on a lower level and I do not want to do that until it is moved into Emacs. (I have too many patches.)