GNU bug report logs - #967
23.0.60; Term.el can't handle Chinese directory and file.

Previous Next

Package: emacs;

Reported by: Andy Stewart <lazycat.manatee <at> gmail.com>

Date: Fri, 12 Sep 2008 04:55:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andy Stewart <lazycat.manatee <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: bug#967: 23.0.60; Term.el can't handle Chinese directory and file.
Date: Fri, 12 Sep 2008 12:45:58 +0800
term.el can't handle Chinese directory of file.

Example, I have a two directory like this:

/data/EnglishDirectory
/data/中文目录

Default in term-mode, if i type /data/En then i hit TAB key, term will complete to /data/EnglishDirectory/.
But if need complete directory's name is lead with Chinese, term can't complete Chinese directory name.
Example, when i type /data/中 and hit TAB, term can't complete 中文目录/, just stop cursor before '中'.

And same problem with file that lead with Chinese.

And have another bug with Chinese directory and file is:
When I type command 'cd /data/中文目录/' and hit RET, term can't cd the taget directory '/data/中文目录/', just cd '/data/'.
But if i type caommand 'cd /data/中文目录/' and M-x term-send-input, term can cd the target directory '/data/中文目录/'.

Thank you very much! :)

Regards.

Andy.


In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-09-10 on manatee
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--prefix=/home/andy/MyEmacs/Common' '--with-x' '--with-x-toolkit=gtk' '--enable-font-backend' '--with-freetype' '--with-xft' '--with-xpm' '--with-jpeg' '--with-png' '--with-gif' '--with-tiff' '--with-dbus''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: zh_CN.UTF-8
  value of $XMODIFIERS: @im=SCIM
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  auto-image-file-mode: t
  minibuffer-depth-indicate-mode: t
  savehist-mode: t
  display-time-mode: t
  show-paren-mode: t
  icicle-mode: t
  recentf-mode: t
  change-cursor-mode: t
  scroll-mode-line-mode: t
  tabbar-mwheel-mode: t
  tabbar-mode: t
  global-hl-line-mode: t
  which-function-mode: t
  yas/minor-mode: t
  shell-dirtrack-mode: t
  pabbrev-mode: t
  eldoc-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  hs-minor-mode: t

Recent input:
M-X M-X C-c p g j j j j j j j j j j j j j j j j j f 
q M-x e m a c s - r e <tab> M-N b g u <tab> M-N b u 
<tab> M-N M-N M-N r e <tab> p o <tab> r t <tab> b u 
<tab> RET

Recent messages:
Finish loading.  Resume in window [1]
Switch to window[1]
Newsticker started!
Loading /home/andy/.emacs.d/emms/cache...done
Toggling linum-mode off; better pass an explicit argument.
Toggling paredit-mode off; better pass an explicit argument.
For information about GNU Emacs and the GNU system, type C-h C-a.
Switch to window[1]
Startup with window[1]
This keybindings of EMMS type ? for help.




This bug report was last modified 16 years and 234 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.