From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Image-conversion shims Date: Mon, 14 Oct 2019 22:27:05 +0300 Organization: LINKOV.NET Message-ID: <874l0bw2k6.fsf@mail.linkov.net> References: <87v9tctcca.fsf@gnus.org> <87impct2xf.fsf@gnus.org> <83zhinfufb.fsf@gnu.org> <87ftkfnx7a.fsf@gnus.org> <83eezzfh8c.fsf@gnu.org> <8736gea0do.fsf@gnus.org> <87muedrg7d.fsf@mail.linkov.net> <878spxe3hb.fsf@gnus.org> <87k19gwfwb.fsf@mail.linkov.net> <87h84j1asf.fsf@gnus.org> <87r23l67qr.fsf@gnus.org> <87sgnwq65j.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="51178"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 14 21:45:11 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iK6HG-000DAY-B8 for ged-emacs-devel@m.gmane.org; Mon, 14 Oct 2019 21:45:10 +0200 Original-Received: from localhost ([::1]:56512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK6HD-0006ip-Bl for ged-emacs-devel@m.gmane.org; Mon, 14 Oct 2019 15:45:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41475) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK692-0004bI-MQ for emacs-devel@gnu.org; Mon, 14 Oct 2019 15:36:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK691-0006uZ-BG for emacs-devel@gnu.org; Mon, 14 Oct 2019 15:36:40 -0400 Original-Received: from black.elm.relay.mailchannels.net ([23.83.212.19]:20068) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iK68w-0006nN-6p; Mon, 14 Oct 2019 15:36:35 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 060DB2C231A; Mon, 14 Oct 2019 19:36:30 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a7.g.dreamhost.com (100-96-87-223.trex.outbound.svc.cluster.local [100.96.87.223]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 998802C2298; Mon, 14 Oct 2019 19:36:29 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a7.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Mon, 14 Oct 2019 19:36:29 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Industry-Blushing: 28a644003b27d773_1571081789839_2254126908 X-MC-Loop-Signature: 1571081789839:3271864432 X-MC-Ingress-Time: 1571081789839 Original-Received: from pdx1-sub0-mail-a7.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a7.g.dreamhost.com (Postfix) with ESMTP id 768DC7F65F; Mon, 14 Oct 2019 12:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=xnoN8Q0QA58iHdenD6gHDLKt830=; b= dKFVEEfl+0CLJ+UlIhhw9/Km7NdcIZnXnc12yF2feXXiyBkGYbJSfUox3f+nQJ5X lK/Pw1uObICwa8M8FcdKA5HaodOW/gHMGunAlsFyvjl4lOXiRGxgR4YR2s8tXp/k vrBOkpcKzKHcde+vtf/0CL6wWmlbKLlBbWp+eBW7DCc= Original-Received: from mail.jurta.org (m91-129-98-153.cust.tele2.ee [91.129.98.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a7.g.dreamhost.com (Postfix) with ESMTPSA id D684C7F65B; Mon, 14 Oct 2019 12:36:21 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a7 In-Reply-To: <87sgnwq65j.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 14 Oct 2019 06:53:44 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.212.19 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241018 Archived-At: >> If the result is no worse than what we have in fundamental-mode, I think >> it's good. It's likely going to be better: image-mode could emit >> a helpful message explaining which variable to set to enable the use of >> external converters or which external converters to install to be able >> to display the image, for example. > > That's true. OK, you've convinced me: We should go through the list of > file types the external converters offer and add the ones that make > sense (.webp, .bmp, .etc) to auto-mode-alist, and we should change > image-mode's messaging a bit. Are file types that make sense the same file types that are in the default value of imagemagick-enabled-types? It could be a much shorter list for image-converter, and only when customized to 't' it could support all possible types.