From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#54296: Add buffer-matching functionality Date: Sun, 13 Mar 2022 20:40:49 +0000 Message-ID: <87v8whio1a.fsf@posteo.net> References: <87ee3d4cli.fsf@posteo.net> <87k0d35c82.fsf@gnus.org> <877d92unqn.fsf@posteo.net> <83bkyednvx.fsf@gnu.org> <87cziudmyg.fsf@posteo.net> <838rtheogd.fsf@gnu.org> <87ilskbgul.fsf@posteo.net> <83ilskcp9i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40134"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54296@debbugs.gnu.org, larsi@gnus.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 13 21:43:46 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 1nTV45-000AG4-UV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Mar 2022 21:43:45 +0100 Original-Received: from localhost ([::1]:57316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTV44-0004js-1G for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Mar 2022 16:43:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTV1Z-0002It-8z for bug-gnu-emacs@gnu.org; Sun, 13 Mar 2022 16:41:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49545) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTV1S-0005ZC-Ik for bug-gnu-emacs@gnu.org; Sun, 13 Mar 2022 16:41:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTV1S-0003qE-Er for bug-gnu-emacs@gnu.org; Sun, 13 Mar 2022 16:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Mar 2022 20:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 54296-submit@debbugs.gnu.org id=B54296.164720405814750 (code B ref 54296); Sun, 13 Mar 2022 20:41:02 +0000 Original-Received: (at 54296) by debbugs.gnu.org; 13 Mar 2022 20:40:58 +0000 Original-Received: from localhost ([127.0.0.1]:43442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTV1O-0003pq-Aa for submit@debbugs.gnu.org; Sun, 13 Mar 2022 16:40:58 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:44745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTV1M-0003pe-KY for 54296@debbugs.gnu.org; Sun, 13 Mar 2022 16:40:57 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0A22B240028 for <54296@debbugs.gnu.org>; Sun, 13 Mar 2022 21:40:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1647204051; bh=1Ek6EKDLAiHlmSv4yxVOKYUuiqiGubGdOumM6MkoaQw=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=gaqXrAiEKV2XwpGs4v4G0Wx95FISuZlLe1Z0N5KW6TB9LxhY+kCuXbBtQ3aLrrPi7 SnPQXSXGicTwnMq6mjEAk1F4gIyXohy1zKr4hvu/Ev+2BDA8DKhUgQFVnvwepTtA8R 9V6Ywi7VlJcAr+kA+1i9Tt5yF0zeybfvtNWMCUB2jZpXIMG4tAwILxeaAZn9NVUoRE iaZL2bkoWBDNvR8U2/snzYUYQs1HEJhzfmLMf8YL9k3R/gW7xyhSrD+wwMXxGxI4/X xrcd8UDuEWZRs5Qail2a2QnvM0Ds8Ozt7IPz1Rqt0oI96oO/0oCAEta7/dhBafQxNX iZC63kudcAMeg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KGs4y21Xfz9rxN; Sun, 13 Mar 2022 21:40:50 +0100 (CET) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: <83ilskcp9i.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 11 Mar 2022 20:34:01 +0200") 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:228317 Archived-At: Eli Zaretskii writes: >> From: Philip Kaludercic >> Cc: larsi@gnus.org, 54296@debbugs.gnu.org >> Date: Fri, 11 Mar 2022 16:21:06 +0000 >> >> > I think we want in general avoid comparison with major-mode, and >> > prefer derived-mode instead, and if so, IMO we had better did as we >> > say and not exposed comparison to major mode unless we absolutely >> > must. >> >> Would it be enough to clarify this point in the documentation string? > > What would you like to clarify? To clarify that the usage of (major-mode . foo-mode) might not be what the user intends, and that in most cases derived-mode is preferable. -- Philip Kaludercic