From unknown Sun Jun 22 07:33:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22330 <22330@debbugs.gnu.org> To: bug#22330 <22330@debbugs.gnu.org> Subject: Status: eshell/grep/next-error problem Reply-To: bug#22330 <22330@debbugs.gnu.org> Date: Sun, 22 Jun 2025 14:33:14 +0000 retitle 22330 eshell/grep/next-error problem reassign 22330 emacs submitter 22330 bewaremyethnicheart severity 22330 normal tag 22330 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 08 11:34:24 2016 Received: (at submit) by debbugs.gnu.org; 8 Jan 2016 16:34:24 +0000 Received: from localhost ([127.0.0.1]:43349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aHZzb-0003lD-KM for submit@debbugs.gnu.org; Fri, 08 Jan 2016 11:34:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50060) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aHYZL-0001cR-F1 for submit@debbugs.gnu.org; Fri, 08 Jan 2016 10:03:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHYZA-00005s-6C for submit@debbugs.gnu.org; Fri, 08 Jan 2016 10:03:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,FORGED_YAHOO_RCVD, FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:32871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHYZA-00005o-3Q for submit@debbugs.gnu.org; Fri, 08 Jan 2016 10:03:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHYZ9-0005md-33 for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2016 10:02:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHYZ5-00005O-23 for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2016 10:02:59 -0500 Received: from nm40-vm4.bullet.mail.gq1.yahoo.com ([98.136.217.127]:35505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHYZ4-00005E-PJ for bug-gnu-emacs@gnu.org; Fri, 08 Jan 2016 10:02:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1452265372; bh=T1mde86NNMRcYt9vfkVRx3kyXXcS4qFPuRPvr4PoewI=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=JxBb7MRAcK79HsM+jT0GnqAw1w9RzOlBFw+bVzbyiB+Gm7ZJBNyqYsQbRncv1WdQ0BWsHg4INycxiM47MYEXr/rCWqPLLr7j18wcAFYmf3eiXEdtHDpSZY0LLC9/4FUXZs/M7hcQbym6J49we3PIRbIWqqOyko1DHeATb/CMVKEtHht7SvP3kg7Z/70d9KbXglZkylIdvWtNE84VrHK7ixG5ISuPI9w0I1WRa2dfIcLaoDovTlTt6GmGe0AQ4IN/ImTAwNvVrQ/gPgTqEeezfcPH1E1/GezeUK3DMS1a5/GvgoXLd9lA7FVuLg7k/t1pOnm5NM7QLUosKvndgiSLig== Received: from [127.0.0.1] by nm40.bullet.mail.gq1.yahoo.com with NNFMP; 08 Jan 2016 15:02:52 -0000 Received: from [98.137.12.55] by nm40.bullet.mail.gq1.yahoo.com with NNFMP; 08 Jan 2016 15:00:02 -0000 Received: from [98.137.12.212] by tm15.bullet.mail.gq1.yahoo.com with NNFMP; 08 Jan 2016 15:00:02 -0000 Received: from [127.0.0.1] by omp1020.mail.gq1.yahoo.com with NNFMP; 08 Jan 2016 15:00:02 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 604813.98429.bm@omp1020.mail.gq1.yahoo.com X-YMail-OSG: t9lHqcEVM1k1PjXLx.2IG.wJlEx18w2ViNZ6PQ4WtEA2JVrQS14XSXSWAZJ1Vri xhfmweAGRAGBKrxiFx3AuSQANaAPmXd0Lsp62mof2y7WCE4FT59R7SX2uHY6YdjFjwITWrBnSCrc q2GXWQvnM5N2a_PcUlWc8b4B4LyUf4jxk6J92xSWUDE7Ggrl.X7_6WT.bACuhWSZn3GtrMBVpPgQ T49zGOZXH2OplCwVoKaH9bUBuB7YuIMgI_5QEGs0VntZKpDKup7Ml2o236IuTLp0vx1U47b_UzJA Owx5j8NK3.qJ7FyoMiRxhmv67kJfXzhcV2AYI5k772ky.TDbZrZlswdUpPcYs_qxUglyvKHZ7lQd KmGQQKsBvSQxHxvYqbP52T5TUMKx1TCSxBP3attHB2kCWEVHSaLMU92DLlEocyRljy_MfcltOt6x fy.qXroW_4fRP8qs2rz1NHVmvIK2cojtrfq0O05xezhR_uKHyaWMMvzetLqLvewVUxlXERTaOOqt NmQs1EGBxt018J_.G_ZUL9i8LZRBcoJe_ Received: by 98.137.12.250; Fri, 08 Jan 2016 15:00:02 +0000 Date: Fri, 8 Jan 2016 14:59:24 +0000 (UTC) From: bewaremyethnicheart To: "bug-gnu-emacs@gnu.org" Message-ID: <2068301794.2005247.1452265164053.JavaMail.yahoo@mail.yahoo.com> Subject: eshell/grep/next-error problem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <2068301794.2005247.1452265164053.JavaMail.yahoo.ref@mail.yahoo.com> Content-Length: 799 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 08 Jan 2016 11:34:21 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bewaremyethnicheart Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) There seems to be a problem with multiple greps and the next-error feature within eshell. To reproduce bug: 1. Open emacs (23.1.1 or 25.1 both exhibit behavior, so assume other versions likely do as well). 2. M-x eshell 3. From within eshell: grep string1 file 4. M-x next-error (this should work) 5. M-x eshell (or switch to existing eshell buffer) 6. From within ehsell: grep string2 file 7. M-x next-error (this fails with "Moved past last grep hit" message in minibuffer, even though there are valid grep hits on second grep). Killing the grep buffer, the eshell buffer, reloading the file all result in the same behavior upon further greps--"Moved past last grep hit". Only quitting emacs and restarting it gives proper behavior --for the first grep only. Thanks! Joe From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 05:19:29 2020 Received: (at 22330) by debbugs.gnu.org; 3 Dec 2020 10:19:29 +0000 Received: from localhost ([127.0.0.1]:38460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kklhx-0000D7-08 for submit@debbugs.gnu.org; Thu, 03 Dec 2020 05:19:29 -0500 Received: from quimby.gnus.org ([95.216.78.240]:43882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kklhv-0000Cs-GG for 22330@debbugs.gnu.org; Thu, 03 Dec 2020 05:19:28 -0500 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=Lo7k+vaY5M0jwAbxvGDPi+FN3/IMLfsT5vN7CzcadCU=; b=Jo7ve2ywR5FO8bSsQEP3SOCTHK /r6UjSN3JO9giW4gLLz9TbVn6VZmizbXeyqdFttGPsf/uqNFFGg7T4IZHzFRmnflGEt9I28eKKykm n0LQkZ2aI9A54fY++HDALGCJBAyfdhlh9/SqMvkQXauGv7RqEcHLgZAwdTcVbyYh1Ncw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kklhf-0002AD-FI; Thu, 03 Dec 2020 11:19:21 +0100 From: Lars Ingebrigtsen To: bewaremyethnicheart Subject: Re: bug#22330: eshell/grep/next-error problem References: <2068301794.2005247.1452265164053.JavaMail.yahoo.ref@mail.yahoo.com> <2068301794.2005247.1452265164053.JavaMail.yahoo@mail.yahoo.com> X-Now-Playing: Joseph Nothing's _Firecamp Stories Remixes_: "If Jeffery and Albert Were Brother" Date: Thu, 03 Dec 2020 11:19:10 +0100 In-Reply-To: <2068301794.2005247.1452265164053.JavaMail.yahoo@mail.yahoo.com> (bewaremyethnicheart@yahoo.com's message of "Fri, 8 Jan 2016 14:59:24 +0000 (UTC)") Message-ID: <87y2ifur8h.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: bewaremyethnicheart writes: > There seems to be a problem with multiple greps and the next-error > feature within eshell. To reproduce bug: > > 1. Open emacs (23.1.1 or 25.1 both exhibit behavior, so assume other > versions like [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22330 Cc: 22330@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) bewaremyethnicheart writes: > There seems to be a problem with multiple greps and the next-error > feature within eshell. To reproduce bug: > > 1. Open emacs (23.1.1 or 25.1 both exhibit behavior, so assume other > versions likely do as well). > 2. M-x eshell > 3. From within eshell: > grep string1 file > 4. M-x next-error (this should work) > 5. M-x eshell (or switch to existing eshell buffer) > > 6. From within ehsell: > grep string2 file > 7. M-x next-error (this fails with "Moved past last grep hit" message > in minibuffer, even though there are valid grep hits on second grep). This should now be fixed in Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 05:19:36 2020 Received: (at control) by debbugs.gnu.org; 3 Dec 2020 10:19:36 +0000 Received: from localhost ([127.0.0.1]:38463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkli4-0000DR-7F for submit@debbugs.gnu.org; Thu, 03 Dec 2020 05:19:36 -0500 Received: from quimby.gnus.org ([95.216.78.240]:43896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkli1-0000D6-VB for control@debbugs.gnu.org; Thu, 03 Dec 2020 05:19:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=trQJ9dfZ9fnqQVGcqZ6LHwZBcI77b3pq67rL+w2faQU=; b=jM4SVhqUGosovPX+90zlwl6dlH 23JA7Q0KFn5qOc+XCwwZiG0MKaTtTeGnmow/3yisDHH+4LZckHkbrU0Da7vOkThvvykG+MP2aiMr5 NeyL5RMn12xfXFwOb/ODuh6hHHNPPxrwXFPKe/sauCQKzr25ZJbZ0SjK1VeK/gu0rG/A=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kklhu-0002AK-7r for control@debbugs.gnu.org; Thu, 03 Dec 2020 11:19:28 +0100 Date: Thu, 03 Dec 2020 11:19:25 +0100 Message-Id: <87wnxzur82.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #22330 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 22330 fixed close 22330 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 22330 fixed close 22330 28.1 quit From unknown Sun Jun 22 07:33:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 31 Dec 2020 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator