emacs-devel
[Top][All Lists]
Advanced

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

Re: Please install: Some improvements to doc-view.el


From: Richard Stallman
Subject: Re: Please install: Some improvements to doc-view.el
Date: Tue, 16 Oct 2007 15:09:54 -0400

    > Ok, but when mailcap finds these kinds of documents,
    > should it run the external program or should it use doc-view?

    I think on Gnus attachments of PDF/PS/DVI files it should now use doc-view.

What do others think about this question?  Does anyone disagree with that?

    > This seems to be a suggestion for changing the Gnus mailcap
    > feature.  Is that right?

    No, the mailcap feature only returns the names of the external programs.
    So how to use them is a matter of other packages.  Gnus always runs the
    first found program to view the Gnus attachment.

Is there a difference between "the mailcap feature" and "deciding what
to do based on mime types"?  In your other message you said that it
can specify a Lisp expression instead of an external program.  If we
want Gnus to use doc-view, we would do it that way, right?

      However, I think Dired
    should get programs names from the mailcap feature, and present them in the
    minibuffer activated by ! in Dired to allow the user select the desired
    program.

The usual thing we want Dired to do with a PDF/PS/DVI file is
doc-view.  But you can do that by typing RET or e.  Therefore, it is
ok if ! always offers the external program.

By contrast, you and I am proposing that Gnus prefer doc-view to the
external program, for these files.




reply via email to

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