unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Quotes in Dired listing switches
Date: Mon, 25 Jan 2010 12:35:42 +0200	[thread overview]
Message-ID: <83pr4y5v5t.fsf@gnu.org> (raw)
In-Reply-To: <871vhemsk1.fsf@mail.jurta.org>

> From: Juri Linkov <juri@jurta.org>
> Date: Mon, 25 Jan 2010 11:29:54 +0200
> 
> 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

No, that's because `unzip' expands wildcards in its command-line
arguments.  Since `call-process' doesn't go through the shell, the
arguments generally don't need to be quoted (except with `unzip',
argh).

I suggest that you file a bug report, because the fix is not trivial,
if we want to keep the code in arc-mode.el independent of the
customizable settings of the archive-*-extract etc. options.




      reply	other threads:[~2010-01-25 10:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23  9:07 Quotes in Dired listing switches Juri Linkov
2009-12-24  3:18 ` Stefan Monnier
2009-12-26 20:21   ` Michael Albinus
2009-12-28 10:29     ` Juri Linkov
2009-12-28 11:14       ` Michael Albinus
2009-12-28 21:08         ` Juri Linkov
2009-12-29  9:10           ` Michael Albinus
2009-12-29 20:35             ` Juri Linkov
2009-12-29 21:04               ` Michael Albinus
2009-12-29 17:10     ` Stefan Monnier
2009-12-30 19:46       ` Michael Albinus
2010-01-11  0:43   ` Juri Linkov
2010-01-25  9:29 ` Juri Linkov
2010-01-25 10:35   ` Eli Zaretskii [this message]

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=83pr4y5v5t.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    /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).