bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44901: 28.0.50; dired-compress-file: provide customization for compr


From: Lars Ingebrigtsen
Subject: bug#44901: 28.0.50; dired-compress-file: provide customization for compressing command
Date: Sun, 24 Jan 2021 00:35:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis <bugs@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]