From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kalle Olavi Niemitalo Newsgroups: gmane.emacs.devel Subject: Re: Add a predicate for canonical file name Date: Sun, 16 Oct 2016 02:07:41 +0300 Message-ID: <87k2d9b48y.fsf@Niukka.kon.iki.fi> References: <838tux9h3c.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1476572876 7825 195.159.176.226 (15 Oct 2016 23:07:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Oct 2016 23:07:56 +0000 (UTC) Keywords: Linux,Apple,HFS+,Unicode normalization form,file name User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.51 (gnu/linux) Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, John Yates To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 16 01:07:52 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvY3T-0001RD-Lu for ged-emacs-devel@m.gmane.org; Sun, 16 Oct 2016 01:07:51 +0200 Original-Received: from localhost ([::1]:54384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvY3V-0008U2-HB for ged-emacs-devel@m.gmane.org; Sat, 15 Oct 2016 19:07:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvY2v-0008Tw-Aa for emacs-devel@gnu.org; Sat, 15 Oct 2016 19:07:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvY2q-00023B-De for emacs-devel@gnu.org; Sat, 15 Oct 2016 19:07:17 -0400 Original-Received: from sinikuusama2.dnainternet.net ([83.102.40.152]:38516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvY2q-00020d-6S; Sat, 15 Oct 2016 19:07:12 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by sinikuusama2.dnainternet.net (Postfix) with ESMTP id 1A93673A1; Sun, 16 Oct 2016 02:07:03 +0300 (EEST) X-Virus-Scanned: DNA Internet at dnainternet.net Original-Received: from sinikuusama2.dnainternet.net ([83.102.40.152]) by localhost (sinikuusama2.dnainternet.net [127.0.0.1]) (DNA Internet, port 10040) with ESMTP id z4Fbnmxe3dvy; Sun, 16 Oct 2016 02:07:02 +0300 (EEST) Original-Received: from kirsikkapuu2.dnainternet.net (kirsikkapuu2.dnainternet.net [83.102.40.52]) by sinikuusama2.dnainternet.net (Postfix) with ESMTP id F2CF37371; Sun, 16 Oct 2016 02:07:01 +0300 (EEST) Original-Received: from Niukka.Niemitalo.private (188-67-124-146.bb.dnainternet.fi [188.67.124.146]) by kirsikkapuu2.dnainternet.net (Postfix) with ESMTP id B65B67B; Sun, 16 Oct 2016 02:06:56 +0300 (EEST) In-Reply-To: (Richard Stallman's message of "Sat, 15 Oct 2016 18:05:27 -0400") X-Accept-Language: fi;q=1.0, en;q=0.9, sv;q=0.5, de;q=0.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 83.102.40.152 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208312 Archived-At: Richard Stallman writes: > > =E2=80=8BA further wrinkle arises from Unicode normalization. IIRC L= inux uses NFC, > > MacOS uses NFD. > > Do you mean Linux, the kernel, or GNU/Linux, the operating system? > I would suppose that Linux has no reason to concern itself with this > question. Linux cares about it when reading file names from Apple's HFS+ file system. I think the file names are stored as NFD on disk and the hfsplus_readdir function converts them to NFC, except I'm not sure the conversion entirely matches Unicode specifications.