From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EF7sJyx4z2VySgEA62LTzQ:P1 (envelope-from ) for ; Fri, 16 Feb 2024 15:58:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EF7sJyx4z2VySgEA62LTzQ (envelope-from ) for ; Fri, 16 Feb 2024 15:58:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YbokLYjt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708095532; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=w+JaxUIojbkgae1inzyPZYA4I/Hqe6tcaK5KhbNSNU0=; b=BrnN75VFrz0FBb37Y7lNPOmquhswiDGEngYHtmMgpkeAKTGZRtvg+b2CFSHyeunJh2N+mg AP+8TnEvEnfsZBdea0sn3IINUTZafku3OGpSKrjmDnAh395z3XjAQVmaWal06holR131nd FtZLJ75nny5ygu31RQxcP08EkWsmKugkthsVuPzJiL76CV8CwRxtuIkJKwVexbIWatrYvN 0dJvlG+onUPcZPuVs+vFLo3k55sTVRVbLlbnyLdE9aJlO6MniU7gw6oEDrqzeSRZ8e1L2a QkuIYDsy4T39TPjGPJu8EAJXY7bwrLWw0J2kilSNGcnoMbnPSHW+Iqhfy/NaXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YbokLYjt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708095532; a=rsa-sha256; cv=none; b=DhC1BxfD7uVVPSO1GAwIya+cOkKe6tjd1IiEiz63Kdr87P16mR6sNUcU9akxZQX9hLI/qi kfs/NhktMxSz/yGbpeE/8RYS30qT5XUs1FMaaEbpx/M3ci56jA2y5joOsbU1cSH2L/Sn5O JswTNp5SaPh1iWFdZtB5bN0tRBGLYgMKZ7nG8AVVZTUz4G+sQ9gWzRyg95UquiEVrOwpIp AG7HjO2xdZ9eoVWGn2/M3KxaNBbFBIgXbI1EvTOxLr0MWh68WLpGkATHaSCANqAKjDKhvv 8UF7ePsFIkmetQgvQvmXERAzsza/1OBaChXgbjmP0xsfF5GzcfRmTRwKKdp0qA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5CC4B543A6 for ; Fri, 16 Feb 2024 15:58:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1razf3-00055N-QA; Fri, 16 Feb 2024 09:57:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1razf2-00054q-EQ for emacs-orgmode@gnu.org; Fri, 16 Feb 2024 09:57:56 -0500 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1razez-0007mf-JS for emacs-orgmode@gnu.org; Fri, 16 Feb 2024 09:57:55 -0500 Received: by mail-pj1-x1041.google.com with SMTP id 98e67ed59e1d1-296d24631c0so1592364a91.3 for ; Fri, 16 Feb 2024 06:57:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708095472; x=1708700272; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=w+JaxUIojbkgae1inzyPZYA4I/Hqe6tcaK5KhbNSNU0=; b=YbokLYjt78DamBZ5vtPYbQfWT/KCa/iSXUXZ6WvBjmmVdoELeQl60vV64GGWOM93G+ iqnDtmC4dkvo/YZ4uQy6r/sLLw10BOGTnPazjw4AkW/W6aa3qMnkic5R33h/uiYeXXN2 MwXN4WQzVIrTNNQIUQMo2t7U+TjA+g4bV13M+VaKDq2J/xWDlQwcE1LdW98R/KmkrLS+ GYOa1YfFRG5Z80yYWH+Hoa2NFXCEWTHHF8BenIzuCG1A993ZUm3TJDAUG2Vq5eYec6wa Kn9o8mFA5hcnrTjoeEosuMOH/mef1KeCnyz2Epv+pnK5wkACZkp23ULV5fHe8Ag8D0yj cyHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708095472; x=1708700272; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=w+JaxUIojbkgae1inzyPZYA4I/Hqe6tcaK5KhbNSNU0=; b=Y4O9oR0bK22SElrLFy2FeFt3rRtMp/7GV5SQD6CcOc7+1qIXu3PHjlBw9mlII7KwGQ kBQHlBanDzG1tdOikpvfp5OMgX71qhj2tH9RYusSl1jIxuDzwRI1MvhbeNagQk4aIDE3 ht6Fpsrz93Kh0fkKMO9+c/qPyKTD1y1domAAQ8kiaiCbmG0chl1j0c5anNTjmhAZcftc 7p6BF4MKRNV4gGio5G1bbv7AgDeAli3gS/D+2fA8LCXLQEVnXgC9f/zUPkt7HbiX/UBp YEvkZxnGJAJJBJVr1O+IXBLCB6Hxd5b+wJQ+SwxVCTvB/VUIgDW5JeUJXgQ/kk2fEuIZ /tTA== X-Gm-Message-State: AOJu0YxASV/WVUf3J9P9NAVWFbYRQ8B0V41kiPiAWuCNMguEPge8yF29 PwfjqYYiC83N9di6uw6BBqLy/yMcNBeS/e5kc8Hgu6r5y7OCPdM/l2dzW0QyDig= X-Google-Smtp-Source: AGHT+IG5b9z35WomqVqSGfqgdYVS4eWiIwdh+OiOO3NphgjJP9HIxWZsUyXLNDFdrQTmlFJhaBulTg== X-Received: by 2002:a17:90a:ad08:b0:298:cdb4:4bd0 with SMTP id r8-20020a17090aad0800b00298cdb44bd0mr4777231pjq.21.1708095471691; Fri, 16 Feb 2024 06:57:51 -0800 (PST) Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id b23-20020a17090a489700b00298ca46547fsm74730pjh.36.2024.02.16.06.57.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:57:51 -0800 (PST) From: Visuwesh To: emacs-orgmode@gnu.org 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 Message-ID: <87sf1s318z.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1041; envelope-from=visuweshm@gmail.com; helo=mail-pj1-x1041.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.76 X-Spam-Score: -9.76 X-Migadu-Queue-Id: 5CC4B543A6 X-Migadu-Scanner: mx13.migadu.com X-TUID: bMYO/89QVpjI 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/)