From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#67008: 30.0.50; Multiple major mode parents Date: Fri, 17 Nov 2023 15:04:24 +0100 Message-ID: <735BCDB1-366B-40A6-98F9-CEBC7DAFEBE7@gmail.com> References: <445405AC-C0DA-4914-984E-B42671AB536D@gmail.com> <7C4E82A5-0F5A-4E04-B2BD-AD6DEC56A8C0@gmail.com> <2D8636AB-AB86-4FB5-BCCB-E10D0B9CD8C8@gmail.com> <7717747E-42EB-445A-8487-822C0E932465@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12957"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67008@debbugs.gnu.org, Ikumi Keita , Yuan Fu , Dmitry Gutov To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 17 15:05:22 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 1r3zTF-0003BX-KX for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Nov 2023 15:05:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3zSz-0001gf-5N; Fri, 17 Nov 2023 09:05:05 -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 1r3zSx-0001gU-Dh for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2023 09:05:03 -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 1r3zSx-0006Nv-3t for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2023 09:05:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3zSv-0001P9-WC for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2023 09:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Nov 2023 14:05:01 +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.17002298785363 (code B ref 67008); Fri, 17 Nov 2023 14:05:01 +0000 Original-Received: (at 67008) by debbugs.gnu.org; 17 Nov 2023 14:04:38 +0000 Original-Received: from localhost ([127.0.0.1]:45563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3zSY-0001OQ-0g for submit@debbugs.gnu.org; Fri, 17 Nov 2023 09:04:38 -0500 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:55458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3zSS-0001O8-T2 for 67008@debbugs.gnu.org; Fri, 17 Nov 2023 09:04:36 -0500 Original-Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-507a0907896so2907238e87.2 for <67008@debbugs.gnu.org>; Fri, 17 Nov 2023 06:04:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700229866; x=1700834666; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=VpnUlXxWZsAkuxRc+vuPvEtcyMe0ccFTTjJ3egyff5Q=; b=EbxLHpMHEltEln3za8sWGT3ge1c/1SDC5mbfWl95VuJsYgk/0+RJNabTWJaH6gBudb wFSOuHDHn1eLzj9VtN4+7s/FJ4ZUc8QqW146SqhRGYXXTiANgErg5rVZZi8X9gbBh8Qg ukqxhHTXfqNR+b4Au0TOOS/zy/9QLeiKH5eyxDE4ipm/or2zF1grTYWI+o1wzeU4yG3R QD7ndri0TuFQWj3TiCPqP7+nKzMbq8aYKFnZ3tkHGmOgmWKQbXdtsM0FktAEtdFyp4j4 wztqg3VtzLevKMLivsmNG219Fd3yuwi31ZQfECGwe6qFVKKzmnZJuRXs6uY7LFZe0SFA PVwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700229866; x=1700834666; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VpnUlXxWZsAkuxRc+vuPvEtcyMe0ccFTTjJ3egyff5Q=; b=TNAySafppbdnK3sQVcgrKom95gm09oa+A31FG6OW/DXGwWAbOJPbtWz53RnLsH4EEY S038OYBaCiq8m7f1kiYXm+PO43Thjg1hWB5NuCMDZo2LmZ+jh1n+9f3kZ/WvQ3l6dZZ9 O09o/Q6B//K+twb5nO0dc4Gp58zpduPlF+zqDb3HIsZ5FnC2Zo+QjBIWUGMTXomKU2YB VDwfCyRXraEVGO86jvNoxGFqe0M+tdxmttuWw4+TWhJXp6SdyCaiD+HJN30w1An7Czy2 hCjLK3d9TKKxZ11L8m/YkACl0o57fM4u7MOzqdhvJ8bv9qmBAXIDSwjYxAa5KGOZbqh2 4mVQ== X-Gm-Message-State: AOJu0YxYLcPb5UWhMAFN0ChrGbwirYtBJW9PjSZ/gmKyV2al/0Ed0uXr UGL2CiAReOhiGQFWWlJupqs= X-Google-Smtp-Source: AGHT+IFk507ntUWq3IDjbcfV7eTMEtLne8MXBUsr2e1NjdMwgXRc2zx0Tz8tnrhrOx3tl2R1oP4Ghg== X-Received: by 2002:a05:6512:60d:b0:507:f0f2:57b1 with SMTP id b13-20020a056512060d00b00507f0f257b1mr12469570lfe.15.1700229865851; Fri, 17 Nov 2023 06:04:25 -0800 (PST) Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id r5-20020a19ac45000000b00509195952b5sm232112lfc.89.2023.11.17.06.04.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Nov 2023 06:04:25 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.15) 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:274502 Archived-At: > Garbage in, garbage out, eh? Indeed. Let's document the constraint on the argument and, if it's not = too expensive, verify. >> or if the default error function (caar) is used. >=20 > Same. Well sort of -- since it's the default error function, we must be able = to defend the results of having it used. Otherwise we're just saying 'if the input graph is cyclic then the = output is undefined' but that clearly isn't true since we make an effort = to return something semi-useful in that case. Are the duplicates essential to proper functioning of = `cl--class-allparents` and `derived-mode-all-parents`, or would they = work just as well with some edge of the cycle removed instead?