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, 26 Apr 2023 12:15:34 +0300 Message-ID: <831qk7uhqh.fsf@gnu.org> References: <83edof6oln.fsf@gnu.org> <875y9jaxj9.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15148"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@janestreet.com, 62958@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 26 11:16:27 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 1prbGE-0003iZ-M9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Apr 2023 11:16:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prbFx-0007Yi-L0; Wed, 26 Apr 2023 05:16:09 -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 1prbFu-0007YP-IQ for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2023 05:16:06 -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 1prbFq-0004sf-Bb for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2023 05:16:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prbFq-0007nw-3H for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2023 05:16: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, 26 Apr 2023 09:16: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.168250051529939 (code B ref 62958); Wed, 26 Apr 2023 09:16:02 +0000 Original-Received: (at 62958) by debbugs.gnu.org; 26 Apr 2023 09:15:15 +0000 Original-Received: from localhost ([127.0.0.1]:54266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prbF5-0007mp-7y for submit@debbugs.gnu.org; Wed, 26 Apr 2023 05:15:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prbF2-0007mY-Hd for 62958@debbugs.gnu.org; Wed, 26 Apr 2023 05:15:13 -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 1prbEw-0004be-0C; Wed, 26 Apr 2023 05:15:06 -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=6F2Uwu0vGyAhyOuSRs5rT6qqPnBI9HFmI1vB/HtqU5s=; b=rrpHuqU98juC AOhDAMb5Md9bO8cGccuo2AGt6BUVKHkSq0AA7DMQnlkq4bRib9k4MGFtNpJf4hcHR7qnpwfOgQeSj bvU+UwEU4yo0w2F5o257d9b3SwptLEAkXeGgE2bcKNxyZ1mXjmwlUMrOG6Sfk83GdAh7nTpieiUmM k/SJPyPEQcJx4t2rq/R1hT9jPR48EvhME/IgMH+rMTo+pfYV1z82fsjwFbah5C7ozwZLrTEHCbYbS Q8z7Zbk9D3DaF4FYdIsX8LRLzLWtvpjkaNejIlSGuAbG/og7C2/bWC8kdkYVZqeKEeqv92ZexYgAX b8Y6gnXmaG8h/z13l83YLw==; 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 1prbEv-0001h4-9x; Wed, 26 Apr 2023 05:15:05 -0400 In-Reply-To: <875y9jaxj9.fsf@posteo.net> (message from Philip Kaludercic on Wed, 26 Apr 2023 07:54:34 +0000) 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:260656 Archived-At: > From: Philip Kaludercic > Cc: Spencer Baugh , 62958@debbugs.gnu.org > Date: Wed, 26 Apr 2023 07:54:34 +0000 > > Eli Zaretskii writes: > > >> Changing the default to "cat" in this way might be a bit > >> controversial... > > > > Sorry, this default cannot be universally correct. You assume that > > 'cat' is always available, which is not true on non-Posix platforms. > > So at the very least the value should be set according to > > executable-find. > > What systems respect PAGER (and would have it presumably set to > something like less), but would not provide cat? PAGER is not a system-provided feature, it is provided by the programs which honor the variable. Any such program, when ported to a system where there's no 'cat', will still support PAGER.