From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alp Aker Newsgroups: gmane.emacs.bugs Subject: bug#2940: 23.0.92; C-s in dired fails to find files with umlauts Date: Mon, 11 Jul 2011 18:02:16 -0400 (EDT) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Trace: dough.gmane.org 1310421811 32269 80.91.229.12 (11 Jul 2011 22:03:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2011 22:03:31 +0000 (UTC) Cc: 2940@debbugs.gnu.org, markus.triska@gmx.at To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 00:03:27 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QgOZa-0006BI-Mi for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2011 00:03:27 +0200 Original-Received: from localhost ([::1]:44225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgOZY-0005EA-MM for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2011 18:03:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgOZG-0005Dz-7U for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 18:03:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgOZE-0003c2-Aw for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 18:03:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgOZD-0003aw-LC for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 18:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QgOZC-0006SP-Qc; Mon, 11 Jul 2011 18:03:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Alp Aker Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2011 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2940 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 2940-submit@debbugs.gnu.org id=B2940.131042174924769 (code B ref 2940); Mon, 11 Jul 2011 22:03:02 +0000 Original-Received: (at 2940) by debbugs.gnu.org; 11 Jul 2011 22:02:29 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgOYe-0006RS-EA for submit@debbugs.gnu.org; Mon, 11 Jul 2011 18:02:28 -0400 Original-Received: from exprod7og106.obsmtp.com ([64.18.2.165]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QgOYb-0006RC-NZ for 2940@debbugs.gnu.org; Mon, 11 Jul 2011 18:02:27 -0400 Original-Received: from mb1i1.ns.pitt.edu ([136.142.11.152]) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP ID DSNKThty6Et5Rop6hQgaNLKEsoNBZEFhXpZB@postini.com; Mon, 11 Jul 2011 15:02:25 PDT Original-Received: from unixs1.cis.pitt.edu ([136.142.4.246]) by pitt.edu (PMDF V6.3-x11 #31505) with ESMTP id <0LO60063ZVVSMV@mb1i1.ns.pitt.edu> for 2940@debbugs.gnu.org; Mon, 11 Jul 2011 18:02:16 -0400 (EDT) X-X-Sender: aker@unixs1.cis.pitt.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 11 Jul 2011 18:03:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48660 Archived-At: Eli Zaretskii wrote: >>> (require 'ucs-normalize) >>> (setq file-name-coding-system 'utf-8-hfs) > > It could be that Emacs should do this on that platform automatically, > yes. But some Darwin expert should look into this and provide feedback, > before we decide. I'm no expert, but it doesn't look as if this is necessary. /lisp/term/ns-win.el already defines a coding system utf-8-nfd that performs normalization and it sets that as the value of file-name-coding-system. This takes care of the fact that the HFS+ filesystem uses decomposed file names, and indeed I can't reproduce (in either 24.0.50 or 23.3) the behavior described in the original bug report. OTOH, the code in question has been present in ns-win.el since the NS code was first merged into the main branch (rev 89434), so I'm not sure how the OP's problem arose in the first place.