From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#67008: 30.0.50; Multiple major mode parents Date: Sat, 11 Nov 2023 02:01:57 +0200 Message-ID: <84ad0700-18d8-f823-4bac-d6a893570cf8@gutov.dev> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34952"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: Ikumi Keita To: Stefan Monnier , 67008@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 11 01:03:56 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 1r1bTe-0008tp-3g for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Nov 2023 01:03:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1bTB-000410-Cr; Fri, 10 Nov 2023 19:03:25 -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 1r1bT9-00040R-5j for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2023 19:03:24 -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 1r1bT8-00013g-TT for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2023 19:03:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1bTm-0004Dp-IO for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2023 19:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Nov 2023 00:04: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.169966098616166 (code B ref 67008); Sat, 11 Nov 2023 00:04:02 +0000 Original-Received: (at 67008) by debbugs.gnu.org; 11 Nov 2023 00:03:06 +0000 Original-Received: from localhost ([127.0.0.1]:51048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1bSd-0004CA-0P for submit@debbugs.gnu.org; Fri, 10 Nov 2023 19:03:06 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:41483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1bSX-0004Bs-Vw for 67008@debbugs.gnu.org; Fri, 10 Nov 2023 19:02:49 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8A1DB5C01EF; Fri, 10 Nov 2023 19:02:00 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 10 Nov 2023 19:02:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1699660920; x=1699747320; bh=fktxASSWmoIUk3nxIwNRSVLo7t3PQ1pIe2Z l03VelcY=; b=ViWtaAVLKVyIhKxiHEMAHqv2ybhGhjefMNjanp+R4ZslhywVTnQ bL1+u0DuIvEitQimn9FfR9RKZg7tlL8aP1B7f4bI2ta6lxEXgOsifgRbqSizXxAL ikm13FCHatY+kLHQQ2zZTIW+fpqCVZvZz9rXbikcwFc1Zd7Dl/sms5faM/PvD7ZM mE2zHrguE+2A25Cn/+1ieXn7Q0s6X6UOtSYkujGdHIVR/P+LzwFOQHstM43TJ1bg FfFo1QzfhkyuPUWzv4hpk4+7jC2H+WKQWKmChT5JIiWIvUjau33ahbuFkVfnWy9f aRZpt5Ei36AMnmu07WXkOaJRIXA5bAdnATQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1699660920; x=1699747320; bh=fktxASSWmoIUk3nxIwNRSVLo7t3PQ1pIe2Z l03VelcY=; b=TLiQd1UHKgioKTSPJ/Ry9ZkvBJqjYvqR9+fQKCfX3eaEksF7iDh dmmp6X9CGLQD47oWqXFb+n1tG7vVkWCa+hjHOI5/Jd8qqusdXGPSEbzOX9+gJ512 kAWAtXVH5u4vUT9boAwvvedt0sVCBLNew/YN2/ZUamT7J3v9h9JeXXFl9eI6iY/n YsKUsVcXQqgFgIJvJ0EoEHpnlCWgRjQGnKyMAf9kIVo1jtDx0FEBScWSiLSlkIV+ FRsyrp8e6BGswWIgBt/li+a3xV8I5tPF/ldFFDKZJ4PARQOEtIybGnlKl1pB5BxI GjeeYrdS/71yfTIGvJ9pIWEKhwnfxI9kfTw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvgedgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Nov 2023 19:01:58 -0500 (EST) Content-Language: en-US In-Reply-To: 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:274122 Archived-At: On 09/11/2023 07:38, Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > While it seems difficult to add support for multiple inheritance to > `define-derived-mode`, it's fairly easy to allow a major mode to declare > itself the spiritual heir of various other major modes beside the one > from which it actually inherits. 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? I wonder which of these two problems have a bigger impact for the seamless migration to ts modes.