Tim X <[EMAIL PROTECTED]> 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.



_______________________________________________
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to