all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Eli Zaretskii <eliz@gnu.org>
Cc: lekktu@gmail.com, lennart.borgman@gmail.com,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-pretest-bug@gnu.org, svenjoac@gmx.de
Subject: Re: 23.0.60; Can't start emacs when filename contains national character
Date: Sun, 30 Mar 2008 08:29:55 +0900	[thread overview]
Message-ID: <wld4pd9ki4.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <ubq4xia7s.fsf@gnu.org>

>>>>> On Sat, 29 Mar 2008 22:47:19 +0300, Eli Zaretskii <eliz@gnu.org> 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
				mituharu@math.s.chiba-u.ac.jp




  parent reply	other threads:[~2008-03-29 23:29 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29  2:20 23.0.60; Can't start emacs when filename contains national character Lennart Borgman (gmail)
2008-03-29  9:34 ` Juanma Barranquero
2008-03-29 11:23   ` Eli Zaretskii
2008-03-29 12:21     ` Sven Joachim
2008-03-29 13:01       ` Eli Zaretskii
2008-03-29 13:53         ` Eli Zaretskii
2008-03-29 14:45           ` Sven Joachim
2008-03-29 15:07             ` Eli Zaretskii
2008-03-29 15:31               ` Eli Zaretskii
2008-03-29 16:02                 ` Sven Joachim
2008-03-29 16:12                   ` Eli Zaretskii
2008-03-29 16:43                     ` Sven Joachim
2008-03-29 15:43               ` Lennart Borgman (gmail)
2008-03-29 15:53                 ` Eli Zaretskii
2008-03-29 17:55                   ` Lennart Borgman (gmail)
2008-03-29 18:35                     ` Eli Zaretskii
2008-03-29 19:15               ` Stefan Monnier
2008-03-29 19:47                 ` Eli Zaretskii
2008-03-29 20:22                   ` Stefan Monnier
2008-03-29 20:54                     ` Eli Zaretskii
2008-03-29 23:29                   ` YAMAMOTO Mitsuharu [this message]
2008-03-29 12:23     ` Andreas Schwab
2008-03-29 12:31       ` Sven Joachim
2008-03-29 13:20         ` Andreas Schwab
2008-03-29 13:54           ` Eli Zaretskii
2008-03-29 16:08             ` Andreas Schwab
2008-03-29 16:12               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wld4pd9ki4.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=eliz@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=lennart.borgman@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    --cc=svenjoac@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.