From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58075: Mapping file types to major modes Date: Mon, 03 Oct 2022 11:18:13 -0400 Message-ID: References: <87a66m8jgn.fsf@gnus.org> <87ill92d0c.fsf@gnus.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30684"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Ikumi Keita , 58075@debbugs.gnu.org, Juri Linkov To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 03 17:19:24 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofNE2-0007jc-FR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Oct 2022 17:19:22 +0200 Original-Received: from localhost ([::1]:36116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofNE1-0005mC-CN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Oct 2022 11:19:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofNDj-0005ln-Cw for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 11:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofNDj-0007lB-13 for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 11:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofNDi-00016y-GU for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 11:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Oct 2022 15:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58075 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58075-submit@debbugs.gnu.org id=B58075.16648103044216 (code B ref 58075); Mon, 03 Oct 2022 15:19:02 +0000 Original-Received: (at 58075) by debbugs.gnu.org; 3 Oct 2022 15:18:24 +0000 Original-Received: from localhost ([127.0.0.1]:51559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofND6-00015w-GK for submit@debbugs.gnu.org; Mon, 03 Oct 2022 11:18:24 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:10901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofND4-00015g-G7 for 58075@debbugs.gnu.org; Mon, 03 Oct 2022 11:18:23 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B267D80796; Mon, 3 Oct 2022 11:18:16 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2006380355; Mon, 3 Oct 2022 11:18:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1664810295; bh=CHGM+h0apWpBbw0RbKXLLUOssnCKg8t6ASoMlKtLQCo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=AcjMZkibGMkYnm+1tkUYqIFhL2ZfELx726UlyTHEa9jGlRRFCZ5u7D/6KyrDWZnl2 i7KoVxVSvucRpjyQMx2mXAQM9usBvdRYthrnZYW5TNzFD0w+E4FCV7nJ4trPQcIJPj k7Si3GmsPRmePr1nLZNHeWIgfmlsNskX99KZimnbW576eGdmpIvGDAEcli/3j5c61I 37X4dkKbtJWw2qrC0ke4N8h8qPf3v4lU3BptEtxC1J2gLe5pkydx4r9YINcaGTxAEX nLuf5v6dr0WuOKgwTFTF8MH1wh01W84TBTMJvjbSUfrhGz0BRmQQOscTMPmxJrE/h8 snQNPWOniQzFA== Original-Received: from pastel (65-110-220-202.cpe.pppoe.ca [65.110.220.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D1B03120AAA; Mon, 3 Oct 2022 11:18:14 -0400 (EDT) In-Reply-To: <87ill92d0c.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 27 Sep 2022 14:54:59 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244310 Archived-At: Lars Ingebrigtsen [2022-09-27 14:54:59] wrote: > Stefan Monnier writes: >> And that doesn't account for the files where the mode is found by >> `interpreter-mode-list`, by `mode:` cookies, etc... > Yup. So I think your proposed patch makes a lot of sense, so feel free > to push. Thanks, installed, Stefan