From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#10112: ImageMagick doesn't display some image formats Date: Tue, 09 Dec 2014 00:32:49 +0100 Message-ID: References: <871usz3jh8.fsf@mail.jurta.org> <87zkfltk13.fsf@mail.jurta.org> <85ehwx2o4v.fsf@iznogoud.viz> <857h2p2nnv.fsf@iznogoud.viz> <87pqghrv9a.fsf@mail.jurta.org> <874nx11j7j.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418081665 28520 80.91.229.3 (8 Dec 2014 23:34:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2014 23:34:25 +0000 (UTC) Cc: Wolfgang Jenkner , 10112@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 09 00:34:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xy7on-00062c-5C for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Dec 2014 00:34:17 +0100 Original-Received: from localhost ([::1]:36650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy7om-0001HL-Oh for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2014 18:34:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy7oe-0001HB-1p for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 18:34:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xy7oY-0004ti-Ig for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 18:34:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy7oY-0004ta-Fd for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 18:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xy7oY-00057P-1u for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 18:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Dec 2014 23:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10112 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: pending patch Original-Received: via spool by 10112-submit@debbugs.gnu.org id=B10112.141808159119610 (code B ref 10112); Mon, 08 Dec 2014 23:34:02 +0000 Original-Received: (at 10112) by debbugs.gnu.org; 8 Dec 2014 23:33:11 +0000 Original-Received: from localhost ([127.0.0.1]:58247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy7nj-00056D-Fz for submit@debbugs.gnu.org; Mon, 08 Dec 2014 18:33:11 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:44060) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy7nh-000562-LE for 10112@debbugs.gnu.org; Mon, 08 Dec 2014 18:33:10 -0500 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Xy7nO-0000Fe-FE; Tue, 09 Dec 2014 00:32:50 +0100 X-Now-Playing: Telebossa's _Telebossa_: "Der falsche Raum" X-Hashcash: 1:23:141208:wjenkner@inode.at::szaVuYdmrf4URteh:000000000000000000000000000000000000000000002pTS X-Hashcash: 1:23:141208:10112@debbugs.gnu.org::IHffIx1CS4R6F1O0:00000000000000000000000000000000000000005TzT X-Hashcash: 1:23:141208:juri@jurta.org::q31yNmQ9nBpvZaBZ:000EHXl In-Reply-To: <874nx11j7j.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 16 Dec 2011 01:57:52 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1Xy7nO-0000Fe-FE MailScanner-NULL-Check: 1418686370.74717@SiYB5f6RwTEHfTuxsPWoxw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97043 Archived-At: Juri Linkov writes: > -(defconst image-type-header-regexps > +(defvar image-type-header-regexps > `(("\\`/[\t\n\r ]*\\*.*XPM.\\*/" . xpm) > ("\\`P[1-6][[:space:]]+\\(?:#.*[[:space:]]+\\)*[0-9]+[[:space:]]+[0-9]+" . pbm) > ("\\`GIF8[79]a" . gif) > @@ -702,7 +704,14 @@ (defun imagemagick-register-types () > (let ((extension (concat "\\." (regexp-opt im-types) "\\'"))) > (push (cons extension 'image-mode) auto-mode-alist) > (push (cons extension 'imagemagick) > - image-type-file-name-regexps))))) > + image-type-file-name-regexps)) > + (dolist (header-regexp image-type-header-regexps) > + (let ((im-type (cdr header-regexp))) > + (when (and (member (symbol-name im-type) im-types) > + (not (memq (intern (upcase (symbol-name im-type))) > + imagemagick-types-inhibit))) > + (push (cons (car header-regexp) 'imagemagick) > + image-type-header-regexps))))))) > > (provide 'image) This bug was not installed after Emacs 24.1 was released, but it was marked as "pending". Is it still applicable? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no