From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#33282: ImageMagick delegates Date: Tue, 06 Nov 2018 23:39:42 +0200 Organization: LINKOV.NET Message-ID: <87h8gtx4v5.fsf@mail.linkov.net> References: <87muqn4728.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541540766 12339 195.159.176.226 (6 Nov 2018 21:46:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2018 21:46:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) To: 33282@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 06 22:46:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gK9Ac-00034c-1S for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Nov 2018 22:45:58 +0100 Original-Received: from localhost ([::1]:43809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gK9Ci-0005Pg-IP for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Nov 2018 16:48:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gK9B3-0002lH-OG for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2018 16:46:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gK96x-0006W5-Es for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2018 16:42:15 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33630) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gK96o-0005sp-3N for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2018 16:42:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gK96n-0001Yh-PW for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2018 16:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Nov 2018 21:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33282 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33282-submit@debbugs.gnu.org id=B33282.15415404925957 (code B ref 33282); Tue, 06 Nov 2018 21:42:01 +0000 Original-Received: (at 33282) by debbugs.gnu.org; 6 Nov 2018 21:41:32 +0000 Original-Received: from localhost ([127.0.0.1]:37888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gK96K-0001Y1-7I for submit@debbugs.gnu.org; Tue, 06 Nov 2018 16:41:32 -0500 Original-Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]:43610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gK96I-0001Xs-Hr for 33282@debbugs.gnu.org; Tue, 06 Nov 2018 16:41:31 -0500 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 3BFD4123DB0 for <33282@debbugs.gnu.org>; Tue, 6 Nov 2018 21:41:27 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a56.g.dreamhost.com (unknown [100.96.36.160]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E45CE122078 for <33282@debbugs.gnu.org>; Tue, 6 Nov 2018 21:41:26 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a56.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Tue, 06 Nov 2018 21:41:27 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Madly-Hook: 2e0c6aeb560960c9_1541540487051_3722661590 X-MC-Loop-Signature: 1541540487051:1077342253 X-MC-Ingress-Time: 1541540487051 Original-Received: from pdx1-sub0-mail-a56.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a56.g.dreamhost.com (Postfix) with ESMTP id A71868060A for <33282@debbugs.gnu.org>; Tue, 6 Nov 2018 13:41:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=zGpJUe/mQ4Vw6SMQ4OFy5J+UigY=; b= K4qHIfpbkmt2phoKbr7Kt2DRjqdD9DoelfCNPjka72xy/9xO5iA5QyWbsRNMv0Lm OKp2q7j4fyoBCqq2GWZ5+PAfYP1XPifl2x+SND+2YM5RTZBwTXJs4men+nmoI2/B p9xHtgRkOQ/xxOFj5XSyB9rWZndMOXzWhtiRl5S/bp0= Original-Received: from mail.jurta.org (m91-129-107-244.cust.tele2.ee [91.129.107.244]) (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-a56.g.dreamhost.com (Postfix) with ESMTPSA id 8D2EC805F9 for <33282@debbugs.gnu.org>; Tue, 6 Nov 2018 13:41:24 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a56 In-Reply-To: <87muqn4728.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 05 Nov 2018 22:52:47 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrjeejgdduhedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtjedrvdeggeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdejrddvgeegpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepfeefvdekvdesuggvsggsuhhgshdrghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152110 Archived-At: > WebP is an image format that is gaining popularity, > but currently can't be displayed by image-mode. > > It's supported by ImageMagick after installing > > sudo apt-get install webp > > The command `identify -list delegate` confirms that: > > webp => "dwebp' -pam '%i' -o '%o" > > It's possible to work around its missing support by adding to ~/.emacs: > > (add-to-list 'imagemagick-enabled-types 'WEBP) > > (advice-add 'imagemagick-types :around > (lambda (orig-fun &rest args) > (append (apply orig-fun args) '(WEBP)))) > > (imagemagick-register-types) > > So the question is: should `imagemagick-types' return > the delegate list in addition to the current list > of non-delegate image types? I tried GetDelegateList, but it returned some delegates on whose calling MagickRelinquishMemory caused a crash during bootstrapping. There is no crash when calling MagickRelinquishMemory not during bootstrapping, and I have no idea what is wrong.