From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.bugs Subject: bug#57481: elisp code utilising derived-mode-parent Date: Wed, 31 Aug 2022 08:24:03 +0200 Message-ID: References: <8335ddvq8n.fsf@gnu.org> <8ae78bcc9c80b102389522e89f7fa644@webmail.orcon.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13738"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 57481@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 31 08:25:16 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 1oTHA4-0003So-2l for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Aug 2022 08:25:16 +0200 Original-Received: from localhost ([::1]:35248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTHA2-0007C9-Er for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Aug 2022 02:25:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTH9q-0007B7-Ny for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 02:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48249) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTH9q-0004OA-Dk for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 02:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTH9q-0005q4-4w for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 02:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Dimech Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Aug 2022 06:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 57481-submit@debbugs.gnu.org id=B57481.166192706122392 (code B ref 57481); Wed, 31 Aug 2022 06:25:02 +0000 Original-Received: (at 57481) by debbugs.gnu.org; 31 Aug 2022 06:24:21 +0000 Original-Received: from localhost ([127.0.0.1]:37998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTH9B-0005p6-Bv for submit@debbugs.gnu.org; Wed, 31 Aug 2022 02:24:21 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:57563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTH97-0005oq-Bz for 57481@debbugs.gnu.org; Wed, 31 Aug 2022 02:24:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1661927043; bh=UaBGUbBmhjBB9UAicyyXShJcKZ7maBLgsr3StIX9jRQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=YGCeVBO5cbyE+qNG5J7jZ7VmJIQaUCYv9LK3ZewjePvd//rLWLHHh0GZtfNRPbcVV 4lE1diayUcykPjOeKlMGIgs+b9UORFEwQERtx8zCcs6hz2gwjd6WmiEGthz+l/uWrR SJgQYj3eqIrP5HSCujgd1SjbrbSjD+yCSea4Wb0g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs01.server.lan [172.19.170.58]) (via HTTP); Wed, 31 Aug 2022 08:24:03 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <8ae78bcc9c80b102389522e89f7fa644@webmail.orcon.net.nz> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:D8izh1v+qw8Y/qAaxzxNz4m4y62R869xmlJo1eQZ5M+HNMSjdTBsrEBO5U1OfhVIXqeAN QaZO6rpwz7p8UnC4yjarfgAbks3yADAnunVLVhaUC6tCb93nel2TYi9v6wCe7S22rGd3FWxcZzuB PC+oukbi6ikZft07V7Qc+xP3MLp2B5l81MQ7oX6HmKyXfKnLtXgbd/ZhgRhaalHm5CA/HM6GCZXW dzO/u160jybvqpwsJ1pIk1wf6964LsjqYift56ilFCRrlNiAZs5JQoWY25uGxfq5vNtfsoq7dA7u X0= X-UI-Out-Filterresults: notjunk:1;V03:K0:iWr3Xa5Kg1s=:8ZjxlAxvMX+MWJRJbbyLAW 1oaUGZvHIb1dkaoLj9rN6UiOpjMPzNunzWyq86jZjI3oLD5rZHhCIrqHxwifrFV5QJl7//YTZ 3T7pqTz+AKkwCtY01pux5uNbo3lWBWemD/kVcR3SHO+iIKrCoASNsX42tnUcf/4neXTXl73n8 1dOEVzpklnRLyBOAHXmd5OJqyGEiu7vumoT3zCOikhvKBFtBpw81An6kBWWLNgNQlQ4hGNKpZ oTNFSbc5odik03AcUXhBmGdUag66Rje8rVJQ99sAAU1Pp603QuSiIA6PWLuzB+uJWCLSxBIeO bOvVhHzwNp4uNjjNsJY0x5Tulf4Yxti4vh75HfE+0bpHQRkqavype4j0OaQkk5L774YWCpvfM UReNlpNuQPV5ewF1FHedovNNq6jJBKIXb5yZg7SREKjmUe0gLCzOwvs0ALq4t6hYMtdTH74Ro WYR0sAfF2nsV5ZpFJyqCneZpsbpHOw7crVN+siltYH3Im16MdEuqnnEZwchA5ZfbVLmVQHnz0 2BjYQFr6Xq3sHKrsL390nMJ7F2KSX1hBlStqTV9eagWmzYPYfGkdelDTmnkB6xVsFjzpM3aQb 9sEdFssojraKXgGg/MG2AXw1RiKmo74rNHURKgVGlKJmnZY0N+0SiNsVRzxU3Fpnarp0JXYvZ KSGwsJXJ9GiUYlL0rSJQi993pW9sC2cyHCCioSispYT00Zsquesql8r3Z6u6+dG+WKwx6clBT RZn7EpKjsi8XKs4GK+sGQ0m5XXwPH3tpLEh+I3zgfyd5Sfe5GrL3fXwXSAIqbZ9gsoRbzWPT 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:241166 Archived-At: > Sent: Wednesday, August 31, 2022 at 10:07 AM > From: "Phil Sainty" > To: "Christopher Dimech" > Cc: "Eli Zaretskii" , 57481@debbugs.gnu.org > Subject: Re: bug#57481: elisp code utilising derived-mode-parent > > On 2022-08-31 01:16, Christopher Dimech wrote: > > It could find things through and do what it has to do, > > without requirements for user mode loading. > > Except that what it needs to do is load the mode. > > If you're now saying that you're actually happy for the mode > to be loaded just so long as the user doesn't have to do it > themselves, then you can do that for autoloaded modes. > Check autoloadp and, if non-nil, call autoload-do-load. It has been a misinterpretation. Not-loading was a reference to make the loading requirement fall upon the user. Unless the user has already loaded it or was loaded it for whatever task user is doing, then I can load the mode appropriately when the user calls the function. > For modes which are neither loaded nor known as autoloads, > Emacs doesn't even know they exist, let alone how to tell > you what they derive from. Can scrutinise that some other time.