From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#22169: 25.0.50; File name compiletion doesn't work with non-ASCII characters on OS X Date: Tue, 15 Dec 2015 11:21:17 +0100 Message-ID: References: <83y4cw3kie.fsf@gnu.org> <83twnk3fg1.fsf@gnu.org> <83oads2x99.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0773ec702ae50526ed2650 X-Trace: ger.gmane.org 1450174946 30058 80.91.229.3 (15 Dec 2015 10:22:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Dec 2015 10:22:26 +0000 (UTC) Cc: 22169@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 15 11:22:20 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8mkL-00067g-Pi for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Dec 2015 11:22:18 +0100 Original-Received: from localhost ([::1]:36074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8mkL-0007lH-8u for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Dec 2015 05:22:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8mkA-0007Yt-Hh for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2015 05:22:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8mk7-0001x3-2D for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2015 05:22:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8mk6-0001wq-Va for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2015 05:22:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a8mk6-0005P3-Ek for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2015 05:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Dec 2015 10:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22169-submit@debbugs.gnu.org id=B22169.145017488520722 (code B ref 22169); Tue, 15 Dec 2015 10:22:02 +0000 Original-Received: (at 22169) by debbugs.gnu.org; 15 Dec 2015 10:21:25 +0000 Original-Received: from localhost ([127.0.0.1]:52221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8mjV-0005OA-67 for submit@debbugs.gnu.org; Tue, 15 Dec 2015 05:21:25 -0500 Original-Received: from mail-qk0-f181.google.com ([209.85.220.181]:33189) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8mjT-0005Nx-41 for 22169@debbugs.gnu.org; Tue, 15 Dec 2015 05:21:23 -0500 Original-Received: by mail-qk0-f181.google.com with SMTP id k189so5406634qkc.0 for <22169@debbugs.gnu.org>; Tue, 15 Dec 2015 02:21:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qvjydR43EmfAjquKEmHjto4/ppNITKgbEVgbB+0SMVU=; b=LVnP5pArNmaD2R/id2FYqcbwnyrVZVBmfIw08TAbDcyai+H6vAKkvz8KSO4gfTZ3a0 KjjtnoJzJrNG2kVXlL8qqDbSIXi+cQo12j+VZS3a5e7fTnH386nU9TGEuLGnV5yBFSFA N8G3ctdLZ5w7PvgLhcQn/M5yriuhecuBCcUhYL5XREojw4O+XDAttQcQ4BxKcBkVVG9U 3GYKGIW00qog7oQjOoBZ6VxPLiCt9mKg9Qw8w2TXeNzzwblAjbOQoDnzQxjjVjyFBGxy 0DmYsnInz5jhIgUPm2hdiI+KHHRftl+Uhs2fI4bEvg854shDL5AObkE7uH3WddyX4BIY +bNA== X-Received: by 10.13.227.130 with SMTP id m124mr22148512ywe.215.1450174877541; Tue, 15 Dec 2015 02:21:17 -0800 (PST) Original-Received: by 10.37.88.69 with HTTP; Tue, 15 Dec 2015 02:21:17 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:110012 Archived-At: --94eb2c0773ec702ae50526ed2650 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > > I tried setting it to nil. This made completion work. However, the > letters > > are presented in decomposed form, so that pressing backspace first > converts > > "=C3=A5" to "a", a second backspace deletes the "a" -- this is not how = we > would > > like to present file names to users. > > That's how composed characters work in Emacs. > Andreas, The OS X file system *stores* filenames in a decomposed manner, that is true. However, they should be presented to the user as normal (composed) characters. If `file-name-coding-system' has the original value, they are. However, the problem is that the completion mechanism fails to handle this case, which is a bug and it should be fixed. -- Anders --94eb2c0773ec702ae50526ed2650 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> I tried setting it to nil.= This made completion work. However, the letters
> are presented in decomposed form, so that pressing backspace first con= verts
> "=C3=A5" to "a", a second backspace deletes the &q= uot;a" -- this is not how we would
> like to present file names to users.

That's how composed characters work in Emacs.

Andreas,

The OS X file system *s= tores* filenames in a decomposed manner, that is true. However, they should= be presented to the user as normal (composed) characters. If `file-name-co= ding-system' has the original value, they are. However, the problem is = that the completion mechanism fails to handle this case, which is a bug and= it should be fixed.

=C2=A0 =C2=A0 -- Anders

--94eb2c0773ec702ae50526ed2650--