[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15572: 24.3; Emacs crash when start from unicode path with right cli

From: linming
Subject: bug#15572: 24.3; Emacs crash when start from unicode path with right click on windows
Date: Wed, 09 Oct 2013 13:45:56 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

On Windows 7, adding emacs to the explorer right menu, i.e., adding the
following .reg to the system register database:

[HKEY_CLASSES_ROOT\*\Shell\Edit with Emacs\command]
-na=d:\\MyProgramFiles\\emacs\\bin\\runemacs.exe  \"%0\""

In the windows explorer, right click on a file to launch emacs from the
menu item we added above. If the path contains unicode character, emacs
will crash.  However, if only file name contains unicode character, it
works fine. So the bug must be relevant to the unicode path name.

I'm using Emacs 24.3, download from GNU.org.

In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601)
 of 2013-03-18 on MARVIN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --with-gcc (4.7) --cflags

Important settings:
  value of $LC_ALL: UTF-8
  value of $LANG: CHS
  locale-coding-system: cp936
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tabbar-mwheel-mode: t
  tabbar-mode: t
  cua-mode: t
  winner-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  helm-occur-match-plugin-mode: t
  global-anzu-mode: t
  anzu-mode: t
  projectile-global-mode: t
  projectile-mode: t
  flx-ido-mode: t
  ido-ubiquitous-mode: t
  shell-dirtrack-mode: t
  volatile-highlights-mode: t
  global-hl-line-mode: t
  show-paren-mode: t
  recentf-mode: t
  savehist-mode: t
  global-auto-revert-mode: t
  prelude-global-mode: t
  prelude-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-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

Recent input:
<help-echo> M-x r e p b u g <return>

Recent messages:
Loading d:/Document/HOME_DIR/.emacs.d/prelude-modules.el (source)...done
Loading personal configuration files in
Loading d:/Document/HOME_DIR/.emacs.d/personal/custom.el (source)...done
Loading d:/Document/HOME_DIR/.emacs.d/personal/personal.el (source)...
Key Chord mode off
Loading tabbar-setup...done
Loading d:/Document/HOME_DIR/.emacs.d/personal/personal.el (source)...done
Prelude is ready to do thy bidding, Master lming!
For information about GNU Emacs and the GNU system, type C-h C-a.
ad-Orig-delete-backward-char: Text is read-only [4 times]

Load-path shadows:
hides d:/MyProgramFiles/emacs/lisp/gnus/.dir-locals

(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils tabbar easy-mmode avoid
cua-base server prelude-global-keybindings key-chord prelude-editor
winner undo-tree diff esh-var esh-io esh-cmd esh-opt esh-ext esh-proc
esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util re-builder
whitespace midnight ediff-merg ediff-diff ediff-wind ediff-help
ediff-util ediff-mult ediff-init ediff dired-x helm-projectile
helm-buffers helm-grep helm-regexp helm-elscreen helm-utils dired
helm-locate helm-config helm-aliases helm-misc helm anzu projectile grep
compile s bookmark pp expand-region text-mode-expansions
er-basic-expansions expand-region-custom expand-region-core flyspell
ispell smex flx-ido flx ido-ubiquitous ido tramp tramp-compat
auth-source gnus-util mm-util mail-prsvr password-cache tramp-loaddefs
shell pcomplete comint ansi-color format-spec etags ring
volatile-highlights hl-line paren windmove recentf tree-widget wid-edit
savehist saveplace uniquify diminish edmacro kmacro smartparens-config
smartparens warnings autorevert delsel prelude-mode prelude-core advice
help-fns advice-preload dash thingatpt prelude-ui zenburn-theme
prelude-packages ace-jump-mode-autoloads ack-and-a-half-autoloads
anzu-autoloads auctex-autoloads tex-site diminish-autoloads
elisp-slime-nav-autoloads expand-region-autoloads flx-ido-autoloads
flx-autoloads flycheck-autoloads f-autoloads gist-autoloads gh-autoloads
eieio byte-opt bytecomp byte-compile cconv gitconfig-mode-autoloads
gitignore-mode-autoloads rx goto-last-change-autoloads grizzl-autoloads
guru-mode-autoloads helm-projectile-autoloads helm-autoloads
ido-ubiquitous-autoloads key-chord-autoloads logito-autoloads
magit-autoloads git-rebase-mode-autoloads git-commit-mode-autoloads
markdown-mode-autoloads move-text-autoloads pcache-autoloads
projectile-autoloads pkg-info-autoloads rainbow-delimiters-autoloads
rainbow-mode-autoloads s-autoloads smart-tab-autoloads
smartparens-autoloads dash-autoloads finder-inf smex-autoloads
tabbar-ruler-autoloads info easymenu tabbar-autoloads
tree-mode-autoloads undo-tree-autoloads volatile-highlights-autoloads
yasnippet-autoloads zenburn-theme-autoloads package cl-macs gv cl cl-lib
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32
ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process w32 multi-tty emacs)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]