From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tsugutomo.enami@jp.sony.com Newsgroups: gmane.emacs.bugs Subject: bug#18813: 25.0.50; gnus start fails unless image.el is loaded in advance. Date: Mon, 27 Oct 2014 10:57:54 +0900 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414375766 12192 80.91.229.3 (27 Oct 2014 02:09:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2014 02:09:26 +0000 (UTC) Cc: 18813-done@debbugs.gnu.org To: Katsumi Yamaoka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 27 03:09:20 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 1XiZkF-0006gF-An for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Oct 2014 03:09:19 +0100 Original-Received: from localhost ([::1]:58917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZkE-0008Es-Me for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Oct 2014 22:09:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZk6-0008EX-2p for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 22:09:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiZjz-000291-QL for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 22:09:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZjz-00028x-MZ for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 22:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XiZjy-0004HV-Ha; Sun, 26 Oct 2014 22:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: tsugutomo.enami@jp.sony.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 27 Oct 2014 02:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18813 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 18813-done@debbugs.gnu.org id=D18813.141437570416410 (code D ref 18813); Mon, 27 Oct 2014 02:09:02 +0000 Original-Received: (at 18813-done) by debbugs.gnu.org; 27 Oct 2014 02:08:24 +0000 Original-Received: from localhost ([127.0.0.1]:36287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XiZjM-0004Gb-07 for submit@debbugs.gnu.org; Sun, 26 Oct 2014 22:08:24 -0400 Original-Received: from ms4.sony.co.jp ([211.125.136.198]:37570) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XiZjI-0004GJ-Bj for 18813-done@debbugs.gnu.org; Sun, 26 Oct 2014 22:08:22 -0400 Original-Received: from mta5.noc.sony.co.jp ([IPv6:2001:cf8:0:192::42]) by ms4.sony.co.jp (R8/Sony) with ESMTP id s9R28C64023190 for <18813-done@debbugs.gnu.org>; Mon, 27 Oct 2014 11:08:12 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.04,792,1406559600"; d="scan'208";a="42137770" Original-Received: from sigxcpu.sm.sony.co.jp ([43.4.4.150]) by mrelay5.noc.sony.co.jp with ESMTP; 27 Oct 2014 11:08:12 +0900 Original-Received: by sigxcpu.sm.sony.co.jp (Postfix, from userid 8324) id 2C8A32DF7C; Mon, 27 Oct 2014 10:57:54 +0900 (JST) In-Reply-To: (Katsumi Yamaoka's message of "Mon, 27 Oct 2014 09:28:03 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) 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:95136 Katsumi Yamaoka writes: > Well, I have another doubt. Did you mean image.elc is not loaded > only if the display type is not graphical? Loading image.el won't fail and it works. I wonder if it is really necessary to setup image when display is not capable of displaying it. > Does the error happen in both 24.0.50 (you seem to use) and 25.0.50 > (labeled in the bug subject)? # 24.0.50 is currentl my main mail environment. As I was asked to # prepare patch against emacs trunk in bug#18728, I've prepared 25.0.50 # on temporary machine and found this bug#18813 while testing on it. This bug#18813 doesn't occur on 24.0.50, since image.el is loaded while gnus-art.el is loaded (gnus-image-type-available-p defined in gnus-ems.el calls image-type-available-p). On 25.0.50, tests in gnus-image-type-available-p are reordered and now control returns before calling image-type-available-p when display-images-p returns nil (it is in my case). So, image.el is not loaded. Hmm, why are they reordered? I guess it is to avoid loading unnecessary library. enami.