From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#9751: 23.3; Alternative Keyboard Feature/Bug Date: Mon, 24 Oct 2011 08:17:31 +0300 Organization: JURTA Message-ID: <87fwijdmb0.fsf@mail.jurta.org> References: <675A64DA-C90A-4DBC-A3DB-C564A318B70F@cs.duke.edu> <0DC129AB-1830-4EED-A487-1C4CDCE4CB46@cs.duke.edu> <83sjmvjxps.fsf@gnu.org> <672DC73F-99F7-4CDC-86DA-318FCA8DEB70@cs.duke.edu> <87r528pllc.fsf@mail.jurta.org> <878vogmazh.fsf@mail.jurta.org> <87fwimeety.fsf@mail.jurta.org> <87sjmlhwbt.fsf@mail.jurta.org> 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 1319433890 31927 80.91.229.12 (24 Oct 2011 05:24:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2011 05:24:50 +0000 (UTC) Cc: lekktu@gmail.com, Andreas Schwab , Nikos Pitsianis , 9751@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 24 07:24:46 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RID1d-00051s-AC for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Oct 2011 07:24:41 +0200 Original-Received: from localhost ([::1]:38644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RID1c-00071a-Jc for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Oct 2011 01:24:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RID1Z-0006z4-Q6 for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 01:24:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RID1X-0001LU-Ni for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 01:24:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RID1V-0001Iw-6G for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 01:24:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RID2w-0003k8-B7 for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2011 01:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Oct 2011 05:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9751 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9751-submit@debbugs.gnu.org id=B9751.131943395214360 (code B ref 9751); Mon, 24 Oct 2011 05:26:02 +0000 Original-Received: (at 9751) by debbugs.gnu.org; 24 Oct 2011 05:25:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RID2l-0003jZ-Jn for submit@debbugs.gnu.org; Mon, 24 Oct 2011 01:25:51 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RID2h-0003jL-SG for 9751@debbugs.gnu.org; Mon, 24 Oct 2011 01:25:48 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id B85E46E8061; Sun, 23 Oct 2011 22:24:17 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 140DB451C375; Sun, 23 Oct 2011 22:24:15 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sun, 23 Oct 2011 23:05:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 24 Oct 2011 01:26:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53055 Archived-At: >>> But >>> (define-key function-key-map [=CE=B2] [?b]) >>> does that already. >> function-key-map applies only to (suffixes of) unbound key sequences. > > Right, which is exactly what he was asking for, AFAIK. > I'm obviously missing something, but I still haven't seen a concrete > example where the function-key-map binding doesn't do what we want (or > maybe I've seen it, but I didn't understand it, if so please spell it > out for me). Let's consider `Info-mode' instead of `dired-mode' for testing purposes because `b' is unbound in Dired, but in Info it's bound to `beginning-of-buffer'. After evaluating (define-key function-key-map [?=CE=B2] [?b]) typing `=CE=B2' in Info has no effect, it doesn't call `beginning-of-buff= er'. When typing in Info `C-h k =CE=B2', it says: =CE=B2 is undefined What is expected for `C-h k =CE=B2' to say is that `b' is translated from= `=CE=B2'. OTOH, after evaluating (define-key function-key-map [?\C-=CF=87] [?\C-x]) (define-key function-key-map [?=CE=B2] [?b]) `C-=CF=87 =CE=B2' runs `switch-to-buffer' correctly, and `C-h k C-=CF=87 =CE=B2' says: C-x b (translated from C-=CF=87 =CE=B2) runs the command switch-to-buff= er