[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problem with docview
From: |
Marvin Doyley |
Subject: |
Re: [O] Problem with docview |
Date: |
Sat, 11 May 2013 14:56:52 -0400 |
Hi Nick,
I tried what you suggested, but the problem still persists.
Here the backtrace
Debugger entered--Lisp error: (error "Invalid image file name `nil'")
signal(error ("Invalid image file name `nil'"))
error("Invalid image file name `%s'" nil)
image-type(nil png nil)
create-image(nil png nil :pointer arrow)
apply(create-image nil png nil (:pointer arrow))
(let ((image (apply (quote create-image) file (quote png) nil args))) (setq
doc-view-current-image image) (insert-image image (concat "[" file "]") nil
doc-view-current-slice))
doc-view-insert-image(nil :pointer arrow)
(let ((beg (point))) (doc-view-insert-image (nth (1- page)
doc-view-current-files) :pointer (quote arrow)) (put-text-property beg (point)
(quote help-echo) doc-view-current-info))
(let ((len (length doc-view-current-files))) (if (< page 1) (setq page 1) (if
(> page len) (progn (setq page len)))) (setq doc-view-current-page page
doc-view-current-info (concat (propertize (format "Page %d of %d."
doc-view-current-page len) (quote face) (quote bold)) (if
doc-view-current-converter-process " (still converting...)\n" "\n") (if (and
doc-view-current-search-matches (assq doc-view-current-page
doc-view-current-search-matches)) (progn (concat (propertize "Search
matches:\n" (quote face) (quote bold)) (let (...) (progn ...) contexts))))))
(setq inhibit-read-only t) (erase-buffer) (let ((beg (point)))
(doc-view-insert-image (nth (1- page) doc-view-current-files) :pointer (quote
arrow)) (put-text-property beg (point) (quote help-echo)
doc-view-current-info)) (insert "\n" doc-view-current-info) (goto-char
(point-min)) (forward-char) (setq inhibit-read-only nil))
doc-view-goto-page(1)
org-docview-open(#("540.full.pdf::1" 0 15 (org-attr nil)))
org-open-at-point()
org-open-at-mouse((mouse-2 (#<window 3 on *Backtrace*> 33 (58 . 15) 250980086
nil 33 (5 . 0) nil (3 . 15) (11 . 23))))
call-interactively(org-open-at-mouse nil nil)
cheers
M