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

Previous Next

Package: emacs;

Reported by: Michael 2 <michi_game <at> hotmail.com>

Date: Wed, 21 Mar 2018 23:14:02 UTC

Severity: wishlist

Tags: wontfix

Found in version 25.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 30902 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael 2 <michi_game <at> hotmail.com>
Cc: 30902 <at> debbugs.gnu.org
Subject: Re: bug#30902: 25.2; dired: image compression (png
 → jpg/jpeg)
Date: Sun, 14 Jul 2019 16:21:22 +0200
Michael 2 <michi_game <at> hotmail.com> 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




This bug report was last modified 6 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.