From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Schmitt Newsgroups: gmane.emacs.help Subject: key-translation-map not taken into account? Date: Fri, 05 Jun 2015 11:45:26 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1433497623 24707 80.91.229.3 (5 Jun 2015 09:47:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2015 09:47:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 05 11:46:49 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z0oD8-0007F2-VN for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Jun 2015 11:46:47 +0200 Original-Received: from localhost ([::1]:46173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0oD8-00051o-EN for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Jun 2015 05:46:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0oCv-00051i-Fe for help-gnu-emacs@gnu.org; Fri, 05 Jun 2015 05:46:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0oCs-0000oB-Q9 for help-gnu-emacs@gnu.org; Fri, 05 Jun 2015 05:46:33 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:40548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0oCs-0000o7-JA for help-gnu-emacs@gnu.org; Fri, 05 Jun 2015 05:46:30 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z0oCT-0006kN-1F for help-gnu-emacs@gnu.org; Fri, 05 Jun 2015 11:46:05 +0200 Original-Received: from charm-ecran.irisa.fr ([131.254.101.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Jun 2015 11:46:05 +0200 Original-Received: from alan.schmitt by charm-ecran.irisa.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Jun 2015 11:46:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: charm-ecran.irisa.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:FJsZV2JI6sa7FZ8rxxIKF8sQGHo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104766 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I have configured my f19 key to act as an apps key: #+begin_src emacs-lisp (define-key key-translation-map (kbd "") (kbd "")) #+end_src It works great and I can bind it to many things. Unfortunately, there is one thing I don't know how to do: how to use this key to input another binding. I thought the following would work: #+begin_src emacs-lisp (define-key key-translation-map (kbd " d") (kbd "C-c")) #+end_src but when I try to see if it gets translated, I see that it does not: ,---- | d (translated from d) is undefined `---- Is there a way to make this work? Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJVcW+2AAoJEAQNCjtO0uXHl70IAKxlQCCHxoiDcGcB0gjS+dWo 0dQuRjmLHBZe0vwIj+XnOMNyN+D2qUtaOWpWlIH33kozjPk33ZCKn3m/f9vymgQC hBQT+e2o80ARuOv50IMAdjbjAT5zJwSHyEq3GYSfepwM4FYX2K4EkJgBYwNfviAh s+/PdFCmnT6xGAfxjn/cmKJo0prMAaKWc7WdL93MjfYPT3/2aCUvwblYAMtx2lnH srVX/YjbJ13oM1TMSkxrPfz8x7k1oPMhRMVLOSXt60I7nqt6UDeXzOQDiXI1qN+c uqVoUIG7oC9zvsLJaN+t9KmBfbaT0YIKIZuCYcqTtgNLlaX/WAZA/re4lpwBQfY= =hEFs -----END PGP SIGNATURE----- --=-=-=--