GNU bug report logs - #10817
24.0.91; dired-get-filename in dired.el

Previous Next

Package: emacs;

Reported by: Robert Glöckner <robert.gloeckner <at> gmx.net>

Date: Wed, 15 Feb 2012 17:09:01 UTC

Severity: normal

Merged with 10469

Found in versions 24.0.91, 24.0.92

Fixed in version 24.0.93

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10817 in the body.
You can then email your comments to 10817 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10817; Package emacs. (Wed, 15 Feb 2012 17:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robert Glöckner <robert.gloeckner <at> gmx.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 15 Feb 2012 17:09:02 GMT) Full text and rfc822 format available.

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

From: Robert Glöckner <robert.gloeckner <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.91; dired-get-filename in dired.el
Date: Wed, 15 Feb 2012 15:26:10 +0100
dired-get-filename does not work properly with find-dired especially
when filenames contain whitespaces.

the following fix is not elegant, but works fine.
(imho replacing the read would be best)

replace this:
(read (concat "\"" file "\""))

with:
(setq file
      (replace-regexp-in-string
       "\\\\ " " "
       (read
        (concat
         "\"" (replace-regexp-in-string "\\ " "\\\\ " file) "\""))))


In GNU Emacs 24.0.91.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d 
scroll bars)
 of 2011-11-04 on ms-tron
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--with-x-toolkit=lucid' '--with-gif=no' 
'--with-tiff=no''




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10817; Package emacs. (Wed, 15 Feb 2012 17:18:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Robert Glöckner <robert.gloeckner <at> gmx.net>
Cc: 10817 <at> debbugs.gnu.org
Subject: Re: bug#10817: 24.0.91; dired-get-filename in dired.el
Date: Wed, 15 Feb 2012 12:15:34 -0500
Robert Glöckner wrote:

> dired-get-filename does not work properly with find-dired especially
> when filenames contain whitespaces.

I suspect it does, following
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10469

If it does not work for you in the current trunk (24.0.91 is a little
old), please give a complete example starting from emacs -Q.




Forcibly Merged 10469 10817. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 21 Feb 2012 21:44:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Mar 2012 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 94 days ago.

Previous Next


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