From: Junio C Hamano Date: Wed, 17 Dec 2008 22:02:33 GMT Subject: Re: git-diff should not fire up $PAGER, period! Message-ID: <7viqpijw92.fsf@gitster.siamese.dyndns.org> In-Reply-To: <8763lixyps.fsf_-_@jidanni.org> jidanni@jidanni.org writes: > I mean here I am in emacs, and > > -*- mode: compilation; default-directory: "...coreutils/" -*- > Compilation started at Thu Dec 18 03:15:14 > git-diff > WARNING: terminal is not fully functional^M > ^M- (press RETURN) Any semi-good emacs users (let alone hackers) export PAGER=cat to be used in compilation mode (and possibly shell mode), so this is not a problem in practice. I have something like this in my .emacs: (setenv "PAGER" "cat") I suspect (I am just a user not a hacker) this will have bad interaction with emacs terminal emulation mode, but I do not use the mode, so it is enough for me.