From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Newsgroups: gmane.emacs.help Subject: Re: File name completion on Mac OS X with German umlauts Date: Mon, 10 Mar 2008 19:57:49 +0100 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1205178109 21840 80.91.229.12 (10 Mar 2008 19:41:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2008 19:41:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 10 20:42:17 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JYnsS-0004XX-0Q for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Mar 2008 20:41:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYnrt-0003wf-My for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Mar 2008 15:41:05 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!news.motzarella.org!motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 74 Original-X-Trace: feeder.motzarella.org U2FsdGVkX19CBZR0l6O9pRVVEv2d9oxYCfEnF4185KZ+tfZvgdTCQwraQa5baBPye0HGyztulVOP4PHt2Qnb6ZkhJ5xidtmlPbCV0mkICw/eTvCaARmjKCAbQXM1GCyPiwmSwQGFxLk= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Mon, 10 Mar 2008 18:57:50 +0000 (UTC) In-Reply-To: X-Auth-Sender: U2FsdGVkX1+DHsqt0rJOkUhLBQNSIyywnIZd1wtznXs= Cancel-Lock: sha1:ZXsjvrbP6Vg2hIHjqiM05iQCMvo= User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) Original-Xref: shelby.stanford.edu gnu.emacs.help:156857 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52230 Archived-At: >>> 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ü (nothing happens) 2. Backspace (to delete the ü), u (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ü" ... > 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