git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: emacs and git...

From
FMFrancis Moreau <francis.moro@gmail.com>
Date
Mar 23, 2007, 09:54 UTC
Message-ID
<38b2ab8a0703230254x585ff89fp3e425b08cac56900@mail.gmail.com>
In-Reply-To
<7vtzwcqqf9.fsf@assigned-by-dhcp.cox.net>
On 3/23/07, Junio C Hamano <junkio@cox.net> wrote:
Show 6 quoted lines
> "Francis Moreau" <francis.moro@gmail.com> 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.
Show 6 quoted lines
> 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
Previous: Junio C HamanoNext: Junio C Hamano
Message 10 of 17 in “emacs and git...”
  1. Francis MoreauMar 22, 2007
  2. Matthieu MoyMar 22, 2007
  3. Randal L. SchwartzMar 22, 2007
  4. Bernt HansenMar 22, 2007
  5. Francis MoreauMar 23, 2007
  6. Francis MoreauMar 23, 2007
  7. Randal L. SchwartzMar 23, 2007
  8. Francis MoreauMar 23, 2007
  9. Junio C HamanoMar 23, 2007
  10. Francis MoreauMar 23, 2007
  11. Junio C HamanoMar 23, 2007
  12. Francis MoreauMar 23, 2007
  13. Junio C HamanoMar 24, 2007
  14. Francis MoreauMar 24, 2007
  15. Francis MoreauMar 23, 2007
  16. Junio C HamanoMar 24, 2007
  17. Francis MoreauMar 24, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.