From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org, stefan@marxist.se
Subject: bug#20891: emacs: Back off if .doc is not an Office document
Date: Sat, 09 Nov 2019 08:25:38 +0200 [thread overview]
Message-ID: <83y2wpa7ml.fsf@gnu.org> (raw)
In-Reply-To: <87o8xm3wz9.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 08 Nov 2019 21:59:54 +0100)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Fri, 08 Nov 2019 21:59:54 +0100
> Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org
>
> Stefan Kangas <stefan@marxist.se> writes:
>
> > Would implementing this risk make opening *.doc files slower for most
> > users? Perhaps that could make the trade-off not worth it. Other
> > than that, I see no problem with the proposal.
>
> 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.
next prev parent reply other threads:[~2019-11-09 6:25 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 11:19 bug#20891: emacs: Back off if .doc is not an Office document era+emacs
2019-08-01 20:53 ` Lars Ingebrigtsen
2019-11-06 1:53 ` Stefan Kangas
2019-11-06 13:08 ` era
2019-11-06 23:19 ` Stefan Kangas
2019-11-07 4:45 ` Richard Stallman
2019-11-07 8:29 ` era
2019-11-08 20:59 ` Lars Ingebrigtsen
2019-11-09 6:25 ` Eli Zaretskii [this message]
2019-11-09 20:14 ` Lars Ingebrigtsen
2019-11-14 8:54 ` Eli Zaretskii
2019-11-14 9:55 ` Lars Ingebrigtsen
2019-11-14 14:12 ` Eli Zaretskii
2019-11-14 15:06 ` Robert Pluim
2019-11-14 16:19 ` Eli Zaretskii
2019-11-14 16:33 ` Andreas Schwab
2019-11-14 16:42 ` Eli Zaretskii
2019-11-15 7:51 ` Lars Ingebrigtsen
2019-11-15 8:48 ` Eli Zaretskii
2019-11-15 8:56 ` Lars Ingebrigtsen
2019-11-15 9:51 ` Eli Zaretskii
2019-11-15 13:20 ` Robert Pluim
2019-11-15 9:14 ` Robert Pluim
2019-11-15 7:50 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83y2wpa7ml.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=20891@debbugs.gnu.org \
--cc=era+emacs@iki.fi \
--cc=larsi@gnus.org \
--cc=stefan@marxist.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).