gnu-emacs-sources
[Top][All Lists]
Advanced

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

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


From: Tassilo Horn
Subject: Re: doc-view.el --- View PDF/PostStript/DVI files in Emacs
Date: Sun, 26 Aug 2007 12:32:14 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Tim X <address@hidden> writes:

Hi Tim,

>>>> 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).

Since I was asked to include doc-view.el in Emacs I'm not sure if
defadvice would be too good.  AFAIK RMS doesn't like it too much.

> 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).

At least for PS files that may not be the right thing.  Users might want
to view it with `ps-mode' instead.

Bye,
Tassilo
-- 
GNU Emacs is a text editor for Über-Geeks.





reply via email to

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