From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Can't start emacs when filename contains national character Date: Sat, 29 Mar 2008 22:47:19 +0300 Message-ID: References: <47EDA753.4030107@gmail.com> <87od8x67r5.fsf@gmx.de> <87wsnl4miu.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1206820081 13136 80.91.229.12 (29 Mar 2008 19:48:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2008 19:48:01 +0000 (UTC) Cc: lekktu@gmail.com, lennart.borgman@gmail.com, svenjoac@gmx.de, emacs-pretest-bug@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 29 20:48:10 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jfh28-00081x-KZ for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 20:48:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jfh1X-0006Ya-1g for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 15:47:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jfh1S-0006Y5-SS for emacs-devel@gnu.org; Sat, 29 Mar 2008 15:47:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jfh1P-0006WR-PC for emacs-devel@gnu.org; Sat, 29 Mar 2008 15:47:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jfh1P-0006WG-L1 for emacs-devel@gnu.org; Sat, 29 Mar 2008 15:47:23 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jfh1P-0007vm-C3 for emacs-devel@gnu.org; Sat, 29 Mar 2008 15:47:23 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jfh1P-0001MI-4B for emacs-pretest-bug@gnu.org; Sat, 29 Mar 2008 15:47:23 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jfh1M-0007um-30 for emacs-pretest-bug@gnu.org; Sat, 29 Mar 2008 15:47:23 -0400 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jfh1L-0007ua-NR for emacs-pretest-bug@gnu.org; Sat, 29 Mar 2008 15:47:19 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-21-101.inter.net.il [80.230.21.101]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id KQB65572 (AUTH halo1); Sat, 29 Mar 2008 22:47:17 +0300 (IDT) In-reply-to: (message from Stefan Monnier on Sat, 29 Mar 2008 15:15:47 -0400) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93830 gmane.emacs.pretest.bugs:21777 Archived-At: > From: Stefan Monnier > Date: Sat, 29 Mar 2008 15:15:47 -0400 > Cc: lekktu@gmail.com, lennart.borgman@gmail.com, Sven Joachim , > emacs-pretest-bug@gnu.org > > > That probably means I used the wrong to/make-multibyte function to fix > > the problem. Will look into it, thanks. > > I recommend to stay as far away from string-to/as/make-unit/multibyte > as possible. Use en/decode-coding-string instead. That's what I did eventually. I tried to be smart at first, to maybe avoid the overhead of full-fledged decoding, but gave up and used DECODE_FILE instead.