I've read, for instance here, that one could just run
M-x grep to interface with the underlying shell and just run a simple
grep command. I suspect something is wrong in the setup because this simple command does not work. Here's what I can see:
The command I type after
M-x grep is
grep 'Cell' input.scs
It can be seen in the above screenshot right above the (garbled)
I don't know if that's a sign but it looks like the codes used to format the shell prompt are not totally understood by the
*grep* buffer, but besides that, the process seems to stay in the "compiling" state forever, never returning any hit.
On the other hand, the very same command
grep 'Cell' input.scs (you can see above the prompt) does work fine in a
shell inside the directory this file is in.
emacs -nw input.scs returns basically the same output. Here I have used the command:
grep -A1 'Cell' input.scs
If I run
emacs -Q input.scs to avoid loading of
init.el, I still get the same result:
What can be possibly going wrong there?