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: Thu, 13 Mar 2008 14:49:38 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205416280 21968 80.91.229.12 (13 Mar 2008 13:51:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2008 13:51:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Juanma Barranquero" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 13 14:51:48 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 1JZnq9-0003h6-Qz for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Mar 2008 14:51:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZnpa-0003A2-QI for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Mar 2008 09:50:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZnof-0002hG-4c for help-gnu-emacs@gnu.org; Thu, 13 Mar 2008 09:49:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZnod-0002fU-5y for help-gnu-emacs@gnu.org; Thu, 13 Mar 2008 09:49:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZnoc-0002fK-Rq for help-gnu-emacs@gnu.org; Thu, 13 Mar 2008 09:49:50 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZnoY-0004PN-Dc; Thu, 13 Mar 2008 09:49:46 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id 67AA9D4727AE; Thu, 13 Mar 2008 14:49:45 +0100 (CET) Original-Received: from [136.199.5.38] (helo=wednesday) by smtp05.web.de with asmtp (WEB.DE 4.109 #226) id 1JZnoV-0000po-00; Thu, 13 Mar 2008 14:49:43 +0100 In-Reply-To: (Juanma Barranquero's message of "Thu\, 13 Mar 2008 09\:18\:26 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (darwin) X-Sender: n_schumacher@web.de X-Provags-ID: V01U2FsdGVkX1/Vnsl7ypx8R5sZAIsthl9jTewFW1LX1isUcCWU Y5uAZhN8m/MkFLA78BD17noB5bQqdj6VxLobZWCFfP/xKQbVob mWLPtAxVeW/2luG/G/tQ== 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:52366 Archived-At: "Juanma Barranquero" wrote: > On Thu, Mar 13, 2008 at 5:28 AM, Eli Zaretskii wrote: > >> I see no difference here: in both case the bytestreams are different. >> The fact that Unicode sees one case but not the other as two >> equivalent strings, is irrelevant here, because file names are not >> simple text strings, they have other semantics. I think that depends on the file system. If the file system is ignorant of encodings (like a .txt file is) then I agree its irrelevant. But if the file system specifies an encoding (like an .xml file does) the appropriate semantics /should/ apply. > To me, of course the most important semantics of a filename is how it > does appear to the user. I don't want "readme" and "README" to be two > different files, for example. I'm strongly in favor of the > case-folding-to compare, case-preserving-to-store side. That, of course, opens another can of worms, because capitalization isn't absolute. "i" and "I" are equal files for you, but in Turkey they are distinct files... Unicode equality is well-defined, at least. > From my point of view, of course it is a problem. But I suppose > there's no point in discussing it. I suppose. I didn't really want to start a discussion about the file-system part anyway. regards, Nikolaj Schumacher