From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62958: [PATCH] Set PAGER=cat in comint.el Date: Wed, 17 May 2023 14:32:12 +0300 Message-ID: <83r0rfxkg3.fsf@gnu.org> References: <83edof6oln.fsf@gnu.org> <83zg724kea.fsf@gnu.org> <835y97jnfd.fsf@gnu.org> <83pm7aay70.fsf@gnu.org> <874jol1rml.fsf@catern.com> <831qjpbj8j.fsf@gnu.org> <83wn1ha220.fsf@gnu.org> <83sfc5a1ag.fsf@gnu.org> <83pm79a103.fsf@gnu.org> <83mt2d9vsx.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33819"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@catern.com, 62958@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 17 13:33:12 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pzFP6-0008Xh-2H for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 May 2023 13:33:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzFOy-0004Wx-AW; Wed, 17 May 2023 07:33:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzFOw-0004V2-Bs for bug-gnu-emacs@gnu.org; Wed, 17 May 2023 07:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pzFOw-0004Z7-4A for bug-gnu-emacs@gnu.org; Wed, 17 May 2023 07:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pzFOw-00034E-06 for bug-gnu-emacs@gnu.org; Wed, 17 May 2023 07:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 May 2023 11:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 62958-submit@debbugs.gnu.org id=B62958.168432314511744 (code B ref 62958); Wed, 17 May 2023 11:33:01 +0000 Original-Received: (at 62958) by debbugs.gnu.org; 17 May 2023 11:32:25 +0000 Original-Received: from localhost ([127.0.0.1]:49147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzFOK-00033L-KG for submit@debbugs.gnu.org; Wed, 17 May 2023 07:32:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzFOJ-000339-5G for 62958@debbugs.gnu.org; Wed, 17 May 2023 07:32:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzFOD-0004S8-Gl; Wed, 17 May 2023 07:32:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Su5s8Kwo9n9DjX5I4+XbmlnB9nkumvslsYTznmj3dsM=; b=U6m9mPRTEzWZ WPEh/1UA7XWvHHt76WmeKnKBi9ByTQvQzEOz5AM9l2fh72AcZB/W7fTzzieb7Qcr2cnizLA4p+VVP 4htd8H/CcVJDzvJe2eSNVjdeqY7VWzx61GwxW1fNFCsR2edAbFm30xt5L5V6sPNNpwXNpgE0ArRho ga7kPYkuRqPlkYxDSmv/jFUJOdaz5LTMzu2ze22R6sQLGVM26UiaDzyAsz6NiGinzcbCWdMGOSm05 O8VsvXs4/3/JT1FaUvbjXT/2lSv+BGuYNJZHEtNJRSxzas8wgm70IaoQ2bgjWfisixwACtp721Rww DfZMvblYouDtkwD7mKxODg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzFNy-0007Sl-Gv; Wed, 17 May 2023 07:32:15 -0400 In-Reply-To: (message from Spencer Baugh on Tue, 16 May 2023 15:49:21 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261838 Archived-At: > From: Spencer Baugh > Cc: sbaugh@catern.com, 62958@debbugs.gnu.org > Date: Tue, 16 May 2023 15:49:21 -0400 > > Eli Zaretskii 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.