From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3865: 23.0.95; doc-view-mode with PDF without PNG support Date: Thu, 16 Jul 2009 11:01:43 +0200 Message-ID: <20090716110143.d83eb84miog84csg@imap.uni-ulm.de> Reply-To: reiner.steib@gmx.de, 3865@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247735875 15169 80.91.229.12 (16 Jul 2009 09:17:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jul 2009 09:17:55 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 16 11:17:48 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MRN63-00086e-MW for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jul 2009 11:17:48 +0200 Original-Received: from localhost ([127.0.0.1]:34903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRN63-0008Gg-3n for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jul 2009 05:17:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRN5v-0008GX-1z for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2009 05:17:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRN5p-0008Fr-KJ for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2009 05:17:38 -0400 Original-Received: from [199.232.76.173] (port=44845 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRN5p-0008Fo-Fu for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2009 05:17:33 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35996) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRN5o-0002d3-Rp for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2009 05:17:33 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6G9HSA7030219; Thu, 16 Jul 2009 02:17:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6G954Dv027686; Thu, 16 Jul 2009 02:05:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Reiner Steib Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 16 Jul 2009 09:05:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3865 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124773493027196 (code B ref -1); Thu, 16 Jul 2009 09:05:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 16 Jul 2009 09:02:10 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6G923PZ027182 for ; Thu, 16 Jul 2009 02:02:05 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:42300) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MRMqn-0000N5-Sz for emacs-pretest-bug@gnu.org; Thu, 16 Jul 2009 05:02:03 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MRMqk-0007vS-BV for emacs-pretest-bug@gnu.org; Thu, 16 Jul 2009 05:02:00 -0400 Original-Received: from mail.uni-ulm.de ([134.60.1.11]:56692) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRMqi-0007tW-VY for emacs-pretest-bug@gnu.org; Thu, 16 Jul 2009 05:01:57 -0400 Original-Received: from poseidon.rz.uni-ulm.de (localhost [127.0.0.1]) by smtp.uni-ulm.de (8.14.2/8.14.2) with ESMTP id n6G91iC5002326; Thu, 16 Jul 2009 11:01:44 +0200 (MEST) Original-Received: (from cyrus@localhost) by poseidon.rz.uni-ulm.de (8.14.2/8.14.1/Submit) id n6G91i9a002321; Thu, 16 Jul 2009 11:01:44 +0200 (MEST) Original-Received: from gate-6.ruv.de (gate-6.ruv.de [195.145.180.106]) by imap.uni-ulm.de (Horde MIME library) with HTTP; Thu, 16 Jul 2009 11:01:43 +0200 Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) X-Virus-Scanned: by amavisd-new X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 16 Jul 2009 05:17:37 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29462 gmane.emacs.pretest.bugs:24808 Archived-At: Please describe exactly what actions triggered the bug and the precise symptoms of the bug: To reproduce: M-x toggle-debug-on-error RET M-x toggle-debug-on-quit RET C-x C-f some-pdf-file.pdf I get the message: No PNG support available or some conversion utility for pdf files is missing. Type C-c C-c to switch to fundamental-mode, C-c C-t to show the doc as text in a separate buffer or k to kill this buffer. I don't have the png-DLL installed: (image-type-available-p 'png) -> nil Maybe also some of the conversion programs are not installed. But I =20 just wanted to view/edit the PDF file. Problems: - The message is too long to be read in the echo area. - When pressing some key (e.g. `down'), I get "image-next-line: Invalid image specification". So the first message disappears as soon as the user does a movement. This hit me several times. I didn't realize the message so I killed the buffer and used `find-file-literally'. I think the right behavior would be either... (1) Switch to fundamental-mode automatically if doc-view-mode cannot do anything useful and just display a message. (2) Instead of telling about `C-c C-c', `C-c C-t' and `k', use a (y-or-n-p) dialog. In GNU Emacs 23.0.95.1 (i386-mingw-nt6.0.6001) of 2009-06-20 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 6.0.6001 configured using `configure --with-gcc (3.4)' 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: DEU value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: show-paren-mode: t savehist-mode: t recentf-mode: t msb-mode: t iswitchb-mode: t desktop-save-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f C-g M-x t o g g d e e M-x q C-x C-f M-x r e p o r t - e m Recent messages: Cleaning up the recentf list...done (0 removed) No desktop file. For information about GNU Emacs and the GNU system, type C-h C-a. Quit Debug on Error enabled globally Debug on Quit enabled globally No PNG support available or some conversion utility for pdf files is =20 missing. Type C-c C-c to switch to fundamental-mode, C-c C-t to show =20 the doc as text in a separate buffer or k to kill this buffer. Error during redisplay: (wrong-type-argument numberp nil) Entering debugger... Error during redisplay: (wrong-type-argument numberp nil) [4 times] *Backtrace*: Debugger entered--Lisp error: (error "Invalid image specification") image-size(nil) image-next-line(1) call-interactively(image-next-line nil nil) Bye, Reiner