From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: 18374@debbugs.gnu.org
Subject: bug#18374: 24.3; term.el error when cd a directory with Chinese name
Date: Mon, 01 Sep 2014 06:21:09 +0200 [thread overview]
Message-ID: <87wq9o2cp6.fsf@gmail.com> (raw)
In-Reply-To: <540300A3.4010708@gmail.com>
Rangi Lin <rangiltw@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
prev parent reply other threads:[~2014-09-01 4:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-31 11:01 bug#18374: 24.3; term.el error when cd a directory with Chinese name Rangi Lin
2014-09-01 4:21 ` Thierry Volpiatto [this message]
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=87wq9o2cp6.fsf@gmail.com \
--to=thierry.volpiatto@gmail.com \
--cc=18374@debbugs.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.