help-gnu-emacs
[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: Wed, 29 Aug 2007 09:06:34 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Bill Clementson <billclem@gmail.com> writes:

Hi Bill,

> I made some mods to my copy of the doc-view function so that it can
> either be passed a file name or called from dired:

Good idea.  I applied it.

> I've also added a "V" key in my .emacs file so that dired can call
> doc-view:
>
> (defun doc-view-dired (no-cache)
>   "View the current dired file with doc-view."
>   (interactive "P")
>   (doc-view no-cache (dired-get-file-for-visit)))
>
> (define-key dired-mode-map "V" 'doc-view-dired)
>
> I find this very convenient and you might want to consider adding
> something similar.

Added with no default binding, but the comment tells how it should be
done.

Bye,
Tassilo
-- 
4 out of 5 doctors fail to  recommend Chuck Norris as a solution to most
problems.  Also,  80%  of  doctors die  unexplained,  needlessly  brutal
deaths.


reply via email to

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