emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DJVU files and ImageMagick


From: Stephen Berman
Subject: Re: DJVU files and ImageMagick
Date: Wed, 06 Feb 2019 09:45:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On Tue, 05 Feb 2019 21:53:16 -0600 Roland Winkler <address@hidden> wrote:

> On Mon, Feb 04 2019, Stephen Berman wrote:
>> There are a couple of features I miss; one is that I often
>> like to open DJVU files from Dired
>
> Stefan suggested to me how to modify the code such that a djvu-mode can
> be added to auto-mode-alist.  I have not yet found the time to look at
> this more carefully.  But it should solve this problem.  In the
> meanwhile you could advice find-file-noselect as described in djvu.el,
> which should work in most cases, too.

Ah, I had seen that but forgot it.  Anyway, my little hack works well
enough for me until you add proper auto-mode-alist integration.

>> Another nice thing would be integration with the Emacs bookmark
>> facility (I haven't tried using the djvu bookmark facility, but it
>> looks like it's tied to djvu outlines, so orthogonal to Emacs
>> bookmarks).
>
> Djvu bookmarks are for efficiently moving within a djvu document,
> similar to how one can define bookmarks within a pdf document.  I have
> never used Emacs bookmarks, but it seems their main idea is different,
> moving around across different files.

My current need is simply to be at a specified position in a DJVU upon
visiting the file.  Probably both facilities do that but since I also
use Emacs bookmarks for other types of files, it's convenient to use
them for DJVU files as well.

>> I also like the way pdf-view-mode (and doc-view-mode) displays both
>> the current and total number of pages
>
> Yes, that makes sense; it will be part of the next update in GNU Elpa
> (implemented slightly different from your code).

Looking forward to it.

Steve Berman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]