unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: Emacs on OS X Panther
       [not found] <bra4id$jtb$1@anderson.hrz.tu-chemnitz.de>
@ 2003-12-12  1:03 ` Stefan Monnier
  2003-12-12  9:21   ` Sören Vogel
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2003-12-12  1:03 UTC (permalink / raw)


> recently, I downloaded Mac-Emacs Version 21.3.50.1 from
> http://www.mindlube.com/products/emacs/. It installed fine on my iBook OS

Wrong newsgroup.  In general, for Emacs, you should use gnu.emacs.help
instead.  Also, normally for development versions (such as the one you
have), you should use emacs-pretest-bug@gnu.org.

> X 10.3. Now, how can I convince Emacs to display and accept German Umlaute
> characters? I put the lines

> (standard-display-european 1)
> (standard-display-8bit 0 255)

Don't.  This has been deprecated since Emacs-20.


        Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs on OS X Panther
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Sören Vogel @ 2003-12-12  9:21 UTC (permalink / raw)


Stefan Monnier wrote:

 > Wrong newsgroup.

Oops. So, again:

Hi,

recently I've downloaded Mac-Emacs Version 21.3.50.1 from 
http://www.mindlube.com/products/emacs/. It installed fine on my 
iBook OS X 10.3 (Panther). Meanwhile, I could convince it to 
accept German Umlaute characters type and display correctly (many 
thanks to Patrick Gundlach) by adding these two lines into my .emacs:

(set-keyboard-coding-system 'mac-roman)
(custom-set-variables
  '(default-frame-alist (quote ((tool-bar-lines . 0) 
(menu-bar-lines . 1) (font . 
"-etl-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-mac")))))

To make it short, sometimes when opening files edited with BBEdit 
7 it falls to it's old strange behavior with neither displaying 
nor accepting German Umlaute types ;-(. Then, characters like öäüß 
(oau with double dots above and SS) are display with upgrave, 
promille, cyrillic comma and ligatur fl or even squares and other 
embarrassing stuff.

For four days now, I've been googling around to find an infinitive 
solution to keep Emacs working alright -- meaning with all types 
of character sets, but there was nothing to be find. In fact, I 
don't even have an idea what the error is. The help inside Emacs 
or some howtos around are somewhat spanish to me since there seem 
to be lots of options to set up, e.g. font, kbd-layout, 
text-encoding etc. I wasn't able to sample all this stuff into one 
solution sheet, moreover, I wasn't able to understand most of them.

Could anyone post some hints from his/her .emacs file or run 
several diagnostics with me? I plan to create a sheet on my 
website to describe how other can setup their Emacs on Mac 
alright, that is ;-).

Thanks, Sören from Germany

PS: Would be nice if replied via email, too ;-).


-- 
http://www.tu-chemnitz.de/~sovo
soeren.vogel@phil.tu-chemnitz.de
ICQ 257 394 586

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs on OS X Panther
  2003-12-12  9:21   ` Sören Vogel
@ 2003-12-15 15:17     ` Piet van Oostrum
  0 siblings, 0 replies; 3+ messages in thread
From: Piet van Oostrum @ 2003-12-15 15:17 UTC (permalink / raw)


>>>>> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-15 15:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).