Re: emacs and git...

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

 



On 3/23/07, Junio C Hamano <junkio@xxxxxxx> wrote:
"Francis Moreau" <francis.moro@xxxxxxxxx> writes:

> Can't git make 'cat' the default pager when run on a dumb terminal ?

IIRC, `more` works on a dumb terminal.


yes it does although the behaviour is a bit weird. Not all screen is used.

But using PAGER=cat is a longstanding and widely used trick
among Emacs old timers, predating the EDITOR=emacsclient, which
is even nicer.  I would highly recommend it.  These two
environment variables make running *everything* in compilation
mode (or shell buffer) so much nicer than otherwise.


I think I'm going to give a try PAGER=more and EDITOR=emacsclient
config with shell buffer and see if it can fit well my git usage.

I tried to use term mode but it's pretty annoying to switch between
'line' and 'char' mode all the time.

BTW Junio, just out of curiosity, do you use shell or term mode ?
--
Francis
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]