From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: shell-quote-argument and multibyte
Date: Tue, 15 Apr 2003 22:16:48 +0900 (JST) [thread overview]
Message-ID: <200304151316.WAA24268@etlken.m17n.org> (raw)
In-Reply-To: <m3smsmm4ye.fsf@cicero.benny.turtle-trading.net> (message from Benjamin Riefenstahl on 14 Apr 2003 00:02:17 +0200)
In article <m3smsmm4ye.fsf@cicero.benny.turtle-trading.net>, Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> writes:
> Hi Lars,
> Lars Hansen <larsh@math.ku.dk> writes:
>> I dired one can specify a list of external viewers. This is a nice
>> new feature. However, there is a problem, at least on Windows, when
>> there are special characters in the file name. I don't know where
>> the problem should be fixed, but I do know that it disapears if
>> string-make-unibyte is called on ARGUMENT in shell-quote-argument.
By default, process arguements (including the filename in
the above case) are encoded by:
(cdr default-process-coding-system)
And usually, it is the same as
default-file-name-coding-system.
So, if it doesn't work, it means that something is wrong in
setting up coding systems on Windows.
Please show me the result of C-h C RET.
Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> writes:
> I would guess you rather want something like this to be generic:
> (decode-coding-string ARGUMENT
> (or file-name-coding-system
> default-file-name-coding-system))
No. At least "decode" must be actually "encode". And, it
shouldn't be done in shell-quote-argument. Such an encoding
should be done only for file names.
---
Ken'ichi HANDA
handa@m17n.org
next prev parent reply other threads:[~2003-04-15 13:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-13 20:28 shell-quote-argument and multibyte Lars Hansen
2003-04-13 21:57 ` Benjamin Riefenstahl
2003-04-13 22:02 ` Benjamin Riefenstahl
2003-04-15 13:16 ` Kenichi Handa [this message]
2003-04-15 17:52 ` Lars Hansen
2003-04-16 2:00 ` Kenichi Handa
2003-04-16 6:16 ` Lars Hansen
2003-04-16 6:28 ` Kenichi Handa
2003-04-17 13:54 ` Benjamin Riefenstahl
2003-04-17 19:35 ` Kai Großjohann
2003-04-18 12:14 ` Benjamin Riefenstahl
2003-04-18 15:35 ` Kai Großjohann
-- strict thread matches above, loose matches on Subject: below --
2003-05-11 17:51 Lars Hansen
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=200304151316.WAA24268@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
/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.