GNU bug report logs - #22330
eshell/grep/next-error problem

Previous Next

Package: emacs;

Reported by: bewaremyethnicheart <bewaremyethnicheart <at> yahoo.com>

Date: Fri, 8 Jan 2016 16:35:02 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22330 in the body.
You can then email your comments to 22330 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22330; Package emacs. (Fri, 08 Jan 2016 16:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to bewaremyethnicheart <bewaremyethnicheart <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 08 Jan 2016 16:35:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: bewaremyethnicheart <bewaremyethnicheart <at> yahoo.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: eshell/grep/next-error problem
Date: Fri, 8 Jan 2016 14:59:24 +0000 (UTC)


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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22330; Package emacs. (Thu, 03 Dec 2020 10:20:01 GMT) Full text and rfc822 format available.

Message #8 received at 22330 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: bewaremyethnicheart <bewaremyethnicheart <at> yahoo.com>
Cc: 22330 <at> debbugs.gnu.org
Subject: Re: bug#22330: eshell/grep/next-error problem
Date: Thu, 03 Dec 2020 11:19:10 +0100
bewaremyethnicheart <bewaremyethnicheart <at> yahoo.com> 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 03 Dec 2020 10:20:04 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 22330 <at> debbugs.gnu.org and bewaremyethnicheart <bewaremyethnicheart <at> yahoo.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 03 Dec 2020 10:20:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 31 Dec 2020 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.