GNU bug report logs - #15426
24.3.50; Multibyte filenames and directory-files in unibyte buffer

Previous Next

Package: emacs;

Reported by: Andreas Politz <politza <at> hochschule-trier.de>

Date: Fri, 20 Sep 2013 16:49:01 UTC

Severity: normal

Found in version 24.3.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #41 received at 15426 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 15426 <at> debbugs.gnu.org, politza <at> hochschule-trier.de
Subject: Re: bug#15426: 24.3.50;
 Multibyte filenames and directory-files in unibyte buffer
Date: Sat, 21 Sep 2013 19:26:29 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Andreas Politz <politza <at> hochschule-trier.de>,  15426 <at> debbugs.gnu.org
> Date: Sat, 21 Sep 2013 12:06:10 -0400
> 
> >> => ("/tmp/\301\203\300\204/." nil "/tmp/\303\204/." t)
> > "The minibuffer displays" is the key point here:
> 
> No, the key point is that the two strings should be identical

But you don't see the strings, except after they are inserted into
some buffer.

> So the current-buffer's multibyte setting somehow affects the
> directory-files function.  That's the bug.

Yes.  But the way to show the bug is not to display the strings, but
to pass them to multibyte-string-p, or some other function whose
output's display cannot be possibly affected by multibyte-ness.




This bug report was last modified 11 years and 242 days ago.

Previous Next


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