* bug#22330: eshell/grep/next-error problem
[not found] <2068301794.2005247.1452265164053.JavaMail.yahoo.ref@mail.yahoo.com>
@ 2016-01-08 14:59 ` bewaremyethnicheart
2020-12-03 10:19 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: bewaremyethnicheart @ 2016-01-08 14:59 UTC (permalink / raw)
To: 22330
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#22330: eshell/grep/next-error problem
2016-01-08 14:59 ` bug#22330: eshell/grep/next-error problem bewaremyethnicheart
@ 2020-12-03 10:19 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-03 10:19 UTC (permalink / raw)
To: bewaremyethnicheart; +Cc: 22330
bewaremyethnicheart <bewaremyethnicheart@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-03 10:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <2068301794.2005247.1452265164053.JavaMail.yahoo.ref@mail.yahoo.com>
2016-01-08 14:59 ` bug#22330: eshell/grep/next-error problem bewaremyethnicheart
2020-12-03 10:19 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).