all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: emacs-devel@gnu.org
Subject: Re: doc-view-current-slice only used internally
Date: Sat, 5 Jan 2008 15:49:37 +0000 (UTC)	[thread overview]
Message-ID: <m1JBBHF-002K4LC@rattlesnake.com> (raw)
In-Reply-To: <87wsqp9qhk.fsf@member.fsf.org> (message from Tassilo Horn on Fri, 04 Jan 2008 23:26:47 +0100)

Tassilo Horn <tassilo@member.fsf.org> wrote

   (add-hook 'doc-view-mode-hook
             (lambda ()
               (setq doc-view-current-slice '(100 100 600 800))))

Thank you!  That is good since novices who want to learn are already
told in the Emacs Introduction how to write `add-hook' and `lambda'
expressions in their .emacs file.

The cache is useful.  Without it, that is to say, when you first start
doc-view-mode, an `emacs -Q -D' instance says the DVI to PNG
conversion is pdf/ps->png, which is obviously an error.

Also, it takes a minute to convert the first thirty pages.  Put
another way, it takes a very long time when your document has 173
pages in it.  xdvi takes less time than I can determine.

Perhaps you can save time by checking whether xdvi exists on the
computer and, if so, use it in Emacs.

Incidently, when I have the cache and am starting a new instance of
`emacs -Q -D', doc-view-mode seems to require that I go a page ahead
to see the smaller slice (or else I never waited long enough).  That
does not happen when I am first starting doc-view-mode, but, as I
said, a document takes a long time to convert.

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc

  reply	other threads:[~2008-01-05 15:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04 16:22 doc-view-current-slice only used internally Robert J. Chassell
2008-01-04 19:22 ` Tassilo Horn
2008-01-04 21:39   ` Robert J. Chassell
2008-01-04 22:26     ` Tassilo Horn
2008-01-05 15:49       ` Robert J. Chassell [this message]
2008-01-05 17:47         ` Tassilo Horn
2008-01-05 18:57           ` David Kastrup
2008-01-05 19:30             ` Tassilo Horn

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

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

  git send-email \
    --in-reply-to=m1JBBHF-002K4LC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.