From unknown Fri Sep 05 08:57:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6446: 23.2; doc-view-mode and C-x C-v Resent-From: Reiner Steib Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Jun 2010 15:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6446@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12767903357970 (code B ref -1); Thu, 17 Jun 2010 15:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jun 2010 15:58:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPHUU-00024U-G6 for submit@debbugs.gnu.org; Thu, 17 Jun 2010 11:58:55 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPCyR-0007VY-1b for submit@debbugs.gnu.org; Thu, 17 Jun 2010 07:09:32 -0400 Received: from lists.gnu.org ([199.232.76.165]:52709) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OPCyL-0005L3-Nd for submit@debbugs.gnu.org; Thu, 17 Jun 2010 07:09:25 -0400 Received: from [140.186.70.92] (port=38437 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPCyJ-0004WG-DQ for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 07:09:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPCyH-0001oO-Qp for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 07:09:23 -0400 Received: from mail.uni-ulm.de ([134.60.1.11]:58750) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPCyH-0001nx-GN for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 07:09:21 -0400 Received: from poseidon.rz.uni-ulm.de (localhost [127.0.0.1]) by smtp.uni-ulm.de (8.14.3/8.14.2) with ESMTP id o5HB9JMM014638; Thu, 17 Jun 2010 13:09:19 +0200 (MEST) Received: (from cyrus@localhost) by poseidon.rz.uni-ulm.de (8.14.3/8.14.2/Submit) id o5HB9JqN014637; Thu, 17 Jun 2010 13:09:19 +0200 (MEST) 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, 17 Jun 2010 13:09:19 +0200 Message-ID: <20100617130919.pu32w4meysww0g40@imap.uni-ulm.de> Date: Thu, 17 Jun 2010 13:09:19 +0200 From: Reiner Steib MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) X-Virus-Scanned: by amavisd-new X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Thu, 17 Jun 2010 11:58:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -5.9 (-----) Recipe starting from `emacs -Q': $ rm -fr c:/Users/*/AppData/Local/Temp/docview* (adjust according to your value of `doc-view-cache-directory') $ export emacsdir=3Dp:/path/to/GNU/emacs-23.2 (adjust accordingly) $ cd $emacsdir; $ ./bin/emacs.exe -Q -f toggle-debug-on-error =20 $emacsdir/etc/refcards/refcard.pdf Emacs (doc-view-mode) prompts: | Unable to render file. View extracted text instead? (y or n) y Hit `y'. The extracted text is shown. Fine. Use find-alternate-file to re-open the PDf file: | C-x C-v C-a C-k $emacsdir/etc/refcards/refcard.pdf ( in the lossage output inserted this.) The buffer refcard.pdf now is in DocView mode. Expected result: Get the prompt "View extracted text instead?" again. Hit C-n, gives a backtrace: | Debugger entered--Lisp error: (error "Invalid image specification") | image-size(nil) | image-next-line(1) | doc-view-next-line-or-next-page(1) | call-interactively(doc-view-next-line-or-next-page nil nil) Second bug (or buglet): The message "No PNG support is available, or some conversion utility for pdf files is missing." is not visible for the use (unless looking at *Messages*). Third bug (or buglet): The messages "(wrong-type-argument numberp nil)" Forth bug (or buglet): With `C-x C-v' I expected the default-directory to be $emacsdir/etc/refcards/ instead of some random cache dir. And maybe the filename could contain "refcard.pdf" (something like refcard.pdf.txt, maybe). In GNU Emacs 23.2.1 (i386-mingw-nt6.0.6002) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 6.0.6002 configured using `configure --with-gcc (3.4) --no-opt --cflags =20 -Ic:/xpm/include' 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: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: y C-x C-v C-a C-k C-n M-x r e p o r t - e m a c s - b u g < return> Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Debug on Error enabled globally No PNG support is available, or some conversion utility for pdf files =20 is missing. Unable to render file. View extracted text instead? (y or n) Error during redisplay: (wrong-type-argument numberp nil) [3 times] Entering debugger... Error during redisplay: (wrong-type-argument numberp nil) [3 times] Load-path shadows: None found. Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode view debug doc-view easymenu jka-compr image-mode dired regexp-opt cus-start cus-load tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From unknown Fri Sep 05 08:57:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6446: 23.2; doc-view-mode and C-x C-v Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Sep 2019 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Reiner Steib Cc: 6446@debbugs.gnu.org Received: via spool by 6446-submit@debbugs.gnu.org id=B6446.156976315617480 (code B ref 6446); Sun, 29 Sep 2019 13:20:02 +0000 Received: (at 6446) by debbugs.gnu.org; 29 Sep 2019 13:19:16 +0000 Received: from localhost ([127.0.0.1]:52625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEZ6a-0004Xs-E6 for submit@debbugs.gnu.org; Sun, 29 Sep 2019 09:19:16 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEZ6Y-0004Xi-Lg for 6446@debbugs.gnu.org; Sun, 29 Sep 2019 09:19:15 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEZ6U-00016j-Jb; Sun, 29 Sep 2019 15:19:13 +0200 From: Lars Ingebrigtsen References: <20100617130919.pu32w4meysww0g40@imap.uni-ulm.de> Date: Sun, 29 Sep 2019 15:19:10 +0200 In-Reply-To: <20100617130919.pu32w4meysww0g40@imap.uni-ulm.de> (Reiner Steib's message of "Thu, 17 Jun 2010 13:09:19 +0200") Message-ID: <87d0fjkzox.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Reiner Steib writes: > Recipe starting from `emacs -Q': > > $ rm -fr c:/Users/*/AppData/Local/Temp/docview* > > (adjust according to your value of `doc-view-cache-directory') > > $ export emacsdir=p:/path/to/GNU/emacs-23. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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: -1.0 (-) Reiner Steib writes: > Recipe starting from `emacs -Q': > > $ rm -fr c:/Users/*/AppData/Local/Temp/docview* > > (adjust according to your value of `doc-view-cache-directory') > > $ export emacsdir=p:/path/to/GNU/emacs-23.2 > > (adjust accordingly) > > $ cd $emacsdir; > $ ./bin/emacs.exe -Q -f toggle-debug-on-error > $emacsdir/etc/refcards/refcard.pdf > > Emacs (doc-view-mode) prompts: > > | Unable to render file. View extracted text instead? (y or n) y > > Hit `y'. The extracted text is shown. Fine. I'm not sure what the bug reported here is. Is it that doc-view won't display PDFs if doc-view-cache-directory is deleted? If so, I'm unable to reproduce this bug in Emacs 27. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 29 09:19:42 2019 Received: (at control) by debbugs.gnu.org; 29 Sep 2019 13:19:42 +0000 Received: from localhost ([127.0.0.1]:52628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEZ6w-0004YW-OE for submit@debbugs.gnu.org; Sun, 29 Sep 2019 09:19:38 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEZ6u-0004YL-Eu for control@debbugs.gnu.org; Sun, 29 Sep 2019 09:19:36 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEZ6r-000171-Nr for control@debbugs.gnu.org; Sun, 29 Sep 2019 15:19:35 +0200 Date: Sun, 29 Sep 2019 15:19:33 +0200 Message-Id: <87blv3kzoa.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #6446 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 6446 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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: -1.0 (-) tags 6446 + moreinfo quit From unknown Fri Sep 05 08:57:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6446: 23.2; doc-view-mode and C-x C-v Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2019 05:59:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Reiner Steib Cc: 6446@debbugs.gnu.org Received: via spool by 6446-submit@debbugs.gnu.org id=B6446.157103272917544 (code B ref 6446); Mon, 14 Oct 2019 05:59:03 +0000 Received: (at 6446) by debbugs.gnu.org; 14 Oct 2019 05:58:49 +0000 Received: from localhost ([127.0.0.1]:37610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJtNY-0004Yt-TS for submit@debbugs.gnu.org; Mon, 14 Oct 2019 01:58:49 -0400 Received: from [80.91.231.51] (port=49722 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJtNX-0004Ym-SV for 6446@debbugs.gnu.org; Mon, 14 Oct 2019 01:58:48 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJtNS-0002Fd-LB; Mon, 14 Oct 2019 07:58:46 +0200 From: Lars Ingebrigtsen References: <20100617130919.pu32w4meysww0g40@imap.uni-ulm.de> <87d0fjkzox.fsf@gnus.org> Date: Mon, 14 Oct 2019 07:58:42 +0200 In-Reply-To: <87d0fjkzox.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 29 Sep 2019 15:19:10 +0200") Message-ID: <87mue3q359.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > I'm not sure what the bug reported here is. Is it that doc-view won't > display PDFs if doc-view-cache-directory is deleted? If so, I'm unable > to reproduce this bug in Emacs 27. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Lars Ingebrigtsen writes: > I'm not sure what the bug reported here is. Is it that doc-view won't > display PDFs if doc-view-cache-directory is deleted? If so, I'm unable > to reproduce this bug in Emacs 27. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ingebrigtsen.no] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 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.3 (/) Lars Ingebrigtsen writes: > I'm not sure what the bug reported here is. Is it that doc-view won't > display PDFs if doc-view-cache-directory is deleted? If so, I'm unable > to reproduce this bug in Emacs 27. More information was requested some weeks back, but no response was given, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 01:59:00 2019 Received: (at control) by debbugs.gnu.org; 14 Oct 2019 05:59:00 +0000 Received: from localhost ([127.0.0.1]:37613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJtNi-0004ZI-81 for submit@debbugs.gnu.org; Mon, 14 Oct 2019 01:59:00 -0400 Received: from [80.91.231.51] (port=49734 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJtNh-0004ZA-0Y for control@debbugs.gnu.org; Mon, 14 Oct 2019 01:58:57 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJtNe-0002Fl-4M for control@debbugs.gnu.org; Mon, 14 Oct 2019 07:58:56 +0200 Date: Mon, 14 Oct 2019 07:58:53 +0200 Message-Id: <87lftnq34y.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #6446 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 6446 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 6446 quit Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 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.3 (/) close 6446 quit