From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: rebinding iso keys Date: Tue, 4 Apr 2006 20:48:53 +0200 Message-ID: References: <1143981191.612977.207370@i39g2000cwa.googlegroups.com> <1144089540.352542.307040@e56g2000cwe.googlegroups.com> <1144151567.025751.103020@t31g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1144176565 5443 80.91.229.2 (4 Apr 2006 18:49:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Apr 2006 18:49:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 04 20:49:23 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FQqab-00089Z-9n for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Apr 2006 20:49:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQqaa-0001zA-J9 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Apr 2006 14:49:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FQqaP-0001yz-IH for help-gnu-emacs@gnu.org; Tue, 04 Apr 2006 14:49:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FQqaN-0001ye-SS for help-gnu-emacs@gnu.org; Tue, 04 Apr 2006 14:49:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQqaN-0001yb-Q5 for help-gnu-emacs@gnu.org; Tue, 04 Apr 2006 14:49:03 -0400 Original-Received: from [217.72.192.242] (helo=fmmailgate04.web.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FQqdi-0007uN-St for help-gnu-emacs@gnu.org; Tue, 04 Apr 2006 14:52:31 -0400 Original-Received: by fmmailgate04.web.de (8.12.10/8.12.10/webde Linux 0.7) with ESMTP id k34ImuAr008770; Tue, 4 Apr 2006 20:48:56 +0200 Original-Received: from [84.245.179.228] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.106 #94) id 1FQqaF-00005D-00; Tue, 04 Apr 2006 20:48:55 +0200 In-Reply-To: <1144151567.025751.103020@t31g2000cwb.googlegroups.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: "josh" X-Mailer: Apple Mail (2.746.3) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34163 Archived-At: Am 04.04.2006 um 13:52 schrieb josh: >> 1) binding interactively, executing repeat-complex-command, and then >> yanking out of the mini-buffer was certainly a clever idea to get =20 >> what >> I wanted, but what's the "real" way? Is there no way to look up the >> correct code? Where is it stored? > > So, where is this stored, and how can I look up the code? Like I said, > using repeat-complex-command was clever, but what's the "real" way of > doing this? I can't tell! I think I've seen a few times that the data C-h k gave =20 me did not work in global-set-key. =46rom this list I knew this trick =20= and use it excessively and successfully. I think GNU Emacs uses environment variables like LC_CTYPE, LC_ALL, =20 LANG to determine in which format data from the keyboard enters. I =20 have some UTF-8 set. I have from this setting the problem of =20 converting UTF-8 to ISO 8859-15 encoding as used in my .emacs. When =20 you use the trick of interactively binding a key and retrieving it =20 with repeat-complex-command, you insert for example UTF-8 data from =20 the keyboard that is automatically converted into ISO 8859-15 format! Variables and commands used in this area are set-keyboard-coding-=20 system, set-terminal-coding-system, set-clipboard-coding-system, set-=20 selection-coding-system, ... -- Mit friedvollen Gr=FC=DFen Pete Das Milit=E4r ist eine Pflanze, die mensch sorgf=E4ltig pflegen muss, =20= damit sie keine Fr=FCchte tr=E4gt. (Jacques Tati)