From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Image-conversion shims Date: Mon, 30 Sep 2019 13:27:14 -0400 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="123661"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 30 19:28:27 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 1iEzTG-000W32-Vt for ged-emacs-devel@m.gmane.org; Mon, 30 Sep 2019 19:28:27 +0200 Original-Received: from localhost ([::1]:55484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEzTF-0000qj-OM for ged-emacs-devel@m.gmane.org; Mon, 30 Sep 2019 13:28:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49841) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEzSE-0000qH-6C for emacs-devel@gnu.org; Mon, 30 Sep 2019 13:27:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEzSC-0003Zb-TF for emacs-devel@gnu.org; Mon, 30 Sep 2019 13:27:21 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:1544) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iEzSA-0003Yz-VD; Mon, 30 Sep 2019 13:27:19 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 808CE4487DB; Mon, 30 Sep 2019 13:27:18 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D23C84487D9; Mon, 30 Sep 2019 13:27:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1569864436; bh=zv6YmBpExuKRfq+vxIieC624hID2UOQ1ts9dk9W0uoI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=jaC7ZnGydV9fhV7V+Ro8cywMlaMyvDpE3iruomscNowGNNrfP5g8QL85k/neHGpvN EoAc4KlCtbTe7W+Ok0GAv6CSMspxOYEBb0+zmfNTs6Xx/FVf5whLyFEQPvm3NL7ayQ N/lreMvZt5TMY2J5EY6Hyq3eaiANqFnVsJ4w5ijWoadya3z5var5h2chyeFS5op1sH 2eBHc43JeDkNM0tODIDD6NLA20NcAnEIX/C4L6dXPi/1a5r+fo+OGAZd+YAhWfWOdp 6t2vdIdy8sh6T+AYgL5ZUqiyOMai5+tkEbT1yBBq8Z+mhtvgwK9xJUAIXr/LaQDa9w vAiRreBe+hSlA== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B7FA7120699; Mon, 30 Sep 2019 13:27:16 -0400 (EDT) In-Reply-To: <8736gea0do.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 30 Sep 2019 06:12:03 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 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:240415 Archived-At: > I.e., we want ("*.webp" . image-mode) in auto-mode-alist, but we can't > put it there before we've called "gm convert -list format", Why? .webp is an image format, so it should be associated with image-mode, whether we can display it or not (it's not like the behavior would be much better if we don't and end up showing it in fundamental-mode). Stefan