From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.emacs.help Subject: Re: Mac OS X (cocoa editon) azerty [ { problem Date: Fri, 30 Jan 2009 10:39:04 +0100 Message-ID: References: <7be766ea-2442-4e60-9c98-b4ae12285147@y23g2000pre.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233308472 29465 80.91.229.12 (30 Jan 2009 09:41:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2009 09:41:12 +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 Jan 30 10:42:25 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LSptI-0006Bg-Kh for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Jan 2009 10:42:24 +0100 Original-Received: from localhost ([127.0.0.1]:38528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSps0-0003oE-CS for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Jan 2009 04:41:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSpqO-0002xm-Dn for help-gnu-emacs@gnu.org; Fri, 30 Jan 2009 04:39:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSpqL-0002vF-Lh for help-gnu-emacs@gnu.org; Fri, 30 Jan 2009 04:39:22 -0500 Original-Received: from [199.232.76.173] (port=38099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSpqL-0002uy-Ey for help-gnu-emacs@gnu.org; Fri, 30 Jan 2009 04:39:21 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:54171 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LSpqL-0003be-28 for help-gnu-emacs@gnu.org; Fri, 30 Jan 2009 04:39:21 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LSpqD-0002ZI-FE for help-gnu-emacs@gnu.org; Fri, 30 Jan 2009 09:39:13 +0000 Original-Received: from kafka.physik3.gwdg.de ([134.76.92.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Jan 2009 09:39:13 +0000 Original-Received: from de_bb by kafka.physik3.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Jan 2009 09:39:13 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: kafka.physik3.gwdg.de User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:e+zc9fp+etd97j1Bhuyd4Br2TI0= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:61776 Archived-At: Pieter Laeremans writes: > I use an azerty keyboard but emacs doesn't handle the following > symbols correctly > > { [ and \ > > In a normal application for example I can input { by pushing (option > alais alt 5), > Emacs interprets this as M-5 instead of just inserting the right > symbol. > > It is not clear to me how to turn this of. One possibility: Go to Emacs->Preferences, set Alt/Opt-Key to "None" and set Command Key to "Meta". This has the disadvantage that it interferes with the MacOS-Shortcuts for the Command key. Another possibility: rebind the keys in your .emacs, e.g. (global-set-key (kbd "M-5") (lambda () (interactive) (insert "["))) Don't know if that always works in all modes, though. Best possibility: Adapt your keyboard layout for Mac OS X, e.g. using Ukelele. Your hands will thank you for it later. -David