GNU bug report logs -
#44901
28.0.50; dired-compress-file: provide customization for compressing command
Previous Next
Reported by: Jean Louis <bugs <at> gnu.support>
Date: Fri, 27 Nov 2020 09:51:02 UTC
Severity: wishlist
Found in version 28.0.50
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 44901 <at> debbugs.gnu.org (full text, mbox):
Jean Louis <bugs <at> gnu.support> writes:
> Additionally this variable should be updated:
>
> (defvar dired-compress-files-alist
> '(("\\.tar\\.gz\\'" . "tar -cf - %i | gzip -c9 > %o")
> ("\\.tar\\.bz2\\'" . "tar -cf - %i | bzip2 -c9 > %o")
> ("\\.tar\\.xz\\'" . "tar -cf - %i | xz -c9 > %o")
> ("\\.tar\\.zst\\'" . "tar -cf - %i | zstd -19 -o %o")
> ("\\.zip\\'" . "zip %o -r --filesync %i"))
>
> to be:
>
> (defvar dired-compress-files-alist
> '(("\\.tar\\.gz\\'" . "tar -cf - %i | gzip -c9 > %o")
> ("\\.tar\\.bz2\\'" . "tar -cf - %i | bzip2 -c9 > %o")
> ("\\.tar\\.xz\\'" . "tar -cf - %i | xz -c9 > %o")
> ("\\.tar\\.lz\\'" . "tar -cf - %i | lzip -c9 > %o") ;; new line for lzip
> ("\\.tar\\.lzo\\'" . "tar -cf - %i | lzop -c9 > %o") ;; new line for lzop
> ("\\.tar\\.zst\\'" . "tar -cf - %i | zstd -19 -o %o")
> ("\\.zip\\'" . "zip %o -r --filesync %i"))
Makes sense; I've now pushed this to Emacs 28.
This change was small enough to apply without assigning copyright to the
FSF, but for future patches you want to submit, it might make sense to
get the paperwork started now, so that subsequent patches can be applied
speedily. Would you be willing to sign such paperwork?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 224 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.