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

Re: Should "git help" respect the 'pager' setting?

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
May 30, 2013, 17:05 UTC
Message-ID
<vpqhahko0ub.fsf@anie.imag.fr>
In-Reply-To
<CALkWK0=RUy6=4k9uGpy2efdL8DhOnNO52rHZWSmHP3C=2a4SUw@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> It just needs to set $PAGER or $MANPAGER before the exec(), no?
Yes, that should do the same as "man -P".
> I would argue that it should do this. $GIT_PAGER works everywhere
> else, but obviously man has no knowledge about it.

I find it a bit weird that Git sets the configuration for external commands, but it may make sense. No strong opinion here.

Show 6 quoted lines
>> If you're an Emacs user, you can read about man.viewer and set it to
>> woman, or set PAGER=cat when inside Emacs.
>
> I just learnt about man.viewer.  There's a small problem with it
> though: why is there no option for Emacs man corresponding to Emacs
> woman?
I guess because no one implemented it ;-).
>> I personally run M-x git-foo RET, and never run "git help".
>
> M-x man git-foo RET, you mean?
Yes, sorry.
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 4 of 7 in “Should "git help" respect the 'pager' setting?”
  1. Michael CampbellMay 30, 2013
  2. Matthieu MoyMay 30, 2013
  3. Ramkumar RamachandraMay 30, 2013
  4. Matthieu MoyMay 30, 2013
  5. Ramkumar RamachandraMay 30, 2013
  6. John KeepingMay 30, 2013
  7. Junio C HamanoJun 2, 2013

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.