From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46331: provided-mode-derived-p doesn't work on aliases Date: Sat, 6 Feb 2021 11:41:53 +0000 Message-ID: References: <8735y9e9u9.fsf@gnus.org> <87eehtctnp.fsf@gnus.org> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000020c53505baa96dc4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8929"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46331@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 06 12:43:12 2021 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 1l8Lzc-0002EK-0T for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Feb 2021 12:43:12 +0100 Original-Received: from localhost ([::1]:39832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8Lzb-0008Q4-0i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Feb 2021 06:43:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8LzS-0008PO-NZ for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 06:43:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8LzS-00034Z-Ag for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 06:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l8LzS-0006YE-93 for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2021 06:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Feb 2021 11:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46331 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 46331-submit@debbugs.gnu.org id=B46331.161261173625093 (code B ref 46331); Sat, 06 Feb 2021 11:43:02 +0000 Original-Received: (at 46331) by debbugs.gnu.org; 6 Feb 2021 11:42:16 +0000 Original-Received: from localhost ([127.0.0.1]:45265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8Lyi-0006Wf-Ct for submit@debbugs.gnu.org; Sat, 06 Feb 2021 06:42:16 -0500 Original-Received: from mail-ot1-f42.google.com ([209.85.210.42]:45166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8Lye-0006WN-E2 for 46331@debbugs.gnu.org; Sat, 06 Feb 2021 06:42:15 -0500 Original-Received: by mail-ot1-f42.google.com with SMTP id o12so9538008ote.12 for <46331@debbugs.gnu.org>; Sat, 06 Feb 2021 03:42:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xl7m94RKtc3Qzf4XQ6xrLpb/BTkaPzSJ1L6xcdy2CdE=; b=smOxPQ2dLujfBShBbq9Ivbc78gXZDCqFqq5DIo1HtJxvM0GnVAGE3nKNwR4+1RxRSm 414pr47DNx3Vy0mSRbCLUilijHLHoM/tWvFUnsR5Obo1VI96fkFOJLg5zA45TmQetgeG /fLJFpyeqRL0YAZynEaXpIpMng2Z/Nrbmj5Lc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xl7m94RKtc3Qzf4XQ6xrLpb/BTkaPzSJ1L6xcdy2CdE=; b=FexiFonpf9Mv5fQMD1tjEp/Cre1x7SIycSXSrLdK9ho/sXZzk8KE1vUxbGXaq2A7ij lSLvlxo6Gn/HGcFyIQTG0Jj4ZnXrClhP+1HZxe0MBCxgXJ3pjVNUo9E55gEKbL0CUjaw 75JN4SWedZkwAlGh7tI+rQr9w+ALD2s9gwKnNmIS/w0KgGsWzBsaBjujmjx3XfM6KQij UXeI8VIFET3dHDIDlHouHvIsY8nb9i0OotnHpp3PR1DOxgnhAisOlv9JujXCCrRBRK8m +UFFdI4TYI8Ykxd34LtIWS5X4raauVTfAOT5QlWaYGrcatycqg9k58A6Firz6p3TmdFh d2ew== X-Gm-Message-State: AOAM533ue1Z6YBb+CHCwYCgQHui2G+bg9dw89O1V3BPgbBIft2rKdjW9 2guOvHxLez/w/0aqnmAJnP4ZTIhVLyQcCseBxVoyvA== X-Google-Smtp-Source: ABdhPJwACQkKn5gSgGkT5nm15dtRY5w9pF4fXOfj9CVzj9q9jDf42CQ0XwQ2XDzDB0Zf3l7u9ZswUfWZqfamEZiy6ac= X-Received: by 2002:a9d:7f16:: with SMTP id j22mr1979552otq.76.1612611726650; Sat, 06 Feb 2021 03:42:06 -0800 (PST) In-Reply-To: <87eehtctnp.fsf@gnus.org> 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:199421 Archived-At: --00000000000020c53505baa96dc4 Content-Type: text/plain; charset="UTF-8" On Sat, 6 Feb 2021 at 11:39, Lars Ingebrigtsen wrote: > > I think adding "MODES or their aliases" was a bit superfluous -- I think > it should be self-evident that that's what's meant here. I didn't > remove that bit from the doc string, but I think adding it to > derived-mode-p isn't all that helpful. > I agree, but I think it should be consistent between the two functions, otherwise it looks as though they work differently. (If one is reading only the docstrings, not looking at the code.) -- https://rrt.sc3d.org --00000000000020c53505baa96dc4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 6 Feb 2021 at 11:39, Lars Ingebrigtsen <larsi@gnus.org> wrote:

I think adding "MODES or their aliases" was a bit superfluous -- = I think
it should be self-evident that that's what's meant here.=C2=A0 I di= dn't
remove that bit from the doc string, but I think adding it to
derived-mode-p isn't all that helpful.

<= div>
I agree, but I think it should be consistent between= the two functions,=20 otherwise it looks as though they work differently. (If one is reading=20 only the docstrings, not looking at the code.)

--
--00000000000020c53505baa96dc4--