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: Sven Joachim
Subject: bug#4359: 23.1.50; ^G in M-x grep mode with git grep
Date: Sun, 06 Sep 2009 19:37:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

On 2009-09-06 19:05 +0200, Ulrich Neumerkel wrote:

> 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 set the pager in my .emacs:

(setenv "PAGER" "/bin/cat")

Works fine in all programs.

Sven





reply via email to

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