[Top][All Lists]

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

Re: doc-view-set-doc-type's generality

From: Stefan Monnier
Subject: Re: doc-view-set-doc-type's generality
Date: Wed, 04 Dec 2019 08:57:09 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I mean, I could see the logic if it the code tried to detect cases of one
> extension (let's say, ".doc") that could represent different content-types.

AFAICT the main purpose is to detect the case of a pdf content with
a .doc extension and vice-versa.  It's based on the idea that neither
extensions nor "magic content" are 100% reliable.


reply via email to

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