From: Dan Nicolaescu <dann@ics.uci.edu>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: grep gets confused if interrupted
Date: Mon, 25 Feb 2008 14:05:05 -0800 [thread overview]
Message-ID: <200802252205.m1PM550g010037@sallyv1.ics.uci.edu> (raw)
In-Reply-To: <87lk58wwgm.fsf@jurta.org> (Juri Linkov's message of "Mon, 25 Feb 2008 23:45:34 +0200")
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.
prev parent reply other threads:[~2008-02-25 22:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200802252205.m1PM550g010037@sallyv1.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.