From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#57502: 29.0.50; Issue with `or' clause of buffer-match-p Date: Wed, 31 Aug 2022 14:02:46 +0200 Message-ID: <87o7w0fwnt.fsf@gmail.com> 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="1501"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 57502@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 31 14:03: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 1oTMR9-0000Ey-VI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Aug 2022 14:03:15 +0200 Original-Received: from localhost ([::1]:37194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTMR8-0008Bm-0w for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Aug 2022 08:03:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTMQx-00086u-1k for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 08:03:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTMQw-0008Qm-Od for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 08:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTMQw-0000Rt-DD for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 08:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Aug 2022 12:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57502 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.16619473781713 (code B ref -1); Wed, 31 Aug 2022 12:03:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Aug 2022 12:02:58 +0000 Original-Received: from localhost ([127.0.0.1]:38444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTMQr-0000RZ-PG for submit@debbugs.gnu.org; Wed, 31 Aug 2022 08:02:58 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTMQn-0000RO-1U for submit@debbugs.gnu.org; Wed, 31 Aug 2022 08:02:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTMQm-0007vV-M9 for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 08:02:52 -0400 Original-Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]:46976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTMQl-0008PQ-3a for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 08:02:52 -0400 Original-Received: by mail-ej1-x635.google.com with SMTP id bj12so27849723ejb.13 for ; Wed, 31 Aug 2022 05:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :subject:to:from:from:to:cc; bh=KESpQZoE5Xbt/OjjA5CaZEWHdwI3FkE+3k/twLdcvEA=; b=F3qYJuBGNjDkwBFX3fM3zAyFEmb4aADN4UAMj9AQ4CazJBJNae61Z70nM63bpX7K/G NWhfuLrZeo3ap7wA115ghvDJt3cTqI/dqwK0hf5alKoJs8d4Mp0c09r56HNTRIClSDTg fV4Zuhg3atcV3cN0BFqhtp/gJ7qimYTaz9s1VPoEhKPrTCZ6PhwQ9vUE9tP4PIX8xryQ GcRNP4vkstTXt1Zb6sTiNxrCdvz98lR9h6VVHNHNLgKVxo1USfP/4LMZAduxrmLm9lbP 4lGP1LktDO6Px2dV4axzTsHDf7HQ8ugejL9krHFfYoeS8b831RTx8xB1I+mYhy0ebP/s FgJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :subject:to:from:x-gm-message-state:from:to:cc; bh=KESpQZoE5Xbt/OjjA5CaZEWHdwI3FkE+3k/twLdcvEA=; b=LU205Rx7aHtROL7bJV0fxrafYUwpogw9FTxS81mSjG0WLBJf2XgQ7A9YTH9D98Qq0r rXkafkyHp14GT1TL5EHAK7zANslzTn3LHj56ZgbZ9GjMD3J8inLNhwSGAIAxRAikJFF+ bkcj2US5aDLjYabOlR4bOkmonKOUPmB/gC9vC8tQnEXPOCS9EHE2Y9f4RLAVaeTUApur koYe+83tWEVsGTJuJeu18JC8utki+Ez6rWKCVxYpmT14p/Bt2/2NAa9m5K+asrsNUwVd yEi7R4+XJ4/myuewbFyyhR3RWZ6O1H/I9ORFTEsxp1/gbiF5jxpKWoFz3pVJTiNQ1Jjo BSGg== X-Gm-Message-State: ACgBeo3omYmZGoh9AM9NiahdYfUl4uV6dyBvUu3bty0a84il6g2GI0rd 1EK02a7ZWoFbTDqxTVqX9/jDFDf4s/4= X-Google-Smtp-Source: AA6agR6c5AjJtIEnRurlEU0Wf+lOSZxNG5ILdR++9ZZEXaqrZudx2MffGYAO0y6kxWsBQ9bzi8QLrg== X-Received: by 2002:a17:907:8692:b0:730:b0d3:5311 with SMTP id qa18-20020a170907869200b00730b0d35311mr20764144ejc.674.1661947368415; Wed, 31 Aug 2022 05:02:48 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::157b]) by smtp.gmail.com with ESMTPSA id b11-20020a17090630cb00b0072b92daef1csm7100681ejb.146.2022.08.31.05.02.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Aug 2022 05:02:47 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=arstoffel@gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:241188 Archived-At: This buffer-match-p condition does the expected job: (buffer-match-p '(or "\\*" (derived-mode . special-mode)) (current-buffer)) But this presumably equivalent one gives a =E2=80=9C(wrong-type-argument li= stp special-mode)=E2=80=9D error: (buffer-match-p '(or (and "\\*") (derived-mode . special-mode)) (current-buffer))