Ar an dara lá de mí Aibréan, scríobh Glynn Clements:
On 21.4.15, Mule, with -vanilla:
If (default-directory) contains any non-ASCII characters, M-! runs the
command with the cwd set to XEmacs' initial cwd.
Playing around with various coding-system variables doesn't seem to
affect anything.
Any ideas?
I can get it to core dump, with a directory called /tmp/€ :
(shell-command "mkdir /tmp/`printf '\\0342\\0202\\0254'`")
(require 'un-define)
(setq file-name-coding-system 'utf-8
default-directory (format "/tmp/%c" (make-char 'latin-iso8859-15
36)))
(shell-command "pwd | hexdump -c")
Let’s see what happens with one of the Japanese coding systems; okay, looks
like it’s exhibiting the behaviour you’re seeing.
(shell-command "mkdir /tmp/`printf '\\0260\\0354'`")
(setq file-name-coding-system 'euc-jp
default-directory (format "/tmp/%c"
(make-char 'japanese-jisx0208 48 108)))
(shell-command "pwd | hexdump -c")
-> gives the initial directory. Good old Mule.
--
“I, for instance, am gung-ho about open source because my family is being
held hostage in Rob Malda’s basement. But who fact-checks me, or Enderle,
when we say something in public? No-one!” -- Danny O’Brien