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#67008: 30.0.50; Multiple major mode parents Date: Fri, 10 Nov 2023 23:23:41 -0500 Message-ID: References: <84ad0700-18d8-f823-4bac-d6a893570cf8@gutov.dev> 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="24171"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 67008@debbugs.gnu.org, Ikumi Keita To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 11 05:24:39 2023 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 1r1fXy-00066a-Vl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Nov 2023 05:24:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1fXj-0008S2-5h; Fri, 10 Nov 2023 23:24:23 -0500 Original-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 1r1fXi-0008Ru-AA for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2023 23:24:22 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r1fXi-0004Qo-28 for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2023 23:24:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1fYM-0002jF-5G for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2023 23:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Nov 2023 04:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67008 X-GNU-PR-Package: emacs Original-Received: via spool by 67008-submit@debbugs.gnu.org id=B67008.169967668710462 (code B ref 67008); Sat, 11 Nov 2023 04:25:02 +0000 Original-Received: (at 67008) by debbugs.gnu.org; 11 Nov 2023 04:24:47 +0000 Original-Received: from localhost ([127.0.0.1]:51305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1fY4-0002ie-RH for submit@debbugs.gnu.org; Fri, 10 Nov 2023 23:24:46 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:6597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1fXo-0002iC-Op for 67008@debbugs.gnu.org; Fri, 10 Nov 2023 23:24:43 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 04962444304; Fri, 10 Nov 2023 23:23:42 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1699676621; bh=1m+qRiaVZPUKuoknA4wyRgWupYs1vCRlRtaxfcD/Otw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=JeZCgTAirZPWEA/XR7wuNfLN54ZxfPyVYcKgvloSudLULBc1NzU4943syvJ+e/nQ7 fp38fvSZ3iFK9z7fciVsnCgHg26wMqN+WaV9afLr25ecSFxSEXPDcxSEVkvL2MiOCQ qVHKrGVi0fA98v8oEEjJgOLLoHhyMv1dRogOEGbAbWXVOw0qQevZqehkI9X7sq5Kts yRB+A3IFUZhtBAg7uv6yZAbhTbtYppQ1H/1FNkiZrLusnGUHd2xMQ1zyVLKTEY68CR 5FJm952dz/sBjriU1/ZNi5BLzHYad+WLZ7GlLr+pJ1X6u7AZP7hTGIvw/hQa9JhqBl tC0bG8eTwa+dg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0A47D4442FB; Fri, 10 Nov 2023 23:23:41 -0500 (EST) Original-Received: from pastel (unknown [45.72.227.120]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D92AC1201F9; Fri, 10 Nov 2023 23:23:40 -0500 (EST) In-Reply-To: <84ad0700-18d8-f823-4bac-d6a893570cf8@gutov.dev> (Dmitry Gutov's message of "Sat, 11 Nov 2023 02:01:57 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274132 Archived-At: > I think it would help with certain customizations which check whether a mode > is derived from e.g. js-mode. > But whatever code that runs in parent-mode-hook won't run in the "derived > modes" that use the new mechanism, would it? The new functionality only affects `derived-mode-p` checks. For mode hooks, it's up to the mode to run extra hooks if it deems them desirable. Stefan