all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15572: 24.3; Emacs crash when start from unicode path with right click on windows
@ 2013-10-09  5:45 linming
  2013-10-09 17:11 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: linming @ 2013-10-09  5:45 UTC (permalink / raw)
  To: 15572

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:
<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
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)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15572: 24.3; Emacs crash when start from unicode path with right click on windows
  2013-10-09  5:45 bug#15572: 24.3; Emacs crash when start from unicode path with right click on windows linming
@ 2013-10-09 17:11 ` Eli Zaretskii
  2019-10-13  0:08   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2013-10-09 17:11 UTC (permalink / raw)
  To: linming; +Cc: 15572

> Date: Wed, 09 Oct 2013 13:45:56 +0800
> From: linming <linming04@gmail.com>
> 
> 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.

Unicode file names are not yet supported by Emacs on Windows.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15572: 24.3; Emacs crash when start from unicode path with right click on windows
  2013-10-09 17:11 ` Eli Zaretskii
@ 2019-10-13  0:08   ` Lars Ingebrigtsen
  2019-10-13  6:56     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-13  0:08 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 15572, linming

Eli Zaretskii <eliz@gnu.org> writes:

>> 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.
>
> Unicode file names are not yet supported by Emacs on Windows.

Is this supported now?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15572: 24.3; Emacs crash when start from unicode path with right click on windows
  2019-10-13  0:08   ` Lars Ingebrigtsen
@ 2019-10-13  6:56     ` Eli Zaretskii
  2020-09-22 15:40       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2019-10-13  6:56 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 15572, linming04

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: linming <linming04@gmail.com>,  15572@debbugs.gnu.org
> Date: Sun, 13 Oct 2019 02:08:22 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> 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.
> >
> > Unicode file names are not yet supported by Emacs on Windows.
> 
> Is this supported now?

They are, but I'm not sure it will fix this particular use case.  Can
someone please try that on Windows and report the results?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15572: 24.3; Emacs crash when start from unicode path with right click on windows
  2019-10-13  6:56     ` Eli Zaretskii
@ 2020-09-22 15:40       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2020-09-22 15:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 15572, linming04

Eli Zaretskii <eliz@gnu.org> writes:

> They are, but I'm not sure it will fix this particular use case.  Can
> someone please try that on Windows and report the results?

This was almost a year ago, so it seems unlikely to happen at this
point, and I'm closing this bug report.

If somebody sees the same problem now, please either respond to this
debbugs mail address, or open a new bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-22 15:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-09  5:45 bug#15572: 24.3; Emacs crash when start from unicode path with right click on windows linming
2013-10-09 17:11 ` Eli Zaretskii
2019-10-13  0:08   ` Lars Ingebrigtsen
2019-10-13  6:56     ` Eli Zaretskii
2020-09-22 15:40       ` Lars Ingebrigtsen

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.