From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: lekktu@gmail.com, lennart.borgman@gmail.com, svenjoac@gmx.de,
emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Can't start emacs when filename contains national character
Date: Sat, 29 Mar 2008 23:54:26 +0300 [thread overview]
Message-ID: <uabkhi73x.fsf@gnu.org> (raw)
In-Reply-To: <jwv8x01s2se.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sat, 29 Mar 2008 16:22:53 -0400)
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Sat, 29 Mar 2008 16:22:53 -0400
> Cc: lekktu@gmail.com, lennart.borgman@gmail.com, svenjoac@gmx.de,
> emacs-pretest-bug@gnu.org
>
> > 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.
>
> If the issue is performance, maybe we should just improve
> (en|de)code-coding-string to recognize those few special cases and
> redirect them to string-(to|as)-(uni|multi)byte.
I'm not sure it's warranted: we do something like
if (STRING_MULTIBYTE (foo))
foo = ENCODE_FILE (foo);
in quite a few more places, so it's probably efficient enough. It's
just that en/decode_coding is so scarily large, while string-to/make-*
are so seductively compact and simple...
next prev parent reply other threads:[~2008-03-29 20:54 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 [this message]
2008-03-29 23:29 ` YAMAMOTO Mitsuharu
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=uabkhi73x.fsf@gnu.org \
--to=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.