From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#49926: [PATCH] Fix NNIMAP search command in the gnus Date: Sat, 06 Nov 2021 19:26:09 +0100 Message-ID: <87a6ihb0ou.fsf@gnus.org> References: <20210807045230.23998-1-jan@stranik.org> <87tuk097of.fsf@ericabrahamsen.net> <8735rjeqo5.fsf@stranik.org> <87eeb391qz.fsf@ericabrahamsen.net> <87ilx6aty0.fsf@gnus.org> <87mtmh49lq.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8927"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Jan Stranik , 49926@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 06 19:27:11 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 1mjQPH-0002AP-GA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Nov 2021 19:27:11 +0100 Original-Received: from localhost ([::1]:57686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjQPF-0002uU-K5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Nov 2021 14:27:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjQP8-0002tz-Pi for bug-gnu-emacs@gnu.org; Sat, 06 Nov 2021 14:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjQP8-0001sw-Hc for bug-gnu-emacs@gnu.org; Sat, 06 Nov 2021 14:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjQP8-0004Jg-Ev for bug-gnu-emacs@gnu.org; Sat, 06 Nov 2021 14:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Nov 2021 18:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo Original-Received: via spool by 49926-submit@debbugs.gnu.org id=B49926.163622318516535 (code B ref 49926); Sat, 06 Nov 2021 18:27:02 +0000 Original-Received: (at 49926) by debbugs.gnu.org; 6 Nov 2021 18:26:25 +0000 Original-Received: from localhost ([127.0.0.1]:50568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjQOX-0004Id-27 for submit@debbugs.gnu.org; Sat, 06 Nov 2021 14:26:25 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:53754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjQOV-0004IO-MI for 49926@debbugs.gnu.org; Sat, 06 Nov 2021 14:26:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xwm20TxeCBvzK06x3AT9lyDB0cjsfEwutq2ZdD29O50=; b=AF8O/Xx43d0+FMy7YNSQP0R/C1 uggXDpOUry7gkSuIb3ZPvmU8kz4BzDCx49BEwhlRxwp1HBTTuW3NxZ3cjAvQt85U4bSXIAl8L0x6S UfDPA4F6lrv9doruQy2BVhVB8OoqrHYezNiutVHBu5lZNSEQUelNd8OMrSZxS1jyFV/I=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjQOM-0000TN-KG; Sat, 06 Nov 2021 19:26:17 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEX6+vfn5NaqpZnb 39XW1M3UyraZiHl6bGiqwqHItqn////0osDuAAAAAWJLR0QKaND0VgAAAAd0SU1FB+ULBhIMO9r6 n2oAAAGqSURBVDjL5dO/b5tAFAfwo7iVsnE5GDL2yTZmAx1/QBDvIjGCeFUZ6yFWVoawe/KYnkzS +297gIWr2lWkrP2KBT53737owdhlHM75J+Ym/ErSW+Yu7jPMM0Ss7Rg7KuEyRcfCFwi3XbsL2/D7 4bDZHw77zQa4BSfFLEUPpe85QiSJ5LkUwwyXiZhJKWKZ5jKP0yyVUk7geENlLxaMc/sI4Qnnjrns Wj4Awb/A/zhUYKqoivT2cXoXJwgKMK9hB78MxH/CTQtak0H9VGg9Cp/grWsN6a2OnrSJjme4gQ52 PYVR/W2JqvfOMy7zLgAYQ82qJ6KxEvMmuFuvGqo0ENk9LM/g2OHUdLCOegif4X6GIDCqVgA7gHXX 6q8zHH1jqr6BRwB7eoi8Eyx6wmpVgI603tmC8GNe/HyrDrd96F3CnAlcbY4qS+wG8rSA9csMDxFm BZXcR1S1GQ8ygrMMetvIvm/BRpl5V9zWCWhIjaanpjxB2vwU8nb4rBSRoqae4DMdkWcc/ZKycpho +niEoOQ4/i0ZV4R7WNn7ee8c/ycs+NXEtkuH2F79K78BdqdwbmQ0LlMAAAAldEVYdGRhdGU6Y3Jl YXRlADIwMjEtMTEtMDZUMTg6MTI6NTkrMDA6MDAlr6aZAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIx LTExLTA2VDE4OjEyOjU5KzAwOjAwVPIeJQAAAABJRU5ErkJggg== X-Now-Playing: Floating Points with Pharoah Sanders and the London Symphony Orchestra's _Promises_: "Movement 3" In-Reply-To: <87mtmh49lq.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 06 Nov 2021 07:55:29 -0700") 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:219133 Archived-At: Eric Abrahamsen writes: > - "(OR HEADER REFERENCES %S HEADER Message-Id %S)" > + "(OR HEADER REFERENCES \"%s\" HEADER Message-Id \"%s\")" > id id))) This is not correct -- this would yield an incorrect syntax for IDs that contain a " character. I've now fixed this in emacs-28 by just removing the text properties from `id' instead. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no