GNU bug report logs -
#20891
emacs: Back off if .doc is not an Office document
Previous Next
Reported by: era+emacs <at> iki.fi
Date: Wed, 24 Jun 2015 11:20:03 UTC
Severity: minor
Tags: fixed
Found in version 24.4+1-4ubuntu5
Fixed in version 27.1
Done: Robert Pluim <rpluim <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Andreas Schwab <schwab <at> suse.de>
> Cc: Robert Pluim <rpluim <at> gmail.com>, era+emacs <at> iki.fi, larsi <at> gnus.org, 20891 <at> debbugs.gnu.org, stefan <at> marxist.se
> Date: Thu, 14 Nov 2019 17:33:28 +0100
>
> On Nov 14 2019, Eli Zaretskii wrote:
>
> > Where do we have the code or data which does that?
>
> See auto-mode-alist, and doc-view-mode-maybe.
>
> > That's OK, but I'm still missing the code which makes this happen.
> > E.g., I just did "C-x C-f foo.doc RET" and got a buffer in Fundamental
> > mode.
>
> It only works if you have a doc-view-odf->pdf-converter-program.
Thanks, I was blind.
So we want to remove docx? from auto-mode-alist and instead to add the
magic signature to magic-mode-alist? But then AFAIK MS Word documents
had different signatures for different versions, so we should have
several. And a literal docx should be left in auto-mode-alist, right?
This bug report was last modified 5 years and 191 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.