From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pieter Laeremans Newsgroups: gmane.emacs.help Subject: Re: Mac OS X (cocoa editon) azerty [ { problem Date: Sun, 1 Feb 2009 03:20:47 -0800 (PST) Organization: http://groups.google.com 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1233488825 19802 80.91.229.12 (1 Feb 2009 11:47:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2009 11:47:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 01 12:48:19 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 1LTaoE-000088-Sc for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Feb 2009 12:48:19 +0100 Original-Received: from localhost ([127.0.0.1]:51476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTamw-0002hu-Fg for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Feb 2009 06:46:58 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!v39g2000pro.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 62.235.138.247 Original-X-Trace: posting.google.com 1233487247 19216 127.0.0.1 (1 Feb 2009 11:20:47 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 1 Feb 2009 11:20:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v39g2000pro.googlegroups.com; posting-host=62.235.138.247; posting-account=JhzaYgoAAAA4wpwGi0yO3oiEHFaMU8EO User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:166504 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:61823 Archived-At: On Jan 30, 10:39=A0am, David wrote: > Pieter Laeremans writes: > > I use an azerty keyboard but emacs doesn't handle the following > > symbols correctly > > > { [ =A0and \ > > > 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 Great ! The preferences option worked. Thanks! Pieter