unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: yfb02119@nifty.com, 13262-done@debbugs.gnu.org
Subject: bug#13262: 24.3.50; crash when multibyte directory name completion.
Date: Mon, 24 Dec 2012 18:21:45 +0200	[thread overview]
Message-ID: <83y5gno1ye.fsf@gnu.org> (raw)
In-Reply-To: <jwvbodkm3wq.fsf-monnier+emacs@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Mon, 24 Dec 2012 00:10:41 -0500
> Cc: 13262@debbugs.gnu.org
> 
> > GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601)
> 
> Thanks.  Can you reproduce this in the current pretest (24.2.91)?

Yes, he could, until revision 111077 on the emacs-24 branch fixed that
(I think).

Sorry, the changes touch quite a few places, but they all had the same
problem: unwarranted assumptions that input Lisp strings passed to
primitives are multibyte.  The crash happened because file completion
calls directory-file-name with a unibyte string (an encoded file
name).  A similar mess was found and fixed in file-name-directory and
in expand-file-name.





  reply	other threads:[~2012-12-24 16:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-24  1:25 bug#13262: 24.3.50; crash when multibyte directory name completion yfb02119
2012-12-24  5:10 ` Stefan Monnier
2012-12-24 16:21   ` Eli Zaretskii [this message]
2012-12-24 18:21     ` martin rudalics
2012-12-24 21:20       ` Eli Zaretskii
2012-12-24 21:26         ` Eli Zaretskii
2012-12-25 18:08         ` martin rudalics

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y5gno1ye.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=13262-done@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=yfb02119@nifty.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).