help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File name completion on Mac OS X with German umlauts


From: Markus
Subject: Re: File name completion on Mac OS X with German umlauts
Date: Mon, 10 Mar 2008 19:57:49 +0100
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)

You could launch Aquamacs Emacs in Terminal, too: /Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\
 Emacs -nw

Here, typing ü yields to ??

Is Terminal set into UTF-8 encoding?

Yes, I'm using the default settings of Mac OS X 10.5.

I just found out that I get the ü correctly displayed when
invoking Aquamacs like this: emacs -nw -Q

Is Aquamacs Emacs set into UTF-8 "mood?"

How can I find that out?

What value have LC_CTYPE or LANG in Terminal's shell environment?

chris:~ mnissl$ locale
LANG="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_CTYPE="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_ALL=

And finally: the Emacsen before 23.0.60 only "emulate" UTF-8
somehow.

Geeze. And I thought Emacs 22.x would have sorta reached a
feature complete state of "basic" editing.

You might try again, adding also a -Q to the invocation, with Terminal in some ISO Latin encoding (ISO 8859-15 for example) and also set LC_CTYPE to this value.

I'm not fond of switching to a specific codepage if I have a unicode capable operating system and editor -- at least I thought I had ones ...

So, can't the autocomplete within Emacs work because it doesn't work under Terminal?
This is not really likely. The Emacsen do not use a shell based mechanism to expand a file name.

Then why does the Emacs file prompt feature the same bug as
Terminal (this happens both with Aquamacs 1.3 and the Emacs
bundled with Mac OS X 10.5):

1. C-x C-f rü<tab>    (nothing happens)
2. Backspace (to delete the ü), u<tab>     (autocompletes)
3. Delete backwards until you only have the r
4. Hit tab ... and you'll end up with r̈ckerstattung.txt

Try the same in Terminal with "ls rü<tab>" ...

Have you tried, just for fun or proof of apple's mis-concept,
to attach your file to an eMail and typed ``r ü´´ in the form
to find your file at once?

Err, Mac OS file open dialogs do not feature a prompt to type the file name ... only mouse clicks!

GNU/Linux can be a better choice than Mac OS X.

Well, in fact I switched to Mac OS X in order *not* to have the conversation we have now ... :-(

Thanks for your input,
Markus


reply via email to

[Prev in Thread] Current Thread [Next in Thread]