emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.60; Can't start emacs when filename contains national character


From: YAMAMOTO Mitsuharu
Subject: Re: 23.0.60; Can't start emacs when filename contains national character
Date: Sun, 30 Mar 2008 08:29:55 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sat, 29 Mar 2008 22:47:19 +0300, Eli Zaretskii <address@hidden> said:

>> 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.

Encoding/decoding should be used with care because they may cause GC
and thus string data relocation.  Actually, your fix has the same
problem as I pointed out in
http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-03/msg00026.html

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]