From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#53626: 28.0.91; project-find-regexp (C-x p g) twice results in searching different projects Date: Mon, 21 Feb 2022 16:00:59 -0700 Message-ID: <87bkyzvn84.fsf@athena.silentflame.com> References: <87wnii73x5.fsf@catern.com> <87a6fd68ku.fsf@athena.silentflame.com> <87leyrgpst.fsf@athena.silentflame.com> <1b884678-ed62-0b11-7fa9-88393a60d26d@yandex.ru> 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="32279"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) To: Dmitry Gutov , sbaugh@catern.com, 53626@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 22 00:02:14 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 1nMHh4-000869-Sw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 00:02:12 +0100 Original-Received: from localhost ([::1]:45174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMHh3-0002Eb-MT for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 18:02:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMHgw-0002EC-Oa for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 18:02:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMHgw-0003qV-Eo for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 18:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMHgw-00054O-D7 for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 18:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Feb 2022 23:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53626 X-GNU-PR-Package: emacs Original-Received: via spool by 53626-submit@debbugs.gnu.org id=B53626.164548447119429 (code B ref 53626); Mon, 21 Feb 2022 23:02:02 +0000 Original-Received: (at 53626) by debbugs.gnu.org; 21 Feb 2022 23:01:11 +0000 Original-Received: from localhost ([127.0.0.1]:39387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMHg7-00053J-Ld for submit@debbugs.gnu.org; Mon, 21 Feb 2022 18:01:11 -0500 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:52325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMHg3-00052r-LO for 53626@debbugs.gnu.org; Mon, 21 Feb 2022 18:01:10 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 63F833200D25; Mon, 21 Feb 2022 18:01:01 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 21 Feb 2022 18:01:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; bh=36TGc2H9P1I/Ja 0qfGLCIhoOHjn/PLPpb/SDWIifIV4=; b=x7AD56j5XjNbbjcn6Uz44jqdnPptGy Ui4oh3VsDxoJ3IqyIi9CpW1m+qKilvtTYMAJCJF/t9a72WIfwh8SYJRXwqdhvjNi 1p5oBv4sGBT/k/8MTHZ64x4E56aNBTB6SXi8DLFeHTJST1Nfad4wNYm7CjYqPJOK KzSgFIFAgtCSMynEHOLOFXjr7khQ1yenjRs9001sRxESaF9I4v+1cVxnLKbGQdmB WR0uF9TisVa28WjnNuWOlFUNGDgHKRGGvAs+USdcW01CzpDk1nUJNTxEMXlgI+t4 bV41Du0joVMTGwfZIr6iqHGiTgTatm3mrBPKCM3nMjHzbjw4NeDw2Qiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=36TGc2H9P1I/Ja0qfGLCIhoOHjn/PLPpb/SDWIifIV4=; b=Ng8G7I38 UoaoyoSHOcib+j/NOuib2rT/oNljjcY+XZF+gVHhbu7leypkJQWB0zHHtQUapWHn NgDrCS6iSxgAxJBzmUpWH5hXvTjkYYK3ax5bPhjwxwJesrjluUcUAFBd4ExylCYa 6xF28o28v+XAzZeq8xnsMOuk3ZnpMoipZM0Hod8C5eg0iEMpB0MN7UUws0eOI7bh ZcSCJyJ8ATvoykgVD94PrzGa3LyNigVZqHlrWe4Aj3+bOWe+wY+EB/dLO5PZGaDN 3tVyOVACSm2HJ/KlaqCRaTgzTEpBEtkkCkF/5jHy9DjQKf7STxRBWRlSng/2a5DV Xb8EdRH6NEHqaA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrkeejgddthecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgfgsehtqhdttddtreejnecuhfhrohhmpefuvggrnhcu hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne cuggftrfgrthhtvghrnheplefgffejveelleehkeeuvdektddvudefffeujeegiefhkeej geefffdtgeehkeffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 21 Feb 2022 18:01:00 -0500 (EST) Original-Received: by athena.silentflame.com (Postfix, from userid 1000) id 880541D2991; Mon, 21 Feb 2022 23:00:59 +0000 (UTC) In-Reply-To: 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:227393 Archived-At: Hello, On Mon 21 Feb 2022 at 03:55am +02, Dmitry Gutov wrote: > On 07.02.2022 05:12, Dmitry Gutov wrote: >>> Maybe we could rename the old buffer to a temp name, then create and >>> fill the new one, then set the old buffer's window's buffer to the new >>> one, and finally kill the old one.=C2=A0 But this is not nice at all. >> >> Right. > > We can also try a lighter-weight hack like below. WDYT? I think I prefer my with-temp-buffer thing to this, to be honest -- adding a timer into the mix seems like it might make debugging harder. Assuming you're still okay with my initial idea, I'll come up with a patch to do it with a macro, and apply it across project.el. --=20 Sean Whitton