[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5475: Archives with filenames with square brackets
From: |
Eli Zaretskii |
Subject: |
bug#5475: Archives with filenames with square brackets |
Date: |
Mon, 01 Feb 2010 06:15:27 +0200 |
> From: Juri Linkov <juri@jurta.org>
> Cc: cyd@stupidchicken.com, 5475@debbugs.gnu.org
> Date: Sun, 31 Jan 2010 23:59:40 +0200
>
> When I try to set `archive-zip-extract' to ("7z" "x" "-so") it puts some
> unnecessary information (header lines, progress indication, etc.) to
> the output buffer, because it outputs this to stderr. With the following
> change, stderr goes to /dev/null, but there is no chance to see possible
> errors
> (this patch is for demonstration only, not to be installed):
>
> === modified file 'lisp/arc-mode.el'
> --- lisp/arc-mode.el 2010-01-28 20:06:36 +0000
> +++ lisp/arc-mode.el 2010-01-31 21:48:51 +0000
> @@ -1080,7 +1080,7 @@ (defun archive-extract-by-stdout (archiv
> (apply 'call-process
> (car command)
> nil
> - t
> + '(t nil)
> nil
> (append (cdr command) (list archive name))))
>
> To process 7z in the correct branch, the following patch is needed,
> where any values other than pkunzip/pkzip are processed by
> archive-extract-by-stdout instead of archive-*-extract,
> where "unzip" needs to quote its filenames.
>
> So I propose to install the following patch, and add more
> changes for 7z processing after feature freeze.
Thanks. I'm not sure we need to support 7z, I just tried it to see if
other unzip programs expand wildcards by default like "unzip" does.
- bug#5475: Archives with filenames with square brackets, (continued)
- bug#5475: Archives with filenames with square brackets, Eli Zaretskii, 2010/01/27
- bug#5475: Archives with filenames with square brackets, Chong Yidong, 2010/01/28
- bug#5475: Archives with filenames with square brackets, Eli Zaretskii, 2010/01/28
- bug#5475: Archives with filenames with square brackets, Lennart Borgman, 2010/01/28
- bug#5475: Archives with filenames with square brackets, Eli Zaretskii, 2010/01/28
- bug#5475: Archives with filenames with square brackets, Juri Linkov, 2010/01/30
- bug#5475: Archives with filenames with square brackets, Eli Zaretskii, 2010/01/30
- bug#5475: Archives with filenames with square brackets, Juri Linkov, 2010/01/31
- bug#5475: Archives with filenames with square brackets, Eli Zaretskii, 2010/01/31
- bug#5475: Archives with filenames with square brackets, Juri Linkov, 2010/01/31
- bug#5475: Archives with filenames with square brackets,
Eli Zaretskii <=