[Top][All Lists]

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

Re: doc-view.el --- View PDF/PostStript/DVI files in Emacs

From: Tim X
Subject: Re: doc-view.el --- View PDF/PostStript/DVI files in Emacs
Date: Sun, 26 Aug 2007 10:34:28 +1000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Bill Clementson <address@hidden> writes:

>>> 5. Dired key: It would be nice to have a defcustom value that would
>>> specify a dired map key that would call doc-view on a file (with a new
>>> doc-view function that doesn't prompt for the file name). This would
>>> make it easier to "browse" pdf files in dired.
>> Good idea.  I'll add that.  Do you have a good suggestion what key could
>> be used and is free?
> How about "b" (for browse) or "V" (for View)?

I think 'b' is available. However, you may find it useful to do what I did
in my txutils.el package. I used defadvice around view-file (which is
bound to v in dired). So, now if I hit v on a pdf, ps, doc, ppt html etc
file, it converts the file to either text or html and then displays it in
a buffer (in the case of html output and .html files, it just uses
browse-url to display the rendered version).

What I like about this approach is that I now always use 'v' to view a
file and don't have to remember to hit a different key for different



tcross (at) rapttech dot com dot au

reply via email to

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