* grep gets confused if interrupted
@ 2008-02-25 17:11 Dan Nicolaescu
2008-02-25 21:45 ` Juri Linkov
0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2008-02-25 17:11 UTC (permalink / raw)
To: emacs-devel
M-x lgrep RET setq RET el /PATH_TO_EMACS/lisp RET
(this should take enough time to allow you to switch to the *grep*
buffer and do C-c C-k)
Then grep prints at the end of the buffer:
Grep finished with no matches found
(there are plenty of matches in the buffer at that point)
Can someone please fix this?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: grep gets confused if interrupted
2008-02-25 17:11 grep gets confused if interrupted Dan Nicolaescu
@ 2008-02-25 21:45 ` Juri Linkov
2008-02-25 22:05 ` Dan Nicolaescu
0 siblings, 1 reply; 3+ messages in thread
From: Juri Linkov @ 2008-02-25 21:45 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: emacs-devel
> M-x lgrep RET setq RET el /PATH_TO_EMACS/lisp RET
>
> (this should take enough time to allow you to switch to the *grep*
> buffer and do C-c C-k)
>
> Then grep prints at the end of the buffer:
>
> Grep finished with no matches found
>
> (there are plenty of matches in the buffer at that point)
>
> Can someone please fix this?
It tried this and it prints for me:
Grep interrupt at Mon Feb 25 23:45:11
--
Juri Linkov
http://www.jurta.org/emacs/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: grep gets confused if interrupted
2008-02-25 21:45 ` Juri Linkov
@ 2008-02-25 22:05 ` Dan Nicolaescu
0 siblings, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2008-02-25 22:05 UTC (permalink / raw)
To: Juri Linkov; +Cc: emacs-devel
Juri Linkov <juri@jurta.org> writes:
> > M-x lgrep RET setq RET el /PATH_TO_EMACS/lisp RET
> >
> > (this should take enough time to allow you to switch to the *grep*
> > buffer and do C-c C-k)
> >
> > Then grep prints at the end of the buffer:
> >
> > Grep finished with no matches found
> >
> > (there are plenty of matches in the buffer at that point)
> >
> > Can someone please fix this?
>
> It tried this and it prints for me:
>
> Grep interrupt at Mon Feb 25 23:45:11
OK, it has to do with the SHELL:
Grep prints this in the beginning:
grep -i -nH -e setq *.el
tcsh: No entry for terminal type "emacs-grep"
tcsh: using dumb terminal settings.
If I do:
M-: (setq shell-file-name "/bin/sh") RET
then interrupting works as expected.
This is on a Fedora 8 x86 system.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-25 22:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25 17:11 grep gets confused if interrupted Dan Nicolaescu
2008-02-25 21:45 ` Juri Linkov
2008-02-25 22:05 ` Dan Nicolaescu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.