From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54296: Add buffer-matching functionality Date: Fri, 15 Apr 2022 09:56:04 +0300 Message-ID: <83bkx23ke3.fsf@gnu.org> 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> <87v8whio1a.fsf@posteo.net> <83czipkylw.fsf@gnu.org> <87pmmp9c63.fsf@posteo.net> <83v8wgk7tn.fsf@gnu.org> <87a6co5aw9.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5562"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54296@debbugs.gnu.org, larsi@gnus.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 15 08:56:18 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 1nfFsP-0001DN-AR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Apr 2022 08:56:17 +0200 Original-Received: from localhost ([::1]:41820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfFsN-0006lf-OJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Apr 2022 02:56:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfFsA-0006lP-KJ for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2022 02:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfFsA-0002if-B1 for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2022 02:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nfFsA-0002sw-95 for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2022 02:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Apr 2022 06:56: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.165000576111082 (code B ref 54296); Fri, 15 Apr 2022 06:56:02 +0000 Original-Received: (at 54296) by debbugs.gnu.org; 15 Apr 2022 06:56:01 +0000 Original-Received: from localhost ([127.0.0.1]:57992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfFs8-0002sg-QT for submit@debbugs.gnu.org; Fri, 15 Apr 2022 02:56:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfFs6-0002sN-H8 for 54296@debbugs.gnu.org; Fri, 15 Apr 2022 02:55:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfFs1-0002gi-4D; Fri, 15 Apr 2022 02:55:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+ZtnykxRcXyPumPX2Oaqdak4LfI478fWVFfv9UCiEco=; b=llrDXPqs1mPv xz1KKEP2sKhriYjwqFoDK+LVOFiTBqkeT0D3E4W/8zFcunw8X3CwPM7Q2vjmgmAkJJOqo1XNupvYj jqEmMv3Bu3cvQoMacOpq5Kp68N0j16QxBX7A9HfsItWEgCigBFMVvpz1Mg3gpLTHFWfyb7PAlu5NB 5amtxZkjtNDIVFOmh4WrwccPcUD3p7R+raYqDaFYRu2Ffhirpo1MyGzEJ0X2qgR+23DA6/3sLaxkk 8dXaIk8Vb5fM3eaVCWzBu4GQAep15Xg61ipbg9Aj3e7gcVsIpS1Xw4ey95p+vVsREsOJ0U70e4Yzm ZqqEFfdkjtiIQIhbrNCA5g==; Original-Received: from [87.69.77.57] (port=1977 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfFs0-0002IH-Kw; Fri, 15 Apr 2022 02:55:52 -0400 In-Reply-To: <87a6co5aw9.fsf@posteo.net> (message from Philip Kaludercic on Thu, 14 Apr 2022 08:25:58 +0000) 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:229914 Archived-At: > From: Philip Kaludercic > Cc: larsi@gnus.org, 54296@debbugs.gnu.org > Date: Thu, 14 Apr 2022 08:25:58 +0000 > > >> > I suggested to "clarify" that by not providing the 'major-mode' > >> > predicate at all. I still don't think I understand why it is so > >> > important that we should provide a special case for it. > >> > >> It is not inherently important, it is just that if the predicate would > >> also be used in project.el, then compatibility would have to be broken, > >> as the distinction between `major-mode' and `derived-mode' exists there. > > > > Then project.el could use the predicate route, right? It's quite a > > special case, AFAIU, so having a special solution is OK. > > I have updated the commits as you recommended, and add a commit > deprecating the use of `derived-mode' in project.el. Thanks, LGTM.