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.

Full log


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




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

Previous Next


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