GNU bug report logs - #13164
[PATCH] View DjVu documents through doc-view-mode

Previous Next

Package: emacs;

Reported by: Elias Pipping <pipping <at> lavabit.com>

Date: Wed, 12 Dec 2012 22:54:02 UTC

Severity: wishlist

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Elias Pipping <pipping <at> lavabit.com>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: 13164 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#13164: [PATCH] View DjVu documents through doc-view-mode
Date: Tue, 22 Jan 2013 00:10:32 +0100
[Message part 1 (text/plain, inline)]
Tassilo Horn <tsdh <at> gnu.org> writes:

> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
> Hi Elias & Stefan,
>
>>> I've attached three more tiny patches.
>>
>> Thanks, installed,
>
> I really like the new mupdf support.  It's much faster than ghostscript.
>
> There seems to be some minor issue, though: the last-page counter in the
> mode-line doesn't seem to be updated properly during conversion.  I've
> just tested with some 700 pages PDF. Initially, it displayed "1/4" but
> didn't increase anymore.  To make it update again, I needed to do
> something, e.g., switch to another page or just scroll a bit.

Indeed, I can reproduce your problem with a recent version of emacs,
namely

  commit c5a8149837c5ed53655d4383dea3b8f29374b266
  Author: Glenn Morris <rgm <at> gnu.org>
  Date:   Sat Jan 19 18:40:49 2013 -0800

      * lisp-mode.el (emacs-lisp-mode-map): Add native profiler menu entries.

I do not have it with emacs 24.2.92 and my original two patches (I'm
attaching them in case you want to verify that; please note that you
need to have

  (setq doc-view-pdf->png-converter-invocation
        'doc-view-pdf->png-converter-invocation-mupdf)

in your init.el with that version for mupdf to be used). So it must've
snuck in sometime after.


Best regards,

Elias Pipping

[0001-Make-doc-view-pdf-png-1-customizable.patch (text/x-patch, attachment)]
[0002-Add-DjVu-support.patch (text/x-patch, attachment)]

This bug report was last modified 12 years and 123 days ago.

Previous Next


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