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#47366: 27.1; Tags search (regexp): FAILS Date: Mon, 27 Jun 2022 14:15:21 +0300 Message-ID: <83leti8iie.fsf@gnu.org> References: <003c01d720e9$bd44caf0$37ce60d0$@net> <87v8sm7bum.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2408"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bobfloyd@comcast.net, 47366@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 27 13:17:06 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 1o5mjp-0000Pc-Nv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 13:17:05 +0200 Original-Received: from localhost ([::1]:49412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5mjo-0002Op-7y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 07:17:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5mio-0002Oc-RI for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 07:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5mio-00079H-Hv for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 07:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5mio-0007Bu-Ce for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2022 07:16: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: Mon, 27 Jun 2022 11:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47366 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 47366-submit@debbugs.gnu.org id=B47366.165632853427571 (code B ref 47366); Mon, 27 Jun 2022 11:16:02 +0000 Original-Received: (at 47366) by debbugs.gnu.org; 27 Jun 2022 11:15:34 +0000 Original-Received: from localhost ([127.0.0.1]:50012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5miM-0007Ad-3h for submit@debbugs.gnu.org; Mon, 27 Jun 2022 07:15:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5miI-0007AE-NJ for 47366@debbugs.gnu.org; Mon, 27 Jun 2022 07:15:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5miD-00076m-9Q; Mon, 27 Jun 2022 07:15:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=92TCYaJ6Hbxl/uB4eMEMrzmPErSWF/2UIRDewkrcx2M=; b=roktJ/TpOAvKSPNWChXq H3eGM8RXAkxIE2C5d3dhr1rUqirXu6cDNT4zz7uNH5Mxp+VYwPU2GvguyDAhptPZSdG+iSXRccw3M eaHioIdpPdM1dygSNRwmBJpe1y3jLgkfL59NLCFLhZqf2ohejFGGtkvbi9Y+mPTDG9RuYuINxTFhL YS8EORK00h5gTbPuuhW8L+N/Q3Fsttva/YqgtmRH/wBhzncZyTQkKFTSNGGFeaEXl4d6qCcaKW+25 MUojqncnnnQqxCqzPWak0B6guMDrIh8qdsYJm9jW+jHZMLYWmK/DU9PayHkgWjBJo8CrFXNcq6X2N S7hGS18wLWL3Hw==; Original-Received: from [87.69.77.57] (port=3089 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 1o5mi8-0001U1-4f; Mon, 27 Jun 2022 07:15:25 -0400 In-Reply-To: <87v8sm7bum.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 27 Jun 2022 10:24:33 +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:235432 Archived-At: > Cc: 47366@debbugs.gnu.org > From: Lars Ingebrigtsen > Date: Mon, 27 Jun 2022 10:24:33 +0200 > > "Bob Floyd" writes: > > > When I do a “tags-search FooFoo” sometimes the search stops in a > > buffer at the wrong line. FooFoo is indeed in the buffer, but can be > > many lines away from where emacs stopped. If I “kill-buffer” (C-x k) > > and restart the “tags-search” then emacs stops at the correct line > > where FooFoo is. I think this happens when I do a “tags-search”, make > > edits in the buffer, then “save-some-buffers” (C-x s) followed by a > > 2nd “tags-search” that then fails. > > > > It appears maybe that the regex compiler isn’t run after the edits? > > > > Sorry I can’t provide an exact sequence of commands for you to see it, > > it doesn’t happen always (maybe it doesn’t even stop in the buffer and > > I don’t notice), but perhaps you can recognize the issue. > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > I tried reproducing this in Emacs 29, but was unable to. But I'm not > sure I'm testing the right thing. It is not clear from the recipe whether the OP re-runs etags to regenerate the TAGS file after making significant changes top the source files. If etags is not re-run, the TAGS file could be outdated more than the slack we allow, and then the problem description would make sense.