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

Re: Bug: pager.<cmd> doesn't work well with editors

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 21, 2016, 16:15 UTC
Message-ID
<xmqqponxb56a.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160920014733.7whjuxfuimx5ztdb@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> And this isn't really limited to the editor. It's more _annoying_ with
> the editor, but really "pager.tag" does not make any sense to set right
> now, because it is handled outside of the "tag" command entirely, and
> doesn't know what mode the tag command will be running in.

Stepping back even further, perhaps the whole pager.<cmd> was a bad interim move. For those who set "less" without "-F", being able to set pager.<cmd> to false may still be necessary, but I am wondering about setting it to true or a command string here.

It did mean well and may have helped when "git <cmd>" that produces reams of output had not yet learned to auto-paginate as a stop-gap measure by allowing users to set pager.<cmd>, but I wonder if the ideal course of action was to identify (or "wait until people show their desire") individual operating modes of various commands and teach them to auto-paginate. For example, "tag -l" may be one of them that we would want to teach to.

Previous: Jeff KingNext: Jeff King
Message 5 of 8 in “Bug: pager.<cmd> doesn't work well with editors”
  1. Anatoly BorodinSep 18, 2016
  2. Anatoly BorodinSep 18, 2016
  3. Junio C HamanoSep 19, 2016
  4. Jeff KingSep 20, 2016
  5. Junio C HamanoSep 21, 2016
  6. Jeff KingSep 22, 2016
  7. Junio C HamanoSep 22, 2016
  8. Jeff KingSep 23, 2016

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.