From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: linming Newsgroups: gmane.emacs.bugs 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 Message-ID: <5254ED94.9000201@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1381332867 18810 80.91.229.3 (9 Oct 2013 15:34:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2013 15:34:27 +0000 (UTC) To: 15572@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 17:34:30 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VTvmI-0000dz-7o for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 17:34:22 +0200 Original-Received: from localhost ([::1]:42519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTvmH-0005vR-OX for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 11:34:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTvm9-0005pM-5w for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 11:34:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTvm0-0003Le-J4 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 11:34:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTvm0-0003LY-E5 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 11:34:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VTvm0-0005mN-1s for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 11:34:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: linming Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2013 15:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15572 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138133282722176 (code B ref -1); Wed, 09 Oct 2013 15:34:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Oct 2013 15:33:47 +0000 Original-Received: from localhost ([127.0.0.1]:37917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTvli-0005lY-9V for submit@debbugs.gnu.org; Wed, 09 Oct 2013 11:33:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58291) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTmbG-0006za-KB for submit@debbugs.gnu.org; Wed, 09 Oct 2013 01:46:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTmbA-0006F6-Qo for submit@debbugs.gnu.org; Wed, 09 Oct 2013 01:46:22 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTmbA-0006Eh-Mw for submit@debbugs.gnu.org; Wed, 09 Oct 2013 01:46:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTmb5-0007ik-7R for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 01:46:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTmaz-000659-Px for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 01:46:11 -0400 Original-Received: from mail-pb0-x231.google.com ([2607:f8b0:400e:c01::231]:35567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTmaz-00061z-DM for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 01:46:05 -0400 Original-Received: by mail-pb0-f49.google.com with SMTP id xb4so385886pbc.8 for ; Tue, 08 Oct 2013 22:46:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=usPkpchojrHOELNhfYLOJF8ZxIurb2SJmU+sh4nK9Yg=; b=GItHx3qFyxflZ6t6cW9DgSpkikTD9dz1/OHPqoagNTjvpe5CO6g13+lB7Q/SKhQhsH OSlfQ3qJ0LI9IZ7ctA5F/OW3lPwzHuJE78Yn9z6ZX087LL7nRtJq+04sax5zDUviLXPS p20lCpDRyp8aso5JIMYN11T+WgnPYlnzVSDdW/sJjY0eMaAxMt4r5aMJdF1Bo1SOZmId Lik+x8qm7z/2m5f8pcC90T2PFEkfE7r+1sNQYclFt0+fPZBi1cfhPX+HF5OowFuUDckN vhU3bkn6il4JAqQJ498AF2gptlkHVCq8YnGP6rfedo4CX9IGCzBY9iRA9WleKzYZrj9H TIyg== X-Received: by 10.67.2.4 with SMTP id bk4mr7600293pad.78.1381297563678; Tue, 08 Oct 2013 22:46:03 -0700 (PDT) Original-Received: from [166.111.131.145] ([166.111.131.145]) by mx.google.com with ESMTPSA id vz4sm52069066pab.11.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 22:46:02 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Wed, 09 Oct 2013 11:33:44 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79089 Archived-At: 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] @="d:\\MyProgramFiles\\emacs\\bin\\emacsclientw.exe -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 -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' 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: M-x r e p b u g Recent messages: Loading d:/Document/HOME_DIR/.emacs.d/prelude-modules.el (source)...done Loading personal configuration files in d:/Document/HOME_DIR/.emacs.d/personal... 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: d:/Document/HOME_DIR/.emacs.d/elpa/flycheck-20131004.1534/.dir-locals hides d:/MyProgramFiles/emacs/lisp/gnus/.dir-locals Features: (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)