From unknown Wed Jun 18 23:08:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10578 <10578@debbugs.gnu.org> To: bug#10578 <10578@debbugs.gnu.org> Subject: Status: warning about mismatch between compile and run-time PNG libraries Reply-To: bug#10578 <10578@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:08:06 +0000 retitle 10578 warning about mismatch between compile and run-time PNG libra= ries reassign 10578 emacs submitter 10578 Lars Ingebrigtsen severity 10578 minor tag 10578 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 11:07:16 2012 Received: (at submit) by debbugs.gnu.org; 22 Jan 2012 16:07:16 +0000 Received: from localhost ([127.0.0.1]:40139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rozwp-0007Vc-Fi for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:07:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54030) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rozwm-0007VP-6y for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:07:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RozwW-0003ve-AS for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:06:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:49714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RozwW-0003va-90 for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:06:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RozwU-0004Dc-Kn for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 11:06:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RozwT-0003vI-5a for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 11:06:54 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:35985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RozwS-0003tz-Ng for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 11:06:53 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=linux-hvfx.site) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RozwE-00078z-DU for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 17:06:38 +0100 From: Lars Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 24.0.92; No png images on OpenSUSE 12.1 Date: Sun, 22 Jan 2012 17:12:18 +0100 Message-ID: <87y5sz1ztp.fsf@linux-hvfx.site> MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1RozwE-00078z-DU X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1327853199.79797@eQv+5TjrvXdaTX4r3gOLlQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) I'm trying to compile Emacs 24 (current bzr) under OpenSUSE 12.1. Everything seems to work fine except inserting PNG images. If I do the following, I just get a blank square: (insert-image (create-image "/music/repository/Arto Lindsay/Prize/thumbnail.png")) t If I insert a gif or a jpeg, things work fine. If I try to insert something that isn't an image at all, I get an error message. But with pngs, I don't get any error messages, and I don't get an image, just that blank square. The png libraries seem to exist: larsi@linux-hvfx:~/src/emacs/trunk> ldd src/emacs | grep png libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7631000) libpng14.so.14 => /usr/lib/libpng14.so.14 (0xb656f000) larsi@linux-hvfx:~/src/emacs/trunk> ls -l /usr/lib/libpng12.so.0 /usr/lib/libpng14.so.14 lrwxrwxrwx 1 root root 18 Dec 8 01:20 /usr/lib/libpng12.so.0 -> libpng12.so.0.46.0 lrwxrwxrwx 1 root root 18 Nov 10 17:25 /usr/lib/libpng14.so.14 -> libpng14.so.14.8.0 Is there any way to get more image debugging switched on? In GNU Emacs 24.0.92.2 (i686-pc-linux-gnu, X toolkit) of 2012-01-22 on linux-hvfx.site Windowing system distributor `The X.Org Foundation', version 11.0.11004000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-y C-x C-e C-x 2 C-x C-f C-a C-k . / m y r e u s r e o p p o A r t o / P r C-v C-x o C-a C-k C-k C-y C-y C-e x x x x x x M-d M-d d i s p l a y . j p e g C-u C-x C-e C-e C-e M-d t h u m b n a i l C-u C-x C-e C-v C-v C-v C-v C-x 1 C-v M-x a p e o r p n g M-x M-p i m a g e . * d e b u g M-x M-p d e b u g . * i m a g e M-x r e p o r t - e m Recent messages: PNG warning: Application was compiled with png.h from libpng-1.4.8 PNG warning: Application is running with png.c from libpng-1.2.46 PNG error: Incompatible libpng version in application and library Source file `/home/larsi/src/emacs/trunk/lisp/mail/emacsbug.el' newer than byte-compiled file PNG warning: Application was compiled with png.h from libpng-1.4.8 PNG warning: Application is running with png.c from libpng-1.2.46 PNG error: Incompatible libpng version in application and library PNG warning: Application was compiled with png.h from libpng-1.4.8 PNG warning: Application is running with png.c from libpng-1.2.46 PNG error: Incompatible libpng version in application and library Load-path shadows: ~/lisp/zenirc-2.112/src/zenirc-example hides /home/larsi/lisp/zenirc-example /home/larsi/src/cddb.el/expect hides /home/larsi/lisp/expect Features: (shadow sort message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader emacsbug help-mode easymenu view apropos tramp-cache tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util mm-util mail-prsvr password-cache shell pcomplete comint ring format-spec tramp-loaddefs debug uniquify advice help-fns advice-preload ido flyspell ispell dired regexp-opt add-log mail-extr jka-compr cl time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 11:31:08 2012 Received: (at 10578) by debbugs.gnu.org; 22 Jan 2012 16:31:09 +0000 Received: from localhost ([127.0.0.1]:40144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp0Js-000840-SL for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:31:08 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:45673) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp0Jm-00083S-6k for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 11:31:03 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LY700M00JX23U00@a-mtaout22.012.net.il> for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 18:30:42 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.215.109]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LY700MVPKJ56500@a-mtaout22.012.net.il>; Sun, 22 Jan 2012 18:30:41 +0200 (IST) Date: Sun, 22 Jan 2012 18:30:43 +0200 From: Eli Zaretskii Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 In-reply-to: <87y5sz1ztp.fsf@linux-hvfx.site> X-012-Sender: halo1@inter.net.il To: Lars Ingebrigtsen Message-id: <83k44j3djg.fsf@gnu.org> References: <87y5sz1ztp.fsf@linux-hvfx.site> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10578 Cc: 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Lars Ingebrigtsen > Date: Sun, 22 Jan 2012 17:12:18 +0100 > > I'm trying to compile Emacs 24 (current bzr) under OpenSUSE 12.1. > Everything seems to work fine except inserting PNG images. > > If I do the following, I just get a blank square: > > (insert-image (create-image "/music/repository/Arto Lindsay/Prize/thumbnail.png")) > t > > If I insert a gif or a jpeg, things work fine. If I try to insert > something that isn't an image at all, I get an error message. But with > pngs, I don't get any error messages, and I don't get an image, just > that blank square. Yes you do: > Recent messages: > PNG warning: Application was compiled with png.h from libpng-1.4.8 > PNG warning: Application is running with png.c from libpng-1.2.46 > PNG error: Incompatible libpng version in application and library Any questions? From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 11:47:02 2012 Received: (at submit) by debbugs.gnu.org; 22 Jan 2012 16:47:02 +0000 Received: from localhost ([127.0.0.1]:40160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp0ZG-0008Pd-DW for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:47:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47145) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp0ZD-0008PQ-HC for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:46:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp0Yu-0000Hk-N2 for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:46:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:40265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp0Yu-0000He-Lb for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:46:36 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp0Yq-0002MT-Px for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 11:46:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp0Ym-0000Gp-JZ for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 11:46:32 -0500 Received: from lo.gmane.org ([80.91.229.12]:32912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp0Ym-0000Gj-ES for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 11:46:28 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rp0Yk-0003cE-Et for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 17:46:26 +0100 Received: from pd9eb44b2.dip.t-dialin.net ([217.235.68.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jan 2012 17:46:26 +0100 Received: from Stromeko by pd9eb44b2.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jan 2012 17:46:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Achim Gratz Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 Date: Sun, 22 Jan 2012 17:46:14 +0100 Lines: 38 Message-ID: <87aa5fu1m1.fsf@Rainer.invalid> References: <87y5sz1ztp.fsf@linux-hvfx.site> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb44b2.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:vgJX641lDF+4x9WWHkwdOPJH6+Q= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Lars Ingebrigtsen writes: > I'm trying to compile Emacs 24 (current bzr) under OpenSUSE 12.1. > Everything seems to work fine except inserting PNG images. > > If I do the following, I just get a blank square: > > (insert-image (create-image "/music/repository/Arto Lindsay/Prize/thumbnail.png")) > t > > If I insert a gif or a jpeg, things work fine. If I try to insert > something that isn't an image at all, I get an error message. But with > pngs, I don't get any error messages, and I don't get an image, just > that blank square. > > The png libraries seem to exist: > > larsi@linux-hvfx:~/src/emacs/trunk> ldd src/emacs | grep png > libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7631000) > libpng14.so.14 => /usr/lib/libpng14.so.14 (0xb656f000) > larsi@linux-hvfx:~/src/emacs/trunk> ls -l /usr/lib/libpng12.so.0 /usr/lib/libpng14.so.14 > lrwxrwxrwx 1 root root 18 Dec 8 01:20 /usr/lib/libpng12.so.0 -> libpng12.so.0.46.0 > lrwxrwxrwx 1 root root 18 Nov 10 17:25 /usr/lib/libpng14.so.14 -> libpng14.so.14.8.0 I'm on Tumbleweed, but my system looks the same in that respect and PNG insertion works a charm with Emacs24 compiled yesterday. Check that lrwxrwxrwx 1 root root 11 19. Nov 18:32 /usr/lib/libpng.so -> libpng12.so it might point to libpng14.so on your system? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 11:50:29 2012 Received: (at 10578) by debbugs.gnu.org; 22 Jan 2012 16:50:29 +0000 Received: from localhost ([127.0.0.1]:40164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp0ce-0008UW-Jl for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:50:29 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:56483) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp0cc-0008UI-BE for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 11:50:27 -0500 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 1Rp0cG-0007fc-Fc; Sun, 22 Jan 2012 17:50:04 +0100 From: Lars Magne Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEWCenKbl5MOBQWgnpqU ko7NyLRpUEQ9IR/WqZ1NAAACVUlEQVQ4jX2UQXObMBCFhU3E1Sq4vqY6WFcYN+RaJnK5xgflLGNn dQVKpb/fXeE0sTPtztge9tPb94QMTGshRL67KVEwXYhciOoWaBYVN5KquoC8ErsrjcgJRMm1JiqK hjzEZ/OL4IpU+T9AVHyfR+WfwCyp8o9EkLmY416NyqNH8/+4eUQ/GFYSgQ9zAUDP2JJGcssRDKu7 FXhIjDGWpviSJdUKwbfD/pCp8fgGeIqhSq3ZL+wE6LYXUKZEI9gZ48EpAmgM5M74k2a/DQGQe2NO tS3PrOQ2OTeavRrzDAEk/p5aveGLrM+GAUfdGfPiVIig7nnLw7SBI6ay5rCG0BFITq13fDG1XxI8 QWVeXgGcBGOWfTvV8Nj3rSgQPDwz3PVoyaM/c1tjsAaBXJccnB9x1NK5zLrWt8cBPWSK692cytbh BMG7fsK40uMuuFOYbmnr+9x2U1gkGFcG5cF2fk2KDHZ2M2UbTR5SBgJsbU5u+hr6x+Enb/IIZG8z AvEuAVj84ChFALJg94bhfU3wwCuxIjBK6a0L9tUwC8xGEVAqBFvIJJzMktuOJivuE822CJSjBA9L 5mWsLaQ4ymF/lGPAgSxglxaGNKbawiidksqfcVLoqXEkEDx3MqBkArLwZIKpME8H1JajZ93spyym wr9aCKPCM5STxWZ3T6MaUjg82VEiGChtR6PgqWDO47mqGGY4dpdUHBUQXAR4OaTdvI9ozj2GvQC2 eNtgNA/ysu5Y2PkG81TT86EbHb8KfHnoBp+UAi/jC+C9CoSxfQX+SiO5VnyoP2a2Bj36n6VFAAAA AElFTkSuQmCC X-Now-Playing: Sandy Denny's _Complete Recordings 3 (Fairport Convention: What We Did On Our Holidays & Unhalfbricking)_: "Fairport Convention - Eastern Rain" Date: Sun, 22 Jan 2012 17:50:02 +0100 In-Reply-To: <83k44j3djg.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Jan 2012 18:30:43 +0200") Message-ID: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Rp0cG-0007fc-Fc X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1327855804.82002@830puW+rXPJ6398yB+VLQA X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10578 Cc: 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Eli Zaretskii writes: >> Recent messages: >> PNG warning: Application was compiled with png.h from libpng-1.4.8 >> PNG warning: Application is running with png.c from libpng-1.2.46 >> PNG error: Incompatible libpng version in application and library > > Any questions? Of course. 1) Why didn't the warnings appear in the echo area instead of just hiding out in the *Messages* buffer? 2) If I have both libpng12 and 14 installed, why is Emacs building against 14 and then preferring 12 when running? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 11:59:58 2012 Received: (at submit) by debbugs.gnu.org; 22 Jan 2012 16:59:58 +0000 Received: from localhost ([127.0.0.1]:40168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp0lo-0000FU-VP for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:59:57 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58874) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp0lk-0000FG-8U for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:59:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp0lU-0001kg-Cd for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:59:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:32882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp0lU-0001kc-A7 for submit@debbugs.gnu.org; Sun, 22 Jan 2012 11:59:36 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp0lT-0004Eb-68 for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 11:59:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp0lP-0001kS-MD for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 11:59:35 -0500 Received: from lo.gmane.org ([80.91.229.12]:34134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp0lP-0001kL-HE for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 11:59:31 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rp0lM-00011u-WE for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 17:59:29 +0100 Received: from pd9eb44b2.dip.t-dialin.net ([217.235.68.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jan 2012 17:59:28 +0100 Received: from Stromeko by pd9eb44b2.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jan 2012 17:59:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Achim Gratz Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 Date: Sun, 22 Jan 2012 17:59:14 +0100 Lines: 15 Message-ID: <8762g3u10d.fsf@Rainer.invalid> References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb44b2.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:5bHvw9HKUJDcj4AWsEPsx1Dd/bY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Lars Magne Ingebrigtsen writes: > 2) If I have both libpng12 and 14 installed, why is Emacs building > against 14 and then preferring 12 when running? I think I know that one: you have libpng14-devel installed, but not libpng12-devel and libpng12-compat-devel... Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 12:02:38 2012 Received: (at 10578) by debbugs.gnu.org; 22 Jan 2012 17:02:38 +0000 Received: from localhost ([127.0.0.1]:40172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp0oP-0000KE-6Y for submit@debbugs.gnu.org; Sun, 22 Jan 2012 12:02:37 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:59950) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp0oI-0000Jv-ME for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 12:02:35 -0500 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 01C9018008EA; Sun, 22 Jan 2012 18:02:13 +0100 (CET) X-Auth-Info: LRZqMwv/z27Y1vcbk04dzoe4iTLPdxrNJJb4cDfgpP4= Received: from igel.home (ppp-93-104-157-111.dynamic.mnet-online.de [93.104.157.111]) by mail.mnet-online.de (Postfix) with ESMTPA id D10561C00204; Sun, 22 Jan 2012 18:02:13 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 433A4CA29E; Sun, 22 Jan 2012 18:02:13 +0100 (CET) From: Andreas Schwab To: Lars Magne Ingebrigtsen Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> X-Yow: Yow! Is my fallout shelter termite proof? Date: Sun, 22 Jan 2012 18:02:13 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 22 Jan 2012 17:50:02 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10578 Cc: Eli Zaretskii , 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Lars Magne Ingebrigtsen writes: > 2) If I have both libpng12 and 14 installed, why is Emacs building > against 14 and then preferring 12 when running? Your emacs is linked (indirectly) against both versions. Which of the libpng14-devel, libpng14-compat-devel, libpng12-devel, libpng12-compat-devel packages do you have installed? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 12:52:14 2012 Received: (at 10578) by debbugs.gnu.org; 22 Jan 2012 17:52:14 +0000 Received: from localhost ([127.0.0.1]:40178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp1aM-0001R7-Rc for submit@debbugs.gnu.org; Sun, 22 Jan 2012 12:52:14 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:56073) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp1aH-0001QZ-1W for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 12:52:09 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LY700500O3WS400@a-mtaout21.012.net.il> for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 19:51:47 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.215.109]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LY7005OZOA1GBB0@a-mtaout21.012.net.il>; Sun, 22 Jan 2012 19:51:39 +0200 (IST) Date: Sun, 22 Jan 2012 19:51:40 +0200 From: Eli Zaretskii Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 In-reply-to: X-012-Sender: halo1@inter.net.il To: Lars Magne Ingebrigtsen Message-id: <83ipk339sj.fsf@gnu.org> References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10578 Cc: 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Lars Magne Ingebrigtsen > Cc: 10578@debbugs.gnu.org > Date: Sun, 22 Jan 2012 17:50:02 +0100 > > Eli Zaretskii writes: > > >> Recent messages: > >> PNG warning: Application was compiled with png.h from libpng-1.4.8 > >> PNG warning: Application is running with png.c from libpng-1.2.46 > >> PNG error: Incompatible libpng version in application and library > > > > Any questions? > > Of course. > > 1) Why didn't the warnings appear in the echo area instead of just > hiding out in the *Messages* buffer? Most probably because they are emitted during redisplay, and you cannot have anything displayed in the echo area at redisplay time, because doing so re-enters redisplay, which will again produce the same error message, etc., ad nauseam (a.k.a. infloop). > 2) If I have both libpng12 and 14 installed, why is Emacs building > against 14 and then preferring 12 when running? Because Emacs on GNU/Linux doesn't use the kind of machinery it does on MS-Windows, whereby it will reject 12 if it was compiled against 14. See w32-win.el:dynamic-library-alist, and in particular how it consults the variable libpng-version (which is set at compile time). From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 13:12:51 2012 Received: (at 10578) by debbugs.gnu.org; 22 Jan 2012 18:12:51 +0000 Received: from localhost ([127.0.0.1]:40202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp1uM-0001ti-R9 for submit@debbugs.gnu.org; Sun, 22 Jan 2012 13:12:51 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:48361) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp1uK-0001tV-FT for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 13:12:49 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LY700H00P34G200@a-mtaout23.012.net.il> for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 20:12:32 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.215.109]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LY700HVUP8VDC60@a-mtaout23.012.net.il>; Sun, 22 Jan 2012 20:12:31 +0200 (IST) Date: Sun, 22 Jan 2012 20:12:34 +0200 From: Eli Zaretskii Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 In-reply-to: <83ipk339sj.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: larsi@gnus.org Message-id: <83hazn38tp.fsf@gnu.org> References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 10578 Cc: 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.5 (/) > Date: Sun, 22 Jan 2012 19:51:40 +0200 > From: Eli Zaretskii > Cc: 10578@debbugs.gnu.org > > > 1) Why didn't the warnings appear in the echo area instead of just > > hiding out in the *Messages* buffer? > > Most probably because they are emitted during redisplay, and you > cannot have anything displayed in the echo area at redisplay time, > because doing so re-enters redisplay, which will again produce the > same error message, etc., ad nauseam (a.k.a. infloop). The message is logged by image_error that has this commentary: /* Log error message with format string FORMAT and argument ARG. Signaling an error, e.g. when an image cannot be loaded, is not a good idea because this would interrupt redisplay, and the error message display would lead to another redisplay. This function therefore simply displays a message. */ (That last "displays" should be "logs".) From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 14:33:57 2012 Received: (at 10578) by debbugs.gnu.org; 22 Jan 2012 19:33:57 +0000 Received: from localhost ([127.0.0.1]:40213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp3Ar-0003ge-Fh for submit@debbugs.gnu.org; Sun, 22 Jan 2012 14:33:57 -0500 Received: from mail-pw0-f44.google.com ([209.85.160.44]:47783) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp3Am-0003gQ-An for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 14:33:56 -0500 Received: by pbcc7 with SMTP id c7so202885pbc.3 for <10578@debbugs.gnu.org>; Sun, 22 Jan 2012 11:33:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=6S1PD//H5VXjXbItQlSQApOXxz5Zxz2QT0bHZcFBLO0=; b=EuLflVkpntyRicqfFCBOlt7v6zyFdL4wpi4KMEza13K+AmVbHln+W036ivAvh/wbQz OqKZD1ziY6a+b+XX00Ioycz1IrcGdi7qqcC4cvnDWCtoDAnOU7fI7SJd/3Oa0p/R/2n1 5swUhQP6828K5PdEI4DGm8N9N2kni8g22oi2s= Received: by 10.68.226.137 with SMTP id rs9mr14688487pbc.94.1327260816202; Sun, 22 Jan 2012 11:33:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.149.13 with HTTP; Sun, 22 Jan 2012 11:32:55 -0800 (PST) In-Reply-To: <83hazn38tp.fsf@gnu.org> References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> From: Juanma Barranquero Date: Sun, 22 Jan 2012 20:32:55 +0100 Message-ID: Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sun, Jan 22, 2012 at 19:12, Eli Zaretskii wrote: > The message is logged by image_error that has this commentary: > > =C2=A0/* Log error message with format string FORMAT and argument ARG. > =C2=A0 =C2=A0 Signaling an error, e.g. when an image cannot be loaded, is= not a > =C2=A0 =C2=A0 good idea because this would interrupt redisplay, and the e= rror > =C2=A0 =C2=A0 message display would lead to another redisplay. =C2=A0This= function > =C2=A0 =C2=A0 therefore simply displays a message. =C2=A0*/ > > (That last "displays" should be "logs".) Couldn't that simply set a warning in `delayed-warnings-list'? It would cause a warning at post-command-hook time. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 15:41:28 2012 Received: (at 10578) by debbugs.gnu.org; 22 Jan 2012 20:41:28 +0000 Received: from localhost ([127.0.0.1]:40237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp4E8-0005DS-HK for submit@debbugs.gnu.org; Sun, 22 Jan 2012 15:41:28 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:38501) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp4E2-0005DA-1V for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 15:41:23 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LY700600VJME200@a-mtaout21.012.net.il> for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 22:41:01 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.18.29]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LY7006U4W4C2MB0@a-mtaout21.012.net.il>; Sun, 22 Jan 2012 22:41:01 +0200 (IST) Date: Sun, 22 Jan 2012 22:41:03 +0200 From: Eli Zaretskii Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 In-reply-to: To: Juanma Barranquero Message-id: <83fwf731y8.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Juanma Barranquero > Date: Sun, 22 Jan 2012 20:32:55 +0100 > Cc: larsi@gnus.org, 10578@debbugs.gnu.org >=20 > On Sun, Jan 22, 2012 at 19:12, Eli Zaretskii wrote: >=20 > > The message is logged by image_error that has this commentary: > > > > =C2=A0/* Log error message with format string FORMAT and argument= ARG. > > =C2=A0 =C2=A0 Signaling an error, e.g. when an image cannot be lo= aded, is not a > > =C2=A0 =C2=A0 good idea because this would interrupt redisplay, a= nd the error > > =C2=A0 =C2=A0 message display would lead to another redisplay. = =C2=A0This function > > =C2=A0 =C2=A0 therefore simply displays a message. =C2=A0*/ > > > > (That last "displays" should be "logs".) >=20 > Couldn't that simply set a warning in `delayed-warnings-list'? It > would cause a warning at post-command-hook time. How about if you try doing that? From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 16:11:04 2012 Received: (at control) by debbugs.gnu.org; 22 Jan 2012 21:11:04 +0000 Received: from localhost ([127.0.0.1]:40243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp4gq-0005sb-Ee for submit@debbugs.gnu.org; Sun, 22 Jan 2012 16:11:04 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:33011 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp4gp-0005sV-DJ for control@debbugs.gnu.org; Sun, 22 Jan 2012 16:11:04 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rp4ge-0001Yo-EA for control@debbugs.gnu.org; Sun, 22 Jan 2012 16:10:52 -0500 Date: Sun, 22 Jan 2012 16:10:52 -0500 Message-Id: Subject: control message for bug 10578 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) retitle 10578 warning about mismatch between compile and run-time PNG libraries From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 16:26:47 2012 Received: (at 10578) by debbugs.gnu.org; 22 Jan 2012 21:26:47 +0000 Received: from localhost ([127.0.0.1]:40265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp4w3-00070j-D0 for submit@debbugs.gnu.org; Sun, 22 Jan 2012 16:26:47 -0500 Received: from mail-pw0-f44.google.com ([209.85.160.44]:64040) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp4w1-00070W-LT for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 16:26:46 -0500 Received: by pbcc7 with SMTP id c7so233576pbc.3 for <10578@debbugs.gnu.org>; Sun, 22 Jan 2012 13:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=/87SerZ5cwItdzR4+nLNCzmHpaLW3PNfwAqL0cUzATg=; b=JEsedzpqG1BAYO+0rfMpAX3LVCF++Q6ioU/Y50McSfdn90ucNDsVql0MzTm9QeC6+a OlzgBskuh0VqHV+ntWY4d/g9RBh8vwVhqLV/aiDqui8vdqN/nM4PQx0zXuT1FvaiYW4r +MSsHLEB7k1EHW55fjlxFx92H3uGvIOtMSOHU= Received: by 10.68.199.38 with SMTP id jh6mr16338175pbc.77.1327267589177; Sun, 22 Jan 2012 13:26:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.149.13 with HTTP; Sun, 22 Jan 2012 13:25:48 -0800 (PST) In-Reply-To: <83fwf731y8.fsf@gnu.org> References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> From: Juanma Barranquero Date: Sun, 22 Jan 2012 22:25:48 +0100 Message-ID: Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sun, Jan 22, 2012 at 21:41, Eli Zaretskii wrote: > How about if you try doing that? Can you give me a simple recipe for generating a redisplay warning / error? =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 16:39:24 2012 Received: (at 10578) by debbugs.gnu.org; 22 Jan 2012 21:39:24 +0000 Received: from localhost ([127.0.0.1]:40269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp58G-00086W-He for submit@debbugs.gnu.org; Sun, 22 Jan 2012 16:39:24 -0500 Received: from mail-pz0-f44.google.com ([209.85.210.44]:40159) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp58D-00086I-Ud for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 16:39:22 -0500 Received: by dakf10 with SMTP id f10so1273427dak.3 for <10578@debbugs.gnu.org>; Sun, 22 Jan 2012 13:39:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=2AzvVvcExU+FMWurPNdRYzyuCSoEjHf+UsabqR18rSg=; b=drbroR/C82DTmHRmdcZ4rY+89U7rdUD3S8hduIiNd/+nbWw5WDB63l15a9PKEHgnWZ h+jCXEQa0Qun08ptRtD/o2r8jTgXN4gcbluiJe+H9clseiLu82S846BAhLkniBjfZbG3 Y7JEe8i3eVZSHx2SFGYzxWbjUEqGW92nG++FM= Received: by 10.68.75.199 with SMTP id e7mr16505553pbw.128.1327268345173; Sun, 22 Jan 2012 13:39:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.149.13 with HTTP; Sun, 22 Jan 2012 13:38:24 -0800 (PST) In-Reply-To: References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> From: Juanma Barranquero Date: Sun, 22 Jan 2012 22:38:24 +0100 Message-ID: Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sun, Jan 22, 2012 at 22:25, Juanma Barranquero wrote: > Can you give me a simple recipe for generating a redisplay warning / erro= r? OK, forget it. I'll use the recipe from the OP. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 20:12:43 2012 Received: (at 10578) by debbugs.gnu.org; 23 Jan 2012 01:12:44 +0000 Received: from localhost ([127.0.0.1]:40353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp8Sh-0004ru-1t for submit@debbugs.gnu.org; Sun, 22 Jan 2012 20:12:43 -0500 Received: from mail-pw0-f44.google.com ([209.85.160.44]:62181) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp8Se-0004rg-HS for 10578@debbugs.gnu.org; Sun, 22 Jan 2012 20:12:41 -0500 Received: by pbcc7 with SMTP id c7so291574pbc.3 for <10578@debbugs.gnu.org>; Sun, 22 Jan 2012 17:12:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=ZeH6sVVJ4Wr+wKAnmClT8+pTHaG24r9BbXLraH5nOxQ=; b=PF3Lv50v94j0fWGUbW+iPJLusIDg4em34+0rYxZ4jrwNrVy+mHK1HXj0MbCxKEXOFD GcOjTlwZVz7of8PcrL0XzibFQ9KxiimJng6Ys8Nv3tKbL8d/CAtY6sw2mM1b0w8W4EIt +p+qjruXFMYSb3YEci6OyZBUgjfjQ63KtYBPo= Received: by 10.68.75.135 with SMTP id c7mr17728115pbw.43.1327281143172; Sun, 22 Jan 2012 17:12:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.149.13 with HTTP; Sun, 22 Jan 2012 17:11:42 -0800 (PST) In-Reply-To: <83fwf731y8.fsf@gnu.org> References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 23 Jan 2012 02:11:42 +0100 Message-ID: Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sun, Jan 22, 2012 at 21:41, Eli Zaretskii wrote: > How about if you try doing that? The simplest way is just to warn with a fixed message, as in the attached p= atch. If we want to warn with the real message for image_error, either we duplicate the Fformat call in add_to_log, which seems a waste, or we add some function xdisp.c:add_to_log_and_warn. Alternatively, repurposing add_to_log to also (optionally) warn wouldn't be difficult, as it is used only nine times in the sources. In any case, that kind of warning can be intrusive, because display-warning keeps displaying the *Warnings* buffer. For example, if I load libpng12 in a png14-compiled Emacs and visit a PNG file, I get a string of 9 warnings, and 3 more each time I try to advance the cursor. I think it wouldn't be much of a problem with image_error, because the errors are caused by displaying images, and as soon as you kill the corresponding buffer you're OK. =C2=A0 =C2=A0 Juanma =3D=3D=3D modified file 'src/image.c' --- src/image.c 2012-01-19 07:21:25 +0000 +++ src/image.c 2012-01-22 22:22:31 +0000 @@ -676,7 +676,14 @@ static void image_error (const char *format, Lisp_Object arg1, Lisp_Object arg2) { + Lisp_Object warning[3]; + add_to_log (format, arg1, arg2); + warning[0] =3D intern ("image"); + warning[1] =3D build_string ("Image error, please check *Messages*"); + warning[2] =3D intern (":error"); + Vdelayed_warnings_list =3D Fcons (Flist (3, warning), + Vdelayed_warnings_list); } From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 14:26:22 2012 Received: (at 10578) by debbugs.gnu.org; 25 Jan 2012 19:26:22 +0000 Received: from localhost ([127.0.0.1]:43831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq8U9-0004Iw-CZ for submit@debbugs.gnu.org; Wed, 25 Jan 2012 14:26:22 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:32819) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq8U7-0004Io-3d for 10578@debbugs.gnu.org; Wed, 25 Jan 2012 14:26:20 -0500 Received: from 93-41-173-241.ip82.fastwebnet.it ([93.41.173.241] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Rq8TZ-0008Jh-CQ; Wed, 25 Jan 2012 20:25:45 +0100 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> Date: Wed, 25 Jan 2012 20:25:41 +0100 In-Reply-To: (Andreas Schwab's message of "Sun, 22 Jan 2012 18:02:13 +0100") Message-ID: <877h0fk2iy.fsf@gnus.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Rq8TZ-0008Jh-CQ X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1328124345.62929@ETLrT0Wncg3xsn9fVsRnHg X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10578 Cc: Eli Zaretskii , 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Andreas Schwab writes: > Your emacs is linked (indirectly) against both versions. Which of the > libpng14-devel, libpng14-compat-devel, libpng12-devel, > libpng12-compat-devel packages do you have installed? I had, let's see... These three: libpng14-devel libpng12-devel libpng12-compat-devel When I removed libpng12-devel, libpng12-compat-devel was also removed, and libpng14-compat-devel was installed, and things started working on that OpenSUSE machine. -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 14:28:46 2012 Received: (at 10578) by debbugs.gnu.org; 25 Jan 2012 19:28:47 +0000 Received: from localhost ([127.0.0.1]:43836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq8WU-0004MO-8H for submit@debbugs.gnu.org; Wed, 25 Jan 2012 14:28:46 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:32839) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq8WR-0004MG-Dt for 10578@debbugs.gnu.org; Wed, 25 Jan 2012 14:28:44 -0500 Received: from 93-41-173-241.ip82.fastwebnet.it ([93.41.173.241] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Rq8Vt-0008LR-J5; Wed, 25 Jan 2012 20:28:09 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> Date: Wed, 25 Jan 2012 20:28:06 +0100 In-Reply-To: <83ipk339sj.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Jan 2012 19:51:40 +0200") Message-ID: <8739b3k2ex.fsf@gnus.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Rq8Vt-0008LR-J5 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1328124490.19034@1cNwnFlYu3B2SXwyJsufUw X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10578 Cc: 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Eli Zaretskii writes: >> 2) If I have both libpng12 and 14 installed, why is Emacs building >> against 14 and then preferring 12 when running? > > Because Emacs on GNU/Linux doesn't use the kind of machinery it does > on MS-Windows, whereby it will reject 12 if it was compiled against > 14. See w32-win.el:dynamic-library-alist, and in particular how it > consults the variable libpng-version (which is set at compile time). Right. From what ldd said, it seemed like it was (dynamically) linked against both lippng12 and 14, which seems odd to me. Is that a bug? Anyway, this is the first time I've seen something like this. My home machines usually grow very old and get a lot of different versions of various libraries over the year, but compilation of stuff usually doesn't fail just because of that. -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 14:32:01 2012 Received: (at 10578) by debbugs.gnu.org; 25 Jan 2012 19:32:02 +0000 Received: from localhost ([127.0.0.1]:43844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq8Zc-0004SW-JI for submit@debbugs.gnu.org; Wed, 25 Jan 2012 14:32:01 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:41818) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq8ZZ-0004SM-Rf for 10578@debbugs.gnu.org; Wed, 25 Jan 2012 14:31:58 -0500 Received: from 93-41-173-241.ip82.fastwebnet.it ([93.41.173.241] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Rq8Yy-0008Pf-VQ; Wed, 25 Jan 2012 20:31:21 +0100 From: Lars Ingebrigtsen To: Juanma Barranquero Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> Date: Wed, 25 Jan 2012 20:31:15 +0100 In-Reply-To: (Juanma Barranquero's message of "Mon, 23 Jan 2012 02:11:42 +0100") Message-ID: <87y5svinp8.fsf@gnus.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Rq8Yy-0008Pf-VQ X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1328124681.38633@RvyeRk2TbcXdn1ZBRc3xuA X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10578 Cc: Eli Zaretskii , 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Juanma Barranquero writes: > The simplest way is just to warn with a fixed message, as in the > attached patch. I think that's a good approach. > In any case, that kind of warning can be intrusive, because > display-warning keeps displaying the *Warnings* buffer. For example, > if I load libpng12 in a png14-compiled Emacs and visit a PNG file, I > get a string of 9 warnings, and 3 more each time I try to advance the > cursor. I think it wouldn't be much of a problem with image_error, > because the errors are caused by displaying images, and as soon as you > kill the corresponding buffer you're OK. Perhaps it would be an idea to add a simple rate-limiting device? That is, don't output the "Look in the *Messages* buffer" more often than, say, once per second. Or minute. Perhaps per ten seconds makes more sense, so that the message isn't as easily lost, but makes it possible to continue using Emacs. [...] > + warning[0] = intern ("image"); > + warning[1] = build_string ("Image error, please check *Messages*"); > + warning[2] = intern (":error"); > + Vdelayed_warnings_list = Fcons (Flist (3, warning), > + Vdelayed_warnings_list); And perhaps just factor it out into its own function, and just say "Display error, please check *Messages*", and then all redisplay code that outputs error messages in this manner can use it to alert the user about this? -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 20:50:11 2012 Received: (at 10578) by debbugs.gnu.org; 26 Jan 2012 01:50:11 +0000 Received: from localhost ([127.0.0.1]:44196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqETb-0007wP-Az for submit@debbugs.gnu.org; Wed, 25 Jan 2012 20:50:11 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:9480) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqETX-0007w3-HS for 10578@debbugs.gnu.org; Wed, 25 Jan 2012 20:50:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EADawIE9FpZaC/2dsb2JhbABDrBKCMoEGgXIBAQQBViMFCws0EhQYDSQxh164HokrAgEFAgUGFgQCBYNZAQkFEAaDNQSIP5p3hFc X-IronPort-AV: E=Sophos;i="4.71,572,1320642000"; d="scan'208";a="159067249" Received: from 69-165-150-130.dsl.teksavvy.com (HELO ceviche.home) ([69.165.150.130]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Jan 2012 20:49:32 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 5D2F566107; Wed, 25 Jan 2012 20:49:32 -0500 (EST) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 Message-ID: References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <8739b3k2ex.fsf@gnus.org> Date: Wed, 25 Jan 2012 20:49:32 -0500 In-Reply-To: <8739b3k2ex.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 25 Jan 2012 20:28:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10578 Cc: Eli Zaretskii , 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >>> 2) If I have both libpng12 and 14 installed, why is Emacs building >>> against 14 and then preferring 12 when running? >> Because Emacs on GNU/Linux doesn't use the kind of machinery it does >> on MS-Windows, whereby it will reject 12 if it was compiled against >> 14. See w32-win.el:dynamic-library-alist, and in particular how it >> consults the variable libpng-version (which is set at compile time). > Right. From what ldd said, it seemed like it was (dynamically) linked > against both lippng12 and 14, which seems odd to me. Is that a bug? Emacs probably links against one of the two, and then one of the other libs used by Emacs (e.g., Gtk) link to the other one. > Anyway, this is the first time I've seen something like this. My home > machines usually grow very old and get a lot of different versions of > various libraries over the year, but compilation of stuff usually > doesn't fail just because of that. My machines also accumulate stuff like that and I rarely bump into the problem, but it can happen. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 23:28:04 2012 Received: (at 10578) by debbugs.gnu.org; 26 Jan 2012 04:28:05 +0000 Received: from localhost ([127.0.0.1]:44829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqGwO-0003yj-H4 for submit@debbugs.gnu.org; Wed, 25 Jan 2012 23:28:04 -0500 Received: from mail-pw0-f44.google.com ([209.85.160.44]:46771) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqGwI-0003yC-Qo for 10578@debbugs.gnu.org; Wed, 25 Jan 2012 23:28:03 -0500 Received: by pbbb11 with SMTP id b11so369282pbb.3 for <10578@debbugs.gnu.org>; Wed, 25 Jan 2012 20:27:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=XCxY9xHOpjXPAo8Qvc0WLDJu7JDlubso2cWbMnjYt30=; b=EeWqkC04XAhWUTppUI3Dk99KZkbJUhsziXwlCBW4jb5KodS0UiaPu0P5ivJWoxyVVp GGWCYx7K127RfdLs5ZCTn50lXpBAdsidmhoXeXOmf7ZA7gQ30k2XrnH/uwJFDwDCqzfW HTnSkYvlqlnn+N2NN5bGrxKQ1oy13Wxo0jX4g= Received: by 10.68.75.199 with SMTP id e7mr1543583pbw.128.1327552043204; Wed, 25 Jan 2012 20:27:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.37.9 with HTTP; Wed, 25 Jan 2012 20:26:43 -0800 (PST) In-Reply-To: <87y5svinp8.fsf@gnus.org> References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> From: Juanma Barranquero Date: Thu, 26 Jan 2012 05:26:43 +0100 Message-ID: Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 To: Lars Ingebrigtsen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10578 Cc: Eli Zaretskii , 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Wed, Jan 25, 2012 at 20:31, Lars Ingebrigtsen wrote: > Perhaps it would be an idea to add a simple rate-limiting device? =C2=A0T= hat > is, don't output the "Look in the *Messages* buffer" more often than, > say, once per second. =C2=A0Or minute. =C2=A0Perhaps per ten seconds make= s more > sense, so that the message isn't as easily lost, but makes it possible > to continue using Emacs. In the attached patch, the warning is shown after 5 seconds of idle time. Also, all warnings of type `display' are assumed to be equivalent and only the most recent one is displayed; the rest are discarded. =C2=A0 =C2=A0 Juanma =3D=3D=3D modified file 'lisp/subr.el' --- lisp/subr.el 2012-01-23 02:10:36 +0000 +++ lisp/subr.el 2012-01-26 04:23:06 +0000 @@ -1879,7 +1879,31 @@ (push warning collapsed))) (setq delayed-warnings-list (nreverse collapsed)))) +(defconst display-errors-idle-time 5.0 + "Interval of idle time before warning about display errors.") + +(defvar display-errors-pending nil + "Internal use only.") + +(defun show-display-errors-when-idle () + "Warn about display errors when Emacs is idle. +Only the most recent error (possibly collapsed) is shown, +after `display-errors-idle-time' seconds of idle time; +the rest are assumed to be identical and discarded. +Used from `delayed-warnings-hook' (which see)." + (let ((display-error (assq 'display delayed-warnings-list))) + (when display-error + (setq delayed-warnings-list (assq-delete-all 'display + delayed-warnings-list)) + (unless display-errors-pending + (setq display-errors-pending display-error) + (run-with-idle-timer display-errors-idle-time nil + (lambda () + (apply 'display-warning display-errors-pend= ing) + (setq display-errors-pending nil))))))) + (defvar delayed-warnings-hook '(collapse-delayed-warnings + show-display-errors-when-idle display-delayed-warnings) "Normal hook run to process delayed warnings. Functions in this hook should access the `delayed-warnings-list' =3D=3D=3D modified file 'src/image.c' --- src/image.c 2012-01-19 07:21:25 +0000 +++ src/image.c 2012-01-26 04:02:24 +0000 @@ -677,6 +677,7 @@ image_error (const char *format, Lisp_Object arg1, Lisp_Object arg2) { add_to_log (format, arg1, arg2); + warn_about_display_error (); } =3D=3D=3D modified file 'src/lisp.h' --- src/lisp.h 2012-01-19 07:21:25 +0000 +++ src/lisp.h 2012-01-26 04:02:15 +0000 @@ -2746,6 +2746,7 @@ extern void redisplay (void); extern void redisplay_preserve_echo_area (int); extern void prepare_menu_bars (void); +extern void warn_about_display_error (void); void set_frame_cursor_types (struct frame *, Lisp_Object); extern void syms_of_xdisp (void); =3D=3D=3D modified file 'src/xdisp.c' --- src/xdisp.c 2012-01-19 07:21:25 +0000 +++ src/xdisp.c 2012-01-26 04:03:05 +0000 @@ -2326,6 +2326,7 @@ safe_eval_handler (Lisp_Object arg) { add_to_log ("Error during redisplay: %S", arg, Qnil); + warn_about_display_error (); return Qnil; } @@ -10612,6 +10613,18 @@ return window_height_changed_p; } +void +warn_about_display_error (void) +{ + Lisp_Object warning[3]; + + warning[0] =3D intern ("display"); + warning[1] =3D build_string ("Please check *Messages*"); + warning[2] =3D intern (":error"); + Vdelayed_warnings_list =3D Fcons (Flist (3, warning), + Vdelayed_warnings_list); +} + =0C /*********************************************************************** From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 00:43:43 2012 Received: (at 10578) by debbugs.gnu.org; 26 Jan 2012 05:43:43 +0000 Received: from localhost ([127.0.0.1]:44863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqI7Z-0005hl-Ut for submit@debbugs.gnu.org; Thu, 26 Jan 2012 00:43:42 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:60298 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqI7T-0005ha-N6 for 10578@debbugs.gnu.org; Thu, 26 Jan 2012 00:43:38 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RqI6y-0006iT-Je; Thu, 26 Jan 2012 00:43:04 -0500 Date: Thu, 26 Jan 2012 00:43:04 -0500 Message-Id: From: Eli Zaretskii To: Juanma Barranquero In-reply-to: (message from Juanma Barranquero on Thu, 26 Jan 2012 05:26:43 +0100) Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > From: Juanma Barranquero > Date: Thu, 26 Jan 2012 05:26:43 +0100 > Cc: Eli Zaretskii , 10578@debbugs.gnu.org > > all warnings of type `display' are assumed to be equivalent and only > the most recent one is displayed; the rest are discarded. Why not the first one? More often than not, the others, if different, will be the consequences of the first one, which is the root cause. And if they are all identical, it doesn't matter which one you show ;-) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 07:28:53 2012 Received: (at 10578) by debbugs.gnu.org; 26 Jan 2012 12:28:53 +0000 Received: from localhost ([127.0.0.1]:45029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqORf-0006tk-QC for submit@debbugs.gnu.org; Thu, 26 Jan 2012 07:28:53 -0500 Received: from mail-pw0-f44.google.com ([209.85.160.44]:61886) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqORd-0006tX-1P for 10578@debbugs.gnu.org; Thu, 26 Jan 2012 07:28:50 -0500 Received: by pbdu7 with SMTP id u7so151822pbd.3 for <10578@debbugs.gnu.org>; Thu, 26 Jan 2012 04:28:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=rRbJqUvkrWqHZ5XiAGdLkVwxddvffxFmnyPsRlbSdzA=; b=ry/Zf/KKO0WDz8rGGDraE1E9HgvobhHlGR0vGr01c/eEVPHnrULUnhDYPAQeVJiPA0 3R5bB8tewMMUujZgxny3KGRM3HXGfZZaFzicFU5keOsBAo8Cf1aQTFslFfGqE/pGhi/j IXCu4FhlYb/TGxMDVGe7ye3XaMeOyNlnu8Nw0= Received: by 10.68.75.135 with SMTP id c7mr4815063pbw.43.1327580891334; Thu, 26 Jan 2012 04:28:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.37.9 with HTTP; Thu, 26 Jan 2012 04:27:30 -0800 (PST) In-Reply-To: References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> From: Juanma Barranquero Date: Thu, 26 Jan 2012 13:27:30 +0100 Message-ID: Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Thu, Jan 26, 2012 at 06:43, Eli Zaretskii wrote: > Why not the first one? =C2=A0More often than not, the others, if differen= t, > will be the consequences of the first one, which is the root cause. > And if they are all identical, it doesn't matter which one you show ;-) Just because delayed-warnings-list is ordered last-to-first and it's easier to find the last one that the first one. But this assumes that all such display warnings are produced by calls to warn_about_display_error, and so they are all Error (display): Please check *Messages* If we want to allow different kinds of display warnings, then the thing to do is not to display the first one, but accumulate and display them all (duplicates are no problem anyway because they are collapsed by collapse-display-warnings, which runs before show-display-errors-when-idle). =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 08:46:26 2012 Received: (at 10578) by debbugs.gnu.org; 26 Jan 2012 13:46:27 +0000 Received: from localhost ([127.0.0.1]:45045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqPeh-00011y-6Q for submit@debbugs.gnu.org; Thu, 26 Jan 2012 08:46:26 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:40088 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqPeb-00011n-30 for 10578@debbugs.gnu.org; Thu, 26 Jan 2012 08:46:21 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RqPe4-0005gp-6O; Thu, 26 Jan 2012 08:45:44 -0500 Date: Thu, 26 Jan 2012 08:45:44 -0500 Message-Id: From: Eli Zaretskii To: Juanma Barranquero In-reply-to: (message from Juanma Barranquero on Thu, 26 Jan 2012 13:27:30 +0100) Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > From: Juanma Barranquero > Date: Thu, 26 Jan 2012 13:27:30 +0100 > Cc: larsi@gnus.org, 10578@debbugs.gnu.org > > On Thu, Jan 26, 2012 at 06:43, Eli Zaretskii wrote: > > > Why not the first one?  More often than not, the others, if different, > > will be the consequences of the first one, which is the root cause. > > And if they are all identical, it doesn't matter which one you show ;-) > > Just because delayed-warnings-list is ordered last-to-first and it's > easier to find the last one that the first one. > > But this assumes that all such display warnings are produced by calls > to warn_about_display_error, and so they are all > > Error (display): Please check *Messages* I didn't understand that all the messages are identical, no matter what triggered them. If that's how we are going to implement them, it indeed makes no difference which one you display. To tell the truth, I don't like such vague warning, since the reference to *Messages* is not specific enough to be useful, IMO. It is better to show some more specific text in the delayed warning itself. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 10:00:45 2012 Received: (at 10578) by debbugs.gnu.org; 26 Jan 2012 15:00:45 +0000 Received: from localhost ([127.0.0.1]:45680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqQoc-0002sv-OV for submit@debbugs.gnu.org; Thu, 26 Jan 2012 10:00:44 -0500 Received: from mail-pw0-f44.google.com ([209.85.160.44]:39229) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqQoY-0002sg-6z for 10578@debbugs.gnu.org; Thu, 26 Jan 2012 10:00:41 -0500 Received: by pbdu7 with SMTP id u7so252422pbd.3 for <10578@debbugs.gnu.org>; Thu, 26 Jan 2012 07:00:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Ix4OZQLQ8nKlVStrj/HQVSJvXPxM/jADsKw33zeCcPg=; b=VUF5S54t0Y0NAzCN6HlQARCOVApZWk6tERY3sGcTHWUFqS5hX9GTgqsrAFTp5SFPl9 Xcouu+S7QyZeHnzLFB2VquKLNEQnVN3/FdPn8OfJX7kJwNdPJAZ8nSBdJa2btihxlv6t M97FMGQvMOHKdrhVkn0bHbkW49cF2YcXORWT8= Received: by 10.68.75.135 with SMTP id c7mr5752900pbw.43.1327590000169; Thu, 26 Jan 2012 07:00:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.37.9 with HTTP; Thu, 26 Jan 2012 06:59:20 -0800 (PST) In-Reply-To: References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> From: Juanma Barranquero Date: Thu, 26 Jan 2012 15:59:20 +0100 Message-ID: Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Thu, Jan 26, 2012 at 14:45, Eli Zaretskii wrote: > To tell the truth, I don't like such vague warning, since the > reference to *Messages* is not specific enough to be useful, IMO. =C2=A0I= t > is better to show some more specific text in the delayed warning > itself. That goes back to what I said in a previous message (that you didn't answer= ): "If we want to warn with the real message for image_error, either we duplicate the Fformat call in add_to_log, which seems a waste, or we add some function xdisp.c:add_to_log_and_warn. Alternatively, repurposing add_to_log to also (optionally) warn wouldn't be difficult, as it is used only nine times in the sources." =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 12:22:38 2012 Received: (at submit) by debbugs.gnu.org; 26 Jan 2012 17:22:38 +0000 Received: from localhost ([127.0.0.1]:45756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqT1w-0000z2-Uz for submit@debbugs.gnu.org; Thu, 26 Jan 2012 12:22:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60422) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqT1r-0000yn-Dz for submit@debbugs.gnu.org; Thu, 26 Jan 2012 12:22:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqT1A-0002p9-KI for submit@debbugs.gnu.org; Thu, 26 Jan 2012 12:21:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:52899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqT1A-0002p5-Iq for submit@debbugs.gnu.org; Thu, 26 Jan 2012 12:21:48 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqT16-0002tS-Qc for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 12:21:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqT11-0002lv-0m for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 12:21:44 -0500 Received: from lo.gmane.org ([80.91.229.12]:47603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqT10-0002lV-OQ for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 12:21:38 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RqT0z-00061h-3S for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2012 18:21:37 +0100 Received: from pd9eb5208.dip.t-dialin.net ([217.235.82.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jan 2012 18:21:37 +0100 Received: from Stromeko by pd9eb5208.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jan 2012 18:21:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Achim Gratz Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 Date: Thu, 26 Jan 2012 18:21:18 +0100 Lines: 19 Message-ID: <87aa5awfap.fsf@Rainer.invalid> References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <8739b3k2ex.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb5208.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:zTQnEcg8FlT0Pfvo6HPaW93vHn4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Lars Ingebrigtsen writes: > Anyway, this is the first time I've seen something like this. My home > machines usually grow very old and get a lot of different versions of > various libraries over the year, but compilation of stuff usually > doesn't fail just because of that. Anything you've posted looks exactly the same as the situation on my box (which I've continually upgraded from either version 9.3 or 10.1 to 12.1 Tumbleweed). So either something else was set differently in the environment or the configure, I suppose. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 12:23:45 2012 Received: (at 10578) by debbugs.gnu.org; 26 Jan 2012 17:23:45 +0000 Received: from localhost ([127.0.0.1]:45760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqT32-00010v-7N for submit@debbugs.gnu.org; Thu, 26 Jan 2012 12:23:45 -0500 Received: from mail-pw0-f44.google.com ([209.85.160.44]:54215) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqT2y-00010Y-2f for 10578@debbugs.gnu.org; Thu, 26 Jan 2012 12:23:41 -0500 Received: by pbdu7 with SMTP id u7so362966pbd.3 for <10578@debbugs.gnu.org>; Thu, 26 Jan 2012 09:23:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=ur8zTQh384Fu3ybmcukBRRofa5FpR+cUl6Y9SF0kNs4=; b=hrc1OFjyGaHIsBJs6cwTb+syjj+fKZeToS+0l0mTUvUxuCh8MaPkGQQ0erYU2DaOTX fRyiNiOiDZDwEQszsU+yQgqgCHMClc59TE5yc2cXfcc9tkZzV56FkQr1tAmIZz8f0psk 4wfLfq8F4scKD1Bb5fPT+AZSrkPmiXxEg6fpQ= Received: by 10.68.75.135 with SMTP id c7mr6672101pbw.43.1327598581238; Thu, 26 Jan 2012 09:23:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.37.9 with HTTP; Thu, 26 Jan 2012 09:22:21 -0800 (PST) In-Reply-To: References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> From: Juanma Barranquero Date: Thu, 26 Jan 2012 18:22:21 +0100 Message-ID: Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Thu, Jan 26, 2012 at 14:45, Eli Zaretskii wrote: > To tell the truth, I don't like such vague warning, since the > reference to *Messages* is not specific enough to be useful, IMO. =C2=A0I= t > is better to show some more specific text in the delayed warning > itself. OK, next iteration. The following patch shows all display warnings (errors, in fact), after 5 seconds of idle time. It's quite simple because I've assumed every call to add_to_log() wants to warn, the TYPE (in warnings.el terminology) is always `display', and the LEVEL is `:error'. If not all such calls should warn, or the LEVEL should sometimes be other than :error, the change is simple (just add a couple args to add_to_log), though someone will have to decide what to do in each current instance (as I said, it's not hard, as there are only nine or so). As for the TYPE, it's easy to change it in each case, but then filtering gets a bit more complex for little gain. =C2=A0 =C2=A0 Juanma =3D=3D=3D modified file 'lisp/subr.el' --- lisp/subr.el 2012-01-23 02:10:36 +0000 +++ lisp/subr.el 2012-01-26 17:00:50 +0000 @@ -1879,7 +1879,37 @@ (push warning collapsed))) (setq delayed-warnings-list (nreverse collapsed)))) +(defconst display-errors-idle-time 5.0 + "Interval of idle time before warning about display errors.") + +(defvar display-errors-pending nil + "Internal use only.") + +(defun show-display-errors-when-idle () + "Warn about display errors when Emacs is idle. +Only the most recent error (possibly collapsed) is shown, +after `display-errors-idle-time' seconds of idle time; +the rest are assumed to be identical and discarded. +Used from `delayed-warnings-hook' (which see)." + (let ((errors nil) + (pending display-errors-pending)) + (dolist (warning delayed-warnings-list) + (when (eq (car warning) 'display) + (push warning errors))) + (when errors + (setq delayed-warnings-list (assq-delete-all 'display + delayed-warnings-list)) + (setq display-errors-pending (nconc display-errors-pending errors)) + (unless pending + (run-with-idle-timer display-errors-idle-time nil + (lambda () + ;; Already sorted, no need to reverse + (dolist (warning display-errors-pending) + (apply 'display-warning warning)) + (setq display-errors-pending nil))))))) + (defvar delayed-warnings-hook '(collapse-delayed-warnings + show-display-errors-when-idle display-delayed-warnings) "Normal hook run to process delayed warnings. Functions in this hook should access the `delayed-warnings-list' =3D=3D=3D modified file 'src/xdisp.c' --- src/xdisp.c 2012-01-19 07:21:25 +0000 +++ src/xdisp.c 2012-01-26 16:42:45 +0000 @@ -9069,6 +9069,12 @@ message_dolog (buffer, len - 1, 1, 0); SAFE_FREE (); + args[0] =3D Qdisplay; + args[1] =3D msg; + args[2] =3D Qerror; + Vdelayed_warnings_list =3D Fcons (Flist (3, args), + Vdelayed_warnings_list); + UNGCPRO; } From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 12:28:17 2012 Received: (at 10578) by debbugs.gnu.org; 26 Jan 2012 17:28:17 +0000 Received: from localhost ([127.0.0.1]:45764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqT7Q-00017N-Ej for submit@debbugs.gnu.org; Thu, 26 Jan 2012 12:28:17 -0500 Received: from mail-pw0-f44.google.com ([209.85.160.44]:37546) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqT7N-000179-OX for 10578@debbugs.gnu.org; Thu, 26 Jan 2012 12:28:14 -0500 Received: by pbdu7 with SMTP id u7so366122pbd.3 for <10578@debbugs.gnu.org>; Thu, 26 Jan 2012 09:27:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=WHrRNTNISVxeeONdg9XTMWv7DQn0VeC91MyFjA9XOM4=; b=IoTq5J88hgaWQ85Ym1NkuviLO9KVC1cmk8/sI/n52B6svByIFXzo+gaUY25wQ2fP3p 7UpyTajZo1JiSjVwsfYV7DVnfEZVW6cf7HWiKMhVu7rcKH8HiIkn1ogaybm3lLa6ei6t rcxTNEUq2LdBLeylQWx6X8RKIXLSyw2tNhqkw= Received: by 10.68.224.6 with SMTP id qy6mr6663661pbc.60.1327598855198; Thu, 26 Jan 2012 09:27:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.37.9 with HTTP; Thu, 26 Jan 2012 09:26:55 -0800 (PST) In-Reply-To: References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> From: Juanma Barranquero Date: Thu, 26 Jan 2012 18:26:55 +0100 Message-ID: Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10578 Cc: larsi@gnus.org, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Thu, Jan 26, 2012 at 18:22, Juanma Barranquero wrote: > +(defun show-display-errors-when-idle () > + =C2=A0"Warn about display errors when Emacs is idle. > +Only the most recent error (possibly collapsed) is shown, > +after `display-errors-idle-time' seconds of idle time; > +the rest are assumed to be identical and discarded. > +Used from `delayed-warnings-hook' (which see)." The docstring should be fixed, of course :-) =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 14 10:55:50 2014 Received: (at control) by debbugs.gnu.org; 14 Nov 2014 15:55:50 +0000 Received: from localhost ([127.0.0.1]:60930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpJDx-0002HA-W0 for submit@debbugs.gnu.org; Fri, 14 Nov 2014 10:55:50 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:33692) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpJDw-0002H1-Bh for control@debbugs.gnu.org; Fri, 14 Nov 2014 10:55:48 -0500 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 1XpJDf-0007HY-AJ for control@debbugs.gnu.org; Fri, 14 Nov 2014 16:55:31 +0100 Date: Fri, 14 Nov 2014 16:55:31 +0100 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #10578 X-MailScanner-ID: 1XpJDf-0007HY-AJ X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1416585331.58081@Lwhea3FYHa/TEaqTccUiCg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tags 10578 patch From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 01:18:44 2016 Received: (at 10578) by debbugs.gnu.org; 8 Feb 2016 06:18:45 +0000 Received: from localhost ([127.0.0.1]:37886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSf9o-0004vH-N4 for submit@debbugs.gnu.org; Mon, 08 Feb 2016 01:18:44 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:41272) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSf9n-0004v9-5W for 10578@debbugs.gnu.org; Mon, 08 Feb 2016 01:18:43 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSf9P-00045S-I6; Mon, 08 Feb 2016 07:18:20 +0100 From: Lars Ingebrigtsen To: Juanma Barranquero Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> Date: Mon, 08 Feb 2016 17:18:14 +1100 In-Reply-To: (Juanma Barranquero's message of "Thu, 26 Jan 2012 18:22:21 +0100") Message-ID: <87k2mfybbt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1aSf9P-00045S-I6 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1455517101.85286@CzDp8QEGOb7BaGmqKbCT2Q X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10578 Cc: Eli Zaretskii , 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Juanma Barranquero writes: > The following patch shows all display warnings (errors, in fact), > after 5 seconds of idle time. Did we forget about this one? We didn't seem to apply it, at least... > It's quite simple because I've assumed every call to add_to_log() > wants to warn, the TYPE (in warnings.el terminology) is always > `display', and the LEVEL is `:error'. > > If not all such calls should warn, or the LEVEL should sometimes be > other than :error, the change is simple (just add a couple args to > add_to_log), though someone will have to decide what to do in each > current instance (as I said, it's not hard, as there are only nine or > so). > > As for the TYPE, it's easy to change it in each case, but then > filtering gets a bit more complex for little gain. > > =A0 =A0 Juanma > > =3D=3D=3D modified file 'lisp/subr.el' > --- lisp/subr.el 2012-01-23 02:10:36 +0000 > +++ lisp/subr.el 2012-01-26 17:00:50 +0000 > @@ -1879,7 +1879,37 @@ > (push warning collapsed))) > (setq delayed-warnings-list (nreverse collapsed)))) > > +(defconst display-errors-idle-time 5.0 > + "Interval of idle time before warning about display errors.") > + > +(defvar display-errors-pending nil > + "Internal use only.") (etc) I think this looks like a good approach. Any reason it wasn't applied? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 13:18:16 2016 Received: (at 10578) by debbugs.gnu.org; 8 Feb 2016 18:18:16 +0000 Received: from localhost ([127.0.0.1]:60381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSqO8-0000oY-1B for submit@debbugs.gnu.org; Mon, 08 Feb 2016 13:18:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45909) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSqO3-0000oG-19 for 10578@debbugs.gnu.org; Mon, 08 Feb 2016 13:18:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqNt-0001Xw-Qv for 10578@debbugs.gnu.org; Mon, 08 Feb 2016 13:18:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqNt-0001Xs-O3; Mon, 08 Feb 2016 13:18:01 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1570 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSqNt-00062p-0G; Mon, 08 Feb 2016 13:18:01 -0500 Date: Mon, 08 Feb 2016 20:17:44 +0200 Message-Id: <83y4avoylz.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87k2mfybbt.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 08 Feb 2016 17:18:14 +1100) Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> <87k2mfybbt.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 10578 Cc: lekktu@gmail.com, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , 10578@debbugs.gnu.org > Date: Mon, 08 Feb 2016 17:18:14 +1100 > > I think this looks like a good approach. Any reason it wasn't applied? The usual ones, sigh. Please commit to emacs-25. We should probably add something to the docs and NEWS. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 19:14:12 2016 Received: (at 10578) by debbugs.gnu.org; 9 Feb 2016 00:14:12 +0000 Received: from localhost ([127.0.0.1]:60676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSvwW-0007Pb-Ve for submit@debbugs.gnu.org; Mon, 08 Feb 2016 19:14:12 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:52392) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSvwS-0007PR-87 for 10578@debbugs.gnu.org; Mon, 08 Feb 2016 19:14:07 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSvw2-0004qt-LA; Tue, 09 Feb 2016 01:13:39 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> <87k2mfybbt.fsf@gnus.org> <83y4avoylz.fsf@gnu.org> Date: Tue, 09 Feb 2016 11:13:34 +1100 In-Reply-To: <83y4avoylz.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 08 Feb 2016 20:17:44 +0200") Message-ID: <87fux2kafl.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aSvw2-0004qt-LA X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1455581620.84093@opjgVUwuTDDagZAZPfMs+A X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10578 Cc: lekktu@gmail.com, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Cc: Eli Zaretskii , 10578@debbugs.gnu.org >> Date: Mon, 08 Feb 2016 17:18:14 +1100 >> >> I think this looks like a good approach. Any reason it wasn't applied? > > The usual ones, sigh. > > Please commit to emacs-25. We should probably add something to the > docs and NEWS. > > Thanks. The patch no longer applies. In particular, this: Where is this supposed to go? The only place where we have text that vaguely resembles this is in vadd_to_log, and that has to be the wrong place... === modified file 'src/xdisp.c' --- src/xdisp.c 2012-01-19 07:21:25 +0000 +++ src/xdisp.c 2012-01-26 16:42:45 +0000 @@ -9069,6 +9069,12 @@ message_dolog (buffer, len - 1, 1, 0); SAFE_FREE (); + args[0] = Qdisplay; + args[1] = msg; + args[2] = Qerror; + Vdelayed_warnings_list = Fcons (Flist (3, args), + Vdelayed_warnings_list); + UNGCPRO; } -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 19:18:27 2016 Received: (at 10578) by debbugs.gnu.org; 9 Feb 2016 00:18:27 +0000 Received: from localhost ([127.0.0.1]:60680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSw0d-0007Vs-Ph for submit@debbugs.gnu.org; Mon, 08 Feb 2016 19:18:27 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:43275) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSw0Y-0007Vh-B3 for 10578@debbugs.gnu.org; Mon, 08 Feb 2016 19:18:22 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSw08-0004ul-5E; Tue, 09 Feb 2016 01:17:52 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> <87k2mfybbt.fsf@gnus.org> <83y4avoylz.fsf@gnu.org> <87fux2kafl.fsf@gnus.org> Date: Tue, 09 Feb 2016 11:17:45 +1100 In-Reply-To: <87fux2kafl.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 09 Feb 2016 11:13:34 +1100") Message-ID: <87bn7qka8m.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aSw08-0004ul-5E X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1455581873.20224@lTEdLEzRALo73iJkEolmWg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10578 Cc: lekktu@gmail.com, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Lars Ingebrigtsen writes: > Where is this supposed to go? The only place where we have text that > vaguely resembles this is in vadd_to_log, and that has to be the wrong > place... Oh, it is the right place. Never mind. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 19:24:18 2016 Received: (at 10578) by debbugs.gnu.org; 9 Feb 2016 00:24:18 +0000 Received: from localhost ([127.0.0.1]:60684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSw6L-0007eO-U5 for submit@debbugs.gnu.org; Mon, 08 Feb 2016 19:24:18 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:40200) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSw6K-0007eG-TI for 10578@debbugs.gnu.org; Mon, 08 Feb 2016 19:24:17 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSw5x-0004yC-0F; Tue, 09 Feb 2016 01:23:53 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> <87k2mfybbt.fsf@gnus.org> <83y4avoylz.fsf@gnu.org> <87fux2kafl.fsf@gnus.org> Date: Tue, 09 Feb 2016 11:23:47 +1100 In-Reply-To: <87fux2kafl.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 09 Feb 2016 11:13:34 +1100") Message-ID: <877fiek9yk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aSw5x-0004yC-0F X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1455582233.7951@7nZvZeHsi8BUqizsNU9j8w X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10578 Cc: lekktu@gmail.com, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Oops. There's now (defun collapse-delayed-warnings () "Remove duplicates from `delayed-warnings-list'. Collapse identical adjacent warnings into one (plus count). Used from `delayed-warnings-hook' (which see)." (let ((count 1) collapsed warning) (while delayed-warnings-list (setq warning (pop delayed-warnings-list)) (if (equal warning (car delayed-warnings-list)) (setq count (1+ count)) (when (> count 1) (setcdr warning (cons (format "%s [%d times]" (cadr warning) count) (cddr warning))) (setq count 1)) (push warning collapsed))) (setq delayed-warnings-list (nreverse collapsed)))) from 2013. So I think this has already been fixed in a different way by Stefan? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 22:42:16 2016 Received: (at 10578) by debbugs.gnu.org; 9 Feb 2016 03:42:16 +0000 Received: from localhost ([127.0.0.1]:60848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSzBt-0003UV-B1 for submit@debbugs.gnu.org; Mon, 08 Feb 2016 22:42:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46501) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSzBo-0003UD-J4 for 10578@debbugs.gnu.org; Mon, 08 Feb 2016 22:42:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSzBf-0003Vb-LW for 10578@debbugs.gnu.org; Mon, 08 Feb 2016 22:42:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSzBa-0003SW-3W; Mon, 08 Feb 2016 22:41:54 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1964 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSzBZ-0003DE-At; Mon, 08 Feb 2016 22:41:53 -0500 Date: Tue, 09 Feb 2016 05:41:39 +0200 Message-Id: <83a8napn2k.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <877fiek9yk.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 09 Feb 2016 11:23:47 +1100) Subject: Re: bug#10578: 24.0.92; No png images on OpenSUSE 12.1 References: <87y5sz1ztp.fsf@linux-hvfx.site> <83k44j3djg.fsf@gnu.org> <83ipk339sj.fsf@gnu.org> <83hazn38tp.fsf@gnu.org> <83fwf731y8.fsf@gnu.org> <87y5svinp8.fsf@gnus.org> <87k2mfybbt.fsf@gnus.org> <83y4avoylz.fsf@gnu.org> <87fux2kafl.fsf@gnus.org> <877fiek9yk.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 10578 Cc: lekktu@gmail.com, 10578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) > From: Lars Ingebrigtsen > Cc: 10578@debbugs.gnu.org, lekktu@gmail.com > Date: Tue, 09 Feb 2016 11:23:47 +1100 > > Oops. There's now > > (defun collapse-delayed-warnings () > "Remove duplicates from `delayed-warnings-list'. > Collapse identical adjacent warnings into one (plus count). > Used from `delayed-warnings-hook' (which see)." > (let ((count 1) > collapsed warning) > (while delayed-warnings-list > (setq warning (pop delayed-warnings-list)) > (if (equal warning (car delayed-warnings-list)) > (setq count (1+ count)) > (when (> count 1) > (setcdr warning (cons (format "%s [%d times]" (cadr warning) count) > (cddr warning))) > (setq count 1)) > (push warning collapsed))) > (setq delayed-warnings-list (nreverse collapsed)))) > > from 2013. So I think this has already been fixed in a different way by > Stefan? If the recipe now does TRT, then yes. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 22:50:53 2016 Received: (at control) by debbugs.gnu.org; 9 Feb 2016 03:50:53 +0000 Received: from localhost ([127.0.0.1]:60863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSzKG-0003hl-VG for submit@debbugs.gnu.org; Mon, 08 Feb 2016 22:50:53 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:50738) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSzKF-0003ha-1x for control@debbugs.gnu.org; Mon, 08 Feb 2016 22:50:51 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSzJq-0007TZ-Kl for control@debbugs.gnu.org; Tue, 09 Feb 2016 04:50:27 +0100 Date: Tue, 09 Feb 2016 14:50:22 +1100 Message-Id: <87si12fsox.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10578 X-MailScanner-ID: 1aSzJq-0007TZ-Kl X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1455594630.09622@U0ZUZFwgbsL1OCC6lEv3tg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) close 10578 From unknown Wed Jun 18 23:08:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 08 Mar 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator