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: Peter Dyballa
Subject: Re: File name completion on Mac OS X with German umlauts
Date: Mon, 10 Mar 2008 00:21:18 +0100


Am 09.03.2008 um 22:44 schrieb Markus:

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? Is Aquamacs Emacs set into UTF-8 "mood?" What value have LC_CTYPE or LANG in Terminal's shell environment? And finally: the Emacsen before 23.0.60 only "emulate" UTF-8 somehow.

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.


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. Nevertheless, both failures can be related to the same cause: apple uses in HFS+ decomposed Unicode characters. This means that your file's name starts with ru¨ ... Have you tried
    C-x C-f r u TAB

Yes, I knew this. This also works for Terminal. But hey: this is the year 2008, Emacs 22.x and Mac OS X 10.5 ... I expect German umlauts to work.

The umlauts are handled somehow in text – but HFS+ is something different. Emacs.app, the Cocoa/GNUSTEP implementation of GNU Emacs 23.0.60,can't handle such file names. Or apple's own tools! 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? In Finder itself it works better ...

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

--
Mit friedvollen Grüßen

  Pete

"A designer knows he has arrived at perfection not when there is no longer anything to add, but when there is no longer anything to take away."
                                – Antoine de Saint-Exupéry







reply via email to

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