GNU bug report logs - #62958
[PATCH] Set PAGER=cat in comint.el

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Wed, 19 Apr 2023 21:58:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: sbaugh <at> catern.com, 62958 <at> debbugs.gnu.org
Subject: bug#62958: [PATCH] Set PAGER=cat in comint.el
Date: Wed, 17 May 2023 14:32:12 +0300
> From: Spencer Baugh <sbaugh <at> janestreet.com>
> Cc: sbaugh <at> catern.com,  62958 <at> debbugs.gnu.org
> Date: Tue, 16 May 2023 15:49:21 -0400
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> OK, how about this doc string?
> 
>   "If non-nil, the program to use for pagination of program output.
> 
> Some programs produce large amounts of output, and have provision for
> pagination of their output through a filter program, commonly known as
> a \"pager\".  The pager limits the amount of output produced and
> allows the user to interactively browse the output one page at a time.
> Some programs paginate their output by default, by always starting a
> pager.  The program they use as the pager is specified by the
> environment variable PAGER; if that variable is not defined, they use
> some fixed default, such as \"less\".
> 
> The interactive browsing aspects of pagination are not needed, and get
> in the way, when the output of the program is directed to an Emacs
> buffer, so in those cases pagination might need to be disabled.
> Disabling pagination means that some programs will produce large
> amounts of output, but most such programs have other ways to limit
> their output, such as additional arguments or Emacs interfaces.
> To disable pagination, this variable's value should be a string that
> names a program, such as \"cat\", which passes through all of the
> output without any filtering or delays.  Comint will then set the
> PAGER variable to name that program, when it invokes external
> programs."

SGTM, thanks.




This bug report was last modified 1 year and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.