emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marvin Doyley <m.doyley@rochester.edu>
To: ndokos@gmail.com
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Problem with docview
Date: Sat, 11 May 2013 14:56:52 -0400	[thread overview]
Message-ID: <A6DC1153-A750-4166-987C-247872EFE8A1@rochester.edu> (raw)

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

             reply	other threads:[~2013-05-11 18:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-11 18:56 Marvin Doyley [this message]
2013-05-11 19:23 ` Problem with docview Nick Dokos
  -- strict thread matches above, loose matches on Subject: below --
2013-05-11 23:15 Marvin Doyley
2013-05-11 20:25 Marvin Doyley
2013-05-11 22:25 ` Nick Dokos
2013-05-11 22:32   ` Nick Dokos
2013-05-11 11:12 Marvin Doyley
2013-05-11 14:05 ` Nick Dokos
2013-05-10 17:25 Marvin Doyley
2013-05-10 18:58 ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A6DC1153-A750-4166-987C-247872EFE8A1@rochester.edu \
    --to=m.doyley@rochester.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).