From: Lars Ingebrigtsen <larsi@gnus.org>
To: Raoul Comninos <revcomninos@gmail.com>
Cc: 54947@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 [thread overview]
Message-ID: <87h76uiy6z.fsf@gnus.org> (raw)
In-Reply-To: <CAHcEtGJkb9PHAExKuRhAXFL6ntw-5PVVTttiqKf5hFt+bSHTLg@mail.gmail.com> (Raoul Comninos's message of "Fri, 15 Apr 2022 09:28:35 +0200")
Raoul Comninos <revcomninos@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
next prev parent reply other threads:[~2022-04-15 7:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-15 7:28 bug#54947: 29.0.50; Emacs does not invoke doc view to open odf files Raoul Comninos
2022-04-15 7:41 ` Eli Zaretskii
2022-04-15 7:48 ` Lars Ingebrigtsen [this message]
[not found] ` <CAHcEtGLfoZmBEb=JkRZg3QzJKQ81H6a4oYE1vXzjoiJ5250pww@mail.gmail.com>
2022-04-16 9:22 ` Lars Ingebrigtsen
2022-04-16 9:35 ` Raoul Comninos
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h76uiy6z.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=54947@debbugs.gnu.org \
--cc=revcomninos@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.