bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4359: 23.1.50; ^G in M-x grep mode with git grep


From: Ulrich Neumerkel
Subject: bug#4359: 23.1.50; ^G in M-x grep mode with git grep
Date: Sun, 06 Sep 2009 19:05:08 +0200

Andreas Schwab <address@hidden>
>> git grep -n -e git.describe
>> WARNING: terminal is not fully functional
>> ^Glisp/org/org.el:112:      (if (eql 0 (shell-command "git describe 
>> --abbrev=4 HEAD"))
>
>The WARNING line and the ^G is written by less.  You can work around
>that by disabling the pager or setting it to cat.

This would be an ad-hoc workaround that does not work for the next
tool.  What is needed is that the command is called such that git or
the pager doesn't think they are in an interactive environment.

I.e.,

git grep -n -e git.describe | cat

does work correctly.  Not sure how to do this in a clean manner.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]