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

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

bug#30902: 25.2; dired: image compression (png → jpg/jpeg)


From: Lars Ingebrigtsen
Subject: bug#30902: 25.2; dired: image compression (png → jpg/jpeg)
Date: Sun, 14 Jul 2019 16:21:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Michael 2 <address@hidden> writes:

> I praise to you because i want the variable:
> `dired-compress-files-alist' as a custom variable.
>
> Whololololo...
>
> I want to add my own compression-expressions. At the moment it is a
> normal global variable (defvar). And can't be accesed with M-x
> customize-variable.  My suggestion for compressing png-images would
> be:
>
>       `'(("\\.png\\.jpg\\'" . "convert %i %o"))'

I don't think that's appropriate as a default value for that variable,
because that's not compressing -- it's converting to a different format
from which the original can't be reconstructed.

And, in general, I don't feel it's very useful to make complex alists
like this into defcustoms, because it's so fiddly to get the syntax
right if you're not using an Emacs Lisp mode buffer.  So I'm closing
this bug report.

-- 
(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]