GNU bug report logs - #6446
23.2; doc-view-mode and C-x C-v

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Reiner Steib <reiner.steib@HIDDEN>; dated Thu, 17 Jun 2010 15:59:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Jun 2010 15:58:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 17 11:58:55 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1OPHUU-00024U-G6
	for submit <at> 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 <reiner.steib@HIDDEN>) id 1OPCyR-0007VY-1b
	for submit <at> 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 <reiner.steib@HIDDEN>) id 1OPCyL-0005L3-Nd
	for submit <at> 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@HIDDEN; 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 <reiner.steib@HIDDEN>) id 1OPCyH-0001oO-Qp
	for bug-gnu-emacs@HIDDEN; 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 <reiner.steib@HIDDEN>) id 1OPCyH-0001nx-GN
	for bug-gnu-emacs@HIDDEN; 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@HIDDEN>
Date: Thu, 17 Jun 2010 13:09:19 +0200
From: Reiner Steib <reiner.steib@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 23.2; doc-view-mode and C-x C-v
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-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 17 Jun 2010 11:58:53 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> 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

(<S-insert> 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 <help-echo> <help-echo> <S-insert>
<return> 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)





Acknowledgement sent to Reiner Steib <reiner.steib@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#6446; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.