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: Tue, 09 May 2023 08:08:51 +0300 Message-ID: <83pm7aay70.fsf@gnu.org> References: <83edof6oln.fsf@gnu.org> <83zg724kea.fsf@gnu.org> <835y97jnfd.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40173"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62958@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 09 07:08:21 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 1pwFaH-000AEk-4o for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 May 2023 07:08:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwFa9-00062F-QQ; Tue, 09 May 2023 01:08:13 -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 1pwFZy-00061I-Pj for bug-gnu-emacs@gnu.org; Tue, 09 May 2023 01:08:03 -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 1pwFZy-0001gj-HV for bug-gnu-emacs@gnu.org; Tue, 09 May 2023 01:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwFZy-0005Pq-D6 for bug-gnu-emacs@gnu.org; Tue, 09 May 2023 01:08: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: Tue, 09 May 2023 05:08:02 +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.168360887720804 (code B ref 62958); Tue, 09 May 2023 05:08:02 +0000 Original-Received: (at 62958) by debbugs.gnu.org; 9 May 2023 05:07:57 +0000 Original-Received: from localhost ([127.0.0.1]:42211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwFZs-0005PU-QD for submit@debbugs.gnu.org; Tue, 09 May 2023 01:07:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwFZr-0005PE-B5 for 62958@debbugs.gnu.org; Tue, 09 May 2023 01:07:55 -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 1pwFZl-0001fd-RZ; Tue, 09 May 2023 01:07:49 -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=EzveeWyKGM4p2zDy6u4DM+B1/Lau66DJ/f+6z1QHZdU=; b=GvcdEB1Z0gac LxWPwPZdT6KHUuJqSHp25XW2GpPei7T2favHhgvRJNseN7GktclIfyehY4re3ZiVb/fyvSFv6CEID HTRLptteRvCnajDb7Rx2QLTA2W2x76UmGD98g+0PsAuS94GSwz7TOkVjoULXIxGPz5W0wR6aXe704 D1UFrortsJdbw/TCbnRqSmqY7CBh9tp9A7kvK99MtjsaXABoXw3Rl5dnQ5LMa4iNhkTb7uJuURuqd qvVp+sHMn83swC+QiKr0vTpjupDS9QnZXeMUV4mCrRqbdukbIipGzeXtSYFFmSX00/6wDsjvRqM6B Dc5jVzlzSGR0pjtZPukVaQ==; 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 1pwFZk-0003Sk-JI; Tue, 09 May 2023 01:07:49 -0400 In-Reply-To: (message from Spencer Baugh on Mon, 08 May 2023 15:38:12 -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:261384 Archived-At: > From: Spencer Baugh > Cc: 62958@debbugs.gnu.org > Date: Mon, 08 May 2023 15:38:12 -0400 > > > Pagination is not needed, and gets in the way, when the output of > > the program is directed to an Emacs buffer, so in those cases > > pagination should be disabled. 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." > > I think it's worth noting the fact that there are programs which depend > on pagination for their normal functionality. How about this short > additional paragraph added after your text: > > "Disabling pagination means programs will produce their entire output > immediately. If only part of the output is useful, this can be > wasteful. For some programs, this can be avoided by using commands (for > example, `vc-print-log') which run the program, limit the output it > produces, and let the user interactively browse the output inside > Emacs." Sorry, I don't understand: why would it matter that a program produces its output immediately when that output is redirected to an Emacs buffer? Whatever the amount of output, the user can always page through it interactively and conveniently using the normal movement commands, no? What am I missing?