[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20891: emacs: Back off if .doc is not an Office document
From: |
Lars Ingebrigtsen |
Subject: |
bug#20891: emacs: Back off if .doc is not an Office document |
Date: |
Sat, 09 Nov 2019 21:14:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> I don't think it'd be any performance problem -- we'd just have to read
>> the first 8 bytes of the file to see whether the magic sequence is there.
>
> *.doc files are rare nowadays. Do the *.docx files have the same
> signature? I doubt that, since they are actually *.zip files in
> disguise.
Yeah, *.docx have a different signature, so this would be for *.doc files
only (and since the Windows *.doc files are becoming rarer, perhaps that
means that doing doc-view only on files that have the magic bytes is
more important than it used to be).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#20891: emacs: Back off if .doc is not an Office document, Stefan Kangas, 2019/11/05
- bug#20891: emacs: Back off if .doc is not an Office document, Lars Ingebrigtsen, 2019/11/08
- bug#20891: emacs: Back off if .doc is not an Office document, Eli Zaretskii, 2019/11/09
- bug#20891: emacs: Back off if .doc is not an Office document,
Lars Ingebrigtsen <=
- bug#20891: emacs: Back off if .doc is not an Office document, Eli Zaretskii, 2019/11/14
- bug#20891: emacs: Back off if .doc is not an Office document, Lars Ingebrigtsen, 2019/11/14
- bug#20891: emacs: Back off if .doc is not an Office document, Eli Zaretskii, 2019/11/14
- bug#20891: emacs: Back off if .doc is not an Office document, Robert Pluim, 2019/11/14
- bug#20891: emacs: Back off if .doc is not an Office document, Eli Zaretskii, 2019/11/14
- bug#20891: emacs: Back off if .doc is not an Office document, Andreas Schwab, 2019/11/14
- bug#20891: emacs: Back off if .doc is not an Office document, Eli Zaretskii, 2019/11/14
- bug#20891: emacs: Back off if .doc is not an Office document, Lars Ingebrigtsen, 2019/11/15
- bug#20891: emacs: Back off if .doc is not an Office document, Eli Zaretskii, 2019/11/15
- bug#20891: emacs: Back off if .doc is not an Office document, Lars Ingebrigtsen, 2019/11/15