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

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

bug#47119: 28.0.50; [patch][Dired] new user option for compressing dir s


From: Sun Lin
Subject: bug#47119: 28.0.50; [patch][Dired] new user option for compressing dir suffix
Date: Fri, 2 Apr 2021 00:57:20 +0000 (UTC)

There is another user option `compress-file-default-suffix` that allow user custom default suffix for compressing file in dired-mode.

These two patch allow user custom suffix for compressing folder and file in dired-mode by pressing "Z".

Both two patches are attached.
On Tuesday, March 23, 2021, 11:16:13 PM GMT+8, Lin Sun <lin.sun@zoom.us> wrote:


Hi Eli,

 

Sorry for my misunderstanding for your preview comments.

 

> but wouldn't it be better to use symbols instead of strings?

The new option `dired-compress-files-default-suffix` can be “.tar.gz” or “.tar.xz”… and it should work with variable ` dired-compress-file-suffixes` while this variable maybe extended by user. So the type:string is simple for implementation.

 

And yes, the document need update, changes are available in the attachment.

 

Please help to review the new patch. Thanks.

Attachment: 0001-dired-new-user-option-dired-compress-files-default-s.patch
Description: Text Data

Attachment: 0002-dired-new-user-option-dired-compress-file-default-su.patch
Description: Text Data


reply via email to

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