emacs-devel
[Top][All Lists]
Advanced

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

Re: doc-view.el: about cursor and filename display


From: Tassilo Horn
Subject: Re: doc-view.el: about cursor and filename display
Date: Mon, 15 Oct 2007 11:20:56 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

William Xu <address@hidden> writes:

Hi William,

> Just began to use doc-view.el, some suggestions:
>
> 1. Hide the cursor
>
>    Cursor in a image buffer looks peculiar, maybe better hide it just
>    like image-mode? namely, (setq cursor-type nil)

But you need the cursor for slicing.  Ok, I could enable it only for
this command.

But what happens with the tooltips if there's no cursor?

> 2. Filename on mode line
>
>    Why not simply display the filename on mode line as usual, like
>    `foo.pdf'? At present, the filename on the mode line is very long,
>    occupies lots of space of mode line, and is inconvenient to switch
>    to by ido, for instance.

My last patch, that makes doc-view the default viewer for pdf/ps/dvi
files uses only the filename.  You can get the patch from my mail
<address@hidden>.  There you don't use `doc-view'
anymore, but simply find the file using C-x C-f.

> 3. Add auto-revert-mode support?

I don't know if that's a good idea.  a-r-m checks files periodically and
reverts if something changed.  Since "reverting" means reconverting for
doc-view, it's possible that it blows your computer because it may
happen that a new conversion is started before the last one finished
(e.g. every 5 seconds a new conversion is started).

My last patch added a new binding `g' which reconverts the current
document.

Bye,
Tassilo




reply via email to

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