[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quotes in Dired listing switches
From: |
Juri Linkov |
Subject: |
Re: Quotes in Dired listing switches |
Date: |
Mon, 25 Jan 2010 11:29:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (x86_64-pc-linux-gnu) |
I discovered another case where unquoted file names cause a bug.
When a zip archive contains a file with square brackets in its name
(e.g. "file[name].txt") then visiting this file displays an error:
caution: filename not matched: file[name].txt
That's because `archive-extract-by-stdout' runs `call-process'
where the filename is unquoted:
unzip -qq -c archive.zip file[name].txt
There are more calls of `call-process' in arc-mode.el, so perhaps
this is a more general problem.
--
Juri Linkov
http://www.jurta.org/emacs/