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: Tue, 30 Aug 2022 07:44:39 +0200 Message-ID: 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="9109"; mail-complaints-to="usenet@ciao.gmane.io" To: 57481@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 30 07:45:42 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 1oSu4E-0002AG-5g for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 07:45:42 +0200 Original-Received: from localhost ([::1]:34428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSu4C-0002AH-Ch for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 01:45:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSu3b-0002A7-0E for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 01:45:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSu3a-0003l6-Kr for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 01:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSu3a-0002Sl-8g for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 01:45: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: Tue, 30 Aug 2022 05:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57481 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16618382859425 (code B ref -1); Tue, 30 Aug 2022 05:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2022 05:44:45 +0000 Original-Received: from localhost ([127.0.0.1]:34427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSu3J-0002Rx-LG for submit@debbugs.gnu.org; Tue, 30 Aug 2022 01:44:45 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:47948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSu3I-0002Rq-Rh for submit@debbugs.gnu.org; Tue, 30 Aug 2022 01:44:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSu3I-00027w-ES for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 01:44:44 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:50191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSu3G-0003ih-62 for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 01:44:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1661838280; bh=oPTiUMXPMFzKNCY+k/lUJeGbb25b2rH9gEQOSZIcjcQ=; h=X-UI-Sender-Class:From:To:Subject:Date; b=VZkoU6wJCFZzezUdazEmp/Jyk3x9Z2B/UYCC7DXHaBgtTXHCMg9cw0ELizxafU2eX 5KCJwMkR4y5/NI6L23umAjBh5xXeKl869aFk6KCvLkieHH3a6/ZB+KfX3nC0GeOvxH qgKFG5sNEmiX+q7ljI72MbXFT5wPJ5OplHJnZB8A= 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-bs10.server.lan [172.19.170.178]) (via HTTP); Tue, 30 Aug 2022 07:44:39 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:BiTXyCD2+3KETTMhP1OEmAxlctsbY2gd3Ijy7OaktemdgWLKuW7k9up+RPL17iXgqO8Uw 1LHp4thGCoYB+vF7S7AspPWWzcw1E8Pwnx2rD/uoDwBkgpalgXg3QSkDzooXH7qA7j+nYAxBN2j2 wxopu6ELoAddgfa67em3WT9HQ1MXlmWApWnliSr1zJZMbRBiA0EfqIgYOVBjTFxD2TKZfqlg71gS nIEP0SUnqAthACWtWPy7Vr2y5V5X4KESfezJFqjMiZg2EpXHDBX11ECXQm/HvJV6lmXGHtpf+KaA fw= X-UI-Out-Filterresults: notjunk:1;V03:K0:EB0gM0AKGFY=:eY3waJgPs7uoRZ1wBC8AzO PsWUCbvlYbflnxn9AxXSBkQHEEBt1YtmSHL7NecuWGU0uOPT6UCFFlD5mkALhYzTMU3TXmkb1 oOnKdEFiGt17fL1dm6XB2zHAPt6iQejlXCC99j7fcXtNq/xkmRtgCNPeuIZt4nUwVQp4Ppl5B xtAOo4DPcuHWoAIQ7EPaZP3U8XcvJl55mYbcFs1tV7yIwEmFUxzCna275xKiR0PIkHp+ZNyvI frXfSm++5mdhilg3ZWM8Px6GbtnXNQUVg010OtBovdaATwQ5WNlSk5sv/mhoru+fb9wD3GZg9 DoUYrE6qYvGnF7btKFgF52u7A8E//E99JxaW3MUS/a4mMJj513cle8Z2VHGnfsz6kTByuk2Vi f8sPrK3WbO9U9G7VON1ZTVXjhxMPrhWM1AmKboFwngpW1YFyBzr+YeGujlhK/nF7MbVIWggIn LfApKxzVzwUofzAaneF1pfNC6LUPQWcrNAztnEvfIUCJffLig0f2VyPAya1BipmKsZx0HVRsQ K8cW7DA5Bka5Qm3urzbiqfPBHc+IKQ1nv/ffL9jWtt4lQxrJaZ4tNVzOo39CeB86iSF8yeyuR frp0tgilYDfcBuC2aZq+OVLDHkB0gcJA3OtGBLvAf/35piveD4wkwuSiiengoLDefe9A+Q5gq uGDkrPdwz5QaE6d18+zIjAdhq/5a9Wf1wG4FxR+cXgU49uFW4WJ9H7q//cMXHyiZlFS7PSmDP 820tDTNSj9oQBO3CpQ0CN2Rtd6PkmFYkVCgmksPO0f2EOv4QeRfL0sSHe/3r2fKBdxojM7eJ Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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: 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:241080 Archived-At: Have seen that (get 'latex-mode 'derived-mode-parent) as a normal elisp = command. For instance, I cannot run it in "lisp-interaction-mode" or simply make a = elisp function that iterates the result of the expression until reacting "nil" t= o get a tree of all parents. Would be a handy tool to have.