From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#9751: 23.3; Alternative Keyboard Feature/Bug Date: Thu, 20 Oct 2011 09:19:09 -0400 Message-ID: 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> 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 1319116825 10987 80.91.229.12 (20 Oct 2011 13:20:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2011 13:20:25 +0000 (UTC) Cc: lekktu@gmail.com, 9751@debbugs.gnu.org, Nikos Pitsianis To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 20 15:20:19 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 1RGsXZ-0005dq-Pc for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2011 15:20:13 +0200 Original-Received: from localhost ([::1]:36066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGsXZ-0006kF-5P for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2011 09:20:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGsXS-0006hc-Da for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 09:20:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGsXJ-0000pM-UF for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 09:20:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGsXJ-0000pI-Pe for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 09:19:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGsYQ-0002cc-4B for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 09:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Oct 2011 13:21: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.131911682710032 (code B ref 9751); Thu, 20 Oct 2011 13:21:02 +0000 Original-Received: (at 9751) by debbugs.gnu.org; 20 Oct 2011 13:20:27 +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 1RGsXq-0002bl-Nr for submit@debbugs.gnu.org; Thu, 20 Oct 2011 09:20:27 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGsXo-0002bX-IR for 9751@debbugs.gnu.org; Thu, 20 Oct 2011 09:20:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EAJgfoE5MCqLO/2dsb2JhbABDhHWkIIEGgW4BAQQBIzMjBQsJAhAKAhgOAgIUGA0kiBOje5FzgTCFZYEUBKEuhEU X-IronPort-AV: E=Sophos;i="4.69,379,1315195200"; d="scan'208";a="143348925" Original-Received: from 76-10-162-206.dsl.teksavvy.com (HELO pastel.home) ([76.10.162.206]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 20 Oct 2011 09:19:10 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C7C7D588A2; Thu, 20 Oct 2011 09:19:09 -0400 (EDT) In-Reply-To: <878vogmazh.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 20 Oct 2011 09:29:54 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 Oct 2011 09:21: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:52921 Archived-At: > And `function-key-map' really works even for characters > with no modifiers (for the value `nil' below): > (let ((modifiers '(nil (control) (meta) (control meta))) > (map '((?=CF=82 . ?w) (?=CE=B5 . ?e) (?=CF=81 . ?r) (?=CF=84 . ?t= ) (?=CF=85 . ?y) > (?=CE=B8 . ?u) (?=CE=B9 . ?i) (?=CE=BF . ?o) (?=CF=80 . ?p= ) (?=CE=B1 . ?a) > (?=CF=83 . ?s) (?=CE=B4 . ?d) (?=CF=86 . ?f) (?=CE=B3 . ?g= ) (?=CE=B7 . ?h) > (?=CE=BE . ?j) (?=CE=BA . ?k) (?=CE=BB . ?l) (?=CE=B6 . ?z= ) (?=CF=87 . ?x) > (?=CF=88 . ?c) (?=CF=89 . ?v) (?=CE=B2 . ?b) (?=CE=BD . ?n= ) (?=CE=BC . ?m) (?\; . ?q)))) > (dolist (pair map) > (dolist (mod modifiers) > (define-key local-function-key-map > (vector (append mod (list (car pair)))) > (vector (append mod (list (cdr pair)))))))) > So `C-=CF=87 =CE=B2' runs `switch-to-buffer' whereas self-inserting chara= cters > are inserted as is, without translation. Yes, that's what I expected. > However, there is another problem. Single-key bindings don't work in mod= es > where they are bound to other commands, like `v' (`dired-view-file') in D= ired, > or `d' (`Info-directory') in Info. I don't understand what you mean here. Do you mean that hitting v/=CF=89/omega will not run dired-view-file? That's very odd. Can you try and investigate why that is? Stefan