GNU bug report logs -
#18374
24.3; term.el error when cd a directory with Chinese name
Previous Next
Reported by: Rangi Lin <rangiltw <at> gmail.com>
Date: Sun, 31 Aug 2014 23:33:01 UTC
Severity: normal
Found in version 24.3
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Rangi Lin <rangiltw <at> gmail.com> writes:
> Steps to reproduce :
>
> 1. create a directory with Chinese name
> mkdir /tmp/測試
>
> 2. start emacs with `emacs -Q'
>
> 3. `M-x term'
>
> 4. inside term mode
> cd /tmp/測試
>
> Result :
>
> Debugger entered--Lisp error: (error "No such directory found via
> CDPATH environment variable")
This is fixed in emacs-24.4, in emacs-24.3 add to .emacs:
(defadvice term-command-hook (before decode-string)
(setq string (decode-coding-string string locale-coding-system)))
(when (version< emacs-version "24.3.50.1") (ad-activate 'term-command-hook))
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
This bug report was last modified 10 years and 349 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.