all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Piet van Oostrum <piet@cs.uu.nl>
Subject: Re: Emacs on OS X Panther
Date: 15 Dec 2003 16:17:03 +0100	[thread overview]
Message-ID: <wz3cbmdsb4.fsf@nono.cs.uu.nl> (raw)
In-Reply-To: brc1b4$b1v$1@anderson.hrz.tu-chemnitz.de

>>>>> Sören Vogel <soeren.vogel@phil.tu-chemnitz.de> (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 <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum@hccnet.nl

      reply	other threads:[~2003-12-15 15:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bra4id$jtb$1@anderson.hrz.tu-chemnitz.de>
2003-12-12  1:03 ` Emacs on OS X Panther Stefan Monnier
2003-12-12  9:21   ` Sören Vogel
2003-12-15 15:17     ` Piet van Oostrum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wz3cbmdsb4.fsf@nono.cs.uu.nl \
    --to=piet@cs.uu.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.