From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#61098: 29.0.60; Confusing behavior of show-paren-mode Date: Tue, 31 Jan 2023 16:41:42 +0200 Message-ID: References: <877cx8ose0.fsf@zohomail.eu> <83o7qiam16.fsf@gnu.org> <87y1pjstse.fsf@zohomail.eu> <83r0va3o8f.fsf@gnu.org> <87tu06svhg.fsf@zohomail.eu> <835ycm3i73.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: 61098@debbugs.gnu.org, monnier@iro.umontreal.ca To: Eli Zaretskii , Rah Guzar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 31 15:59:20 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 1pMs6S-0006Ks-Uk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Jan 2023 15:59:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMrpj-0002sH-VP; Tue, 31 Jan 2023 09:42:03 -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 1pMrpi-0002r0-IS for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 09:42:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMrpi-0003SS-AI for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 09:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMrpi-0000eg-64 for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 09:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2023 14:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61098 X-GNU-PR-Package: emacs Original-Received: via spool by 61098-submit@debbugs.gnu.org id=B61098.16751761182499 (code B ref 61098); Tue, 31 Jan 2023 14:42:02 +0000 Original-Received: (at 61098) by debbugs.gnu.org; 31 Jan 2023 14:41:58 +0000 Original-Received: from localhost ([127.0.0.1]:52010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMrpd-0000eE-2G for submit@debbugs.gnu.org; Tue, 31 Jan 2023 09:41:58 -0500 Original-Received: from mail-ej1-f50.google.com ([209.85.218.50]:46948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMrpX-0000dy-Uf for 61098@debbugs.gnu.org; Tue, 31 Jan 2023 09:41:55 -0500 Original-Received: by mail-ej1-f50.google.com with SMTP id p26so31022693ejx.13 for <61098@debbugs.gnu.org>; Tue, 31 Jan 2023 06:41:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=5C5vZqXQR1ayT+3I385r8ujdERk0cxh6urcls6en70g=; b=mlkwTY7jUDJz79RSP6x24rQI6fXXFXrvQ5KxOyaskZMjjUR5MJWkgzjQulLDLKS8Hl GLiYOdb5+AnLzRyy3TcAuLdtA4zSarDxYjKQ9W3idt+220zsKz7MHXJZsbjqBxvoeaNT a3+qHCFzVQ8GtQQr7YiVM45niHxUlFJKRaUB62l6gGjE4cg9xYzsZGGPdTiMA7gozoVx 65h56F1jpBcWu0jT2SjXY2Su1V8IRcMeGOR0yEtQZo3oS96sW5l1K07t66doxr2iyQJw 6cEEZizV0QJEBV02j1G2Y5eEoqlvMZqEd7oxd7UtStdWqCTorjqvk/MVyeP2yY8kzDQ+ 8Z/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5C5vZqXQR1ayT+3I385r8ujdERk0cxh6urcls6en70g=; b=8R/E6OZLCnBOKi+MMi5NjfnaJ20mesFAQVrW2IoWh7aqhq0n++pHn3z6Xl711V5fTW LhaeZTPROCua2y2XgHbPDgMXcBMdf3sfNR8+WeFlLoq5jquwUd4+1cJnkiiochRnvaeT Qt4xQtiyyh7rqqWwTXJpB3U6tQWlwS7bhmP0CsCMX23+kWN5GswRLgxuyN09z12abZ/3 yRxFltW6iGXNbgYaoUDOOn4Yit2t1Q1SYLvdu0ZP6cYStHTxKoRKJUH3fLUVnWmDSEEH l479wImgz86AVWsuh/Lht+xc5zgG1LcgA9iLxnxfCtTeUQiGbKMqT1rjU6rrZDeALfvC VN1g== X-Gm-Message-State: AO0yUKWI6PVbRmOB0nOQ2tGfgolksJWY/+2+DOmX0qhIvS0gMDeD92+N 3kS5gQqSYqjlfMb+0URTqHA= X-Google-Smtp-Source: AK7set+NS9pcZl6GyIBe+TDniQs21/2ku1uENsxjoCJdaTUGy+3ApSN6/FO5dcs+MXt2nxBH1L2ujQ== X-Received: by 2002:a17:907:a641:b0:886:5a3d:661b with SMTP id vu1-20020a170907a64100b008865a3d661bmr11642973ejc.57.1675176105832; Tue, 31 Jan 2023 06:41:45 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id x10-20020a170906710a00b0088842b00241sm3477725ejj.114.2023.01.31.06.41.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Jan 2023 06:41:44 -0800 (PST) Content-Language: en-US In-Reply-To: <835ycm3i73.fsf@gnu.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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254525 Archived-At: On 31/01/2023 16:13, Eli Zaretskii wrote: >> From: Rah Guzar >> Cc: Stefan Monnier,61098@debbugs.gnu.org >> Date: Tue, 31 Jan 2023 14:03:20 +0100 >> >> >> Eli Zaretskii writes: >> >>> It should be an expression that yields a boolean value (that's why the >>> variable is named "predicate"). I will improve the doc string when I >>> install the final version of the changes. >> What I had been missing was how is that expression supposed to yield >> a boolean value. > The function 'not' returns a boolean value. 'not' is just a symbol in this case -- from a DSL. (buffer-match-p show-paren-predicate (current-buffer)) is supposed to return non-nil. See its docstring for the description of the DSL format.