From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Piet van Oostrum Newsgroups: gmane.emacs.help Subject: Re: Emacs on OS X Panther Date: 15 Dec 2003 16:17:03 +0100 Organization: Dept of Computer Science, Utrecht University, The Netherlands Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1071529228 23894 80.91.224.253 (15 Dec 2003 23:00:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Dec 2003 23:00:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 16 00:00:25 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AW1hR-0003Ne-00 for ; Tue, 16 Dec 2003 00:00:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AW2ee-0000Tr-Co for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Dec 2003 19:01:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news2.telebyte.nl!humbolt.nl.linux.org!news.nl.linux.org!phil.uu.nl!cs.uu.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: modena.cs.uu.nl Original-X-Trace: june.cs.uu.nl 1071528557 14725 131.211.80.35 (15 Dec 2003 22:49:17 GMT) Original-X-Complaints-To: news@cs.uu.nl Original-NNTP-Posting-Date: Mon, 15 Dec 2003 22:49:17 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:119355 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:15294 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15294 >>>>> Sören Vogel (SV) wrote: SV> recently I've downloaded Mac-Emacs Version 21.3.50.1 from SV> http://www.mindlube.com/products/emacs/. It installed fine on my iBook OS X SV> 10.3 (Panther). Meanwhile, I could convince it to accept German Umlaute SV> characters type and display correctly (many thanks to Patrick Gundlach) by SV> adding these two lines into my .emacs: SV> (set-keyboard-coding-system 'mac-roman) SV> (custom-set-variables SV> '(default-frame-alist (quote ((tool-bar-lines . 0) (menu-bar-lines . 1) SV> (font . "-etl-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-mac"))))) SV> To make it short, sometimes when opening files edited with BBEdit 7 it SV> falls to it's old strange behavior with neither displaying nor accepting SV> German Umlaute types ;-(. Then, characters like öäüß (oau with double dots SV> above and SS) are display with upgrave, promille, cyrillic comma and SV> ligatur fl or even squares and other embarrassing stuff. That means BBEdit is saving your files as latin-1 (or latin-9 maybe) and emacs is loading it as mac-roman. So you have to decide which character set you want to use and teach both BBEdit and emacs to assume this. Supposing that you want latin-9 (also called iso-8859-15) because it contains the Euro sign, put the following in your .emacs: (prefer-coding-system 'latin-9) Actually I personally think utf-8 is a better choice but then BBEdit should also be told to do that. -- Piet van Oostrum URL: http://www.cs.uu.nl/~piet [PGP] Private email: P.van.Oostrum@hccnet.nl