From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: Key definitions and national keyboards Date: Tue, 5 Oct 2004 01:59:49 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <023d01c4aa6e$49f2cd30$0200a8c0@sedrcw11488> References: <014701c4a7d0$fcb20da0$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096934488 5823 80.91.229.6 (5 Oct 2004 00:01:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Oct 2004 00:01:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 05 02:01:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CEclV-0002gg-00 for ; Tue, 05 Oct 2004 02:01:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEcs6-0007al-UU for ged-emacs-devel@m.gmane.org; Mon, 04 Oct 2004 20:08:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CEcrk-0007ST-09 for emacs-devel@gnu.org; Mon, 04 Oct 2004 20:07:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CEcri-0007Rf-Is for emacs-devel@gnu.org; Mon, 04 Oct 2004 20:07:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEcri-0007RE-Bz for emacs-devel@gnu.org; Mon, 04 Oct 2004 20:07:38 -0400 Original-Received: from [81.228.11.110] (helo=av3-2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEckf-0005gZ-Fo; Mon, 04 Oct 2004 20:00:21 -0400 Original-Received: by av3-2-sn1.fre.skanova.net (Postfix, from userid 502) id 0921737E58; Tue, 5 Oct 2004 02:00:12 +0200 (CEST) Original-Received: from smtp3-1-sn1.fre.skanova.net (smtp3-1-sn1.fre.skanova.net [81.228.11.163]) by av3-2-sn1.fre.skanova.net (Postfix) with ESMTP id ED7F137E48; Tue, 5 Oct 2004 02:00:11 +0200 (CEST) Original-Received: from sedrcw11488 (t1o58p214.telia.com [62.20.164.214]) by smtp3-1-sn1.fre.skanova.net (Postfix) with SMTP id 0EEC737E46; Tue, 5 Oct 2004 02:00:10 +0200 (CEST) Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27910 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27910 ----- Original Message ----- From: "Richard Stallman" To: "Lennart Borgman" : Quite often I found I want to use something in Emacs that is bound to a key : I can't use on my swedish keyboard. For example indent-region might be on : C-M-\ and that is not accessible on a swedish keyboard. : : Why is that? Is there no way to type C-\? Not as far as I can see. : What are your thoughts about these problems? Is there any thoughts on : language specifik keyboard files for adjusting things like that? Can it be : done? : : I think we can't afford to try to worry about these issues. I did, since I am using a swedish keyboard on a pc with AltGr ;-) I have uploaded altgr.el to http://www.emacswiki.org/ with a workaround for the problem. I just redefine keys which are on AltGr (like \) in funktion-key-map to use another key when the keyboard event is modified is modified with control or meta. There are structures in the file for entering new language specific modifiers. I will encourage other users to enhance the file with something suitable for their specific language keyboard. I believe altgr.el could be loaded by the setup-function in language-info-alist, but I do not know if this is the right place? - Lennart