all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Michael 2 <michi_game@hotmail.com>
Cc: 30902@debbugs.gnu.org
Subject: bug#30902: 25.2; dired: image compression (png → jpg/jpeg)
Date: Sun, 14 Jul 2019 16:21:22 +0200	[thread overview]
Message-ID: <87sgr8zogt.fsf@mouse.gnus.org> (raw)
In-Reply-To: <HE1PR0801MB1931AA9BE1F879A67BDF8E6DF8AA0@HE1PR0801MB1931.eurprd08.prod.outlook.com> (Michael 2's message of "Wed, 21 Mar 2018 23:02:25 +0000")

Michael 2 <michi_game@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





      reply	other threads:[~2019-07-14 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-21 23:02 bug#30902: 25.2; dired: image compression (png → jpg/jpeg) Michael 2
2019-07-14 14:21 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgr8zogt.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=30902@debbugs.gnu.org \
    --cc=michi_game@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.