[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Yet another doc-view patch
From: |
Tassilo Horn |
Subject: |
Re: Yet another doc-view patch |
Date: |
Sat, 20 Oct 2007 12:31:06 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
Hi Richard,
> I think it should display PDF and DVI files in rendered form by
> default.
Ok, the following patch (attached or at [1]) implements this.
I added editing mode entries for `auto-mode-alist' (files.el: `ps-mode'
for PDF and `fundamental-mode' for DVI) and in doc-view.el I push
additional entries for all doc-files that use `doc-view-mode-maybe' as
function. This function finally decides if `doc-view-mode' or the
editing mode + `doc-view-minor-mode' is used.
There's one little problem: `ps-mode' has `C-c C-c' already bound. So
what other key should we use for toggling?
Bye,
Tassilo
__________
[1] http://www.tsdh.de/stuff/doc-view.patch