GNU bug report logs - #54947
29.0.50; Emacs does not invoke doc view to open odf files

Previous Next

Package: emacs;

Reported by: Raoul Comninos <revcomninos <at> gmail.com>

Date: Fri, 15 Apr 2022 07:30:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Raoul Comninos <revcomninos <at> gmail.com>
Cc: 54947 <at> debbugs.gnu.org
Subject: bug#54947: 29.0.50; Emacs does not invoke doc view to open odf files
Date: Fri, 15 Apr 2022 09:48:52 +0200
Raoul Comninos <revcomninos <at> gmail.com> writes:

> When I try to open an odt file in Emacs I get this error:
>
> File mode specification error: (error Conflicting types: name says (odf)
> but content says (epub))
>
> This is despite the fact that I have this in my init file:
>
> (add-to-list 'auto-mode-alist '("\\.odt\\'" . doc-view-mode))

The error message comes from doc-view-mode, so it is being used here.
But have you checked whether the message is gives is correct?  It's
saying that you're giving it a file called .odf while the contents of
the file is really an epub file.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.