From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: File name completion on Mac OS X with German umlauts Date: Sun, 09 Mar 2008 16:22:02 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1205076159 11311 80.91.229.12 (9 Mar 2008 15:22:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 15:22:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Markus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 09 16:23:06 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 1JYNMg-0003PC-7J for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Mar 2008 16:23:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYNM8-0005jB-1N for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Mar 2008 11:22:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYNLn-0005fe-If for help-gnu-emacs@gnu.org; Sun, 09 Mar 2008 11:22:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYNLm-0005du-6e for help-gnu-emacs@gnu.org; Sun, 09 Mar 2008 11:22:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYNLl-0005dm-VZ for help-gnu-emacs@gnu.org; Sun, 09 Mar 2008 11:22:09 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYNLl-0001Ar-Nl for help-gnu-emacs@gnu.org; Sun, 09 Mar 2008 11:22:09 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 68FEAD3E71C8; Sun, 9 Mar 2008 16:22:08 +0100 (CET) Original-Received: from [89.14.118.21] (helo=wednesday) by smtp07.web.de with asmtp (WEB.DE 4.109 #226) id 1JYNLk-0001pI-00; Sun, 09 Mar 2008 16:22:08 +0100 In-Reply-To: (Markus's message of "Sun\, 09 Mar 2008 12\:53\:08 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (darwin) X-Sender: n_schumacher@web.de X-Provags-ID: V01U2FsdGVkX1+L1YBfxaVDUNUgBdb9TUPswKjYL96Ev0HkurIT FS7xUfNj1e/7d2EH9/vZp28YrRXpNO3RN4GSNqN0ad/FUe0NM2 O67KvOSdMmxO0Q8O8vZg== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:52186 Archived-At: Markus wrote: > Hi, > > I'm using a German Mac OS X 10.5.2. I wanted to open a file called > "r=C3=BCckerstattung.txt". So I typed C-x C-f r=C3=BC ... but it di= dn't work. I > thought this was a bug in Aquamacs, but then I tried to do the same with = that > console emacs which is bundled with Mac OS X 10.5. Same issue. The reason is simple. OSX uses a less common formatting for umlauts. Instead of the code for the character =C3=BC it represents it as two characters, one for u and one for the dots. (Yes, that is still valid Unicode.) In fact, if you type "ru", Emacs and Bash will both offer r=C3=BCckerstattu= ng as a completion. That being said, I don't know any solution. I thought utf8-m.el would fix it, but I must have been mistaken. It's one of the cases where UTF-8 isn't backwards compatible with ASCII when comparing strings, so the fix is non-trivial. regards, Nikolaj Schumacher