emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] ox-odt messes with auto-mode-alist [9.7-pre (release_9.6.11-1090-


From: Visuwesh
Subject: [BUG] ox-odt messes with auto-mode-alist [9.7-pre (release_9.6.11-1090-g76468c.dirty @ /home/viz/lib/emacs/straight/build/org/)]
Date: Fri, 16 Feb 2024 20:27:48 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

ox-odt.el contains the following lines at the end of file:

    ;;; Library Initializations

    (dolist (desc org-odt-file-extensions)
      ;; Let Emacs open all OpenDocument files in archive mode.
      (add-to-list 'auto-mode-alist
               (cons (concat  "\\." (car desc) "\\'") 'archive-mode)))

Is there a reason why this is done?  This breaks the expected result of
opening .odt and friends using doc-view-mode, and causes unnecessary
confusion (it is not particularly easy to find too since grepping
through Emacs for "\\.odt" fails).

Emacs  : GNU Emacs 30.0.50 (build 42, x86_64-pc-linux-gnu, X toolkit, cairo 
version 1.18.0, Xaw scroll bars)
 of 2024-01-31
Package: Org mode version 9.7-pre (release_9.6.11-1090-g76468c.dirty @ 
/home/viz/lib/emacs/straight/build/org/)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]