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#72426: 29.2.50; comint-pager doesn't affect async-shell-command Date: Tue, 06 Aug 2024 21:07:02 +0300 Message-ID: <86v80do795.fsf@gnu.org> References: <86sevmupgo.fsf@gnu.org> <86bk29vcof.fsf@gnu.org> <26b6e3e6-7eee-686d-013b-0fc02c4125fe@gmail.com> <8634nhps4t.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34593"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, 72426@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 06 20:08:05 2024 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 1sbObN-0008q2-Fr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Aug 2024 20:08:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbOay-0003KG-W4; Tue, 06 Aug 2024 14:07:41 -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 1sbOaw-0003Jj-2e for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2024 14:07:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sbOav-0002sT-Pl for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2024 14:07:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=K0/K6CdM18IAmX3woTapbyGIT9MMsZJJILs/jeeaKig=; b=KWKLmP0M2Q7CK6lE2PrRU6FzUZymySd6/WulL6ZA0fifzO5oSn0VaSvpjcMikEiWng4hV7I0qvGQcugc0vWKFts8dzF0Rq22gDUCTzuLlyQBy3WglPdRHdAHLEABnDHokZvUadarIbgAlwoUupvf+HXOm0Fd85u+rQEzwsh7D1H+A3BQ28yqIjezXt+IqFdoTolVKCUKHrGrOSb78dbRaDh5kEgyo+KnSfEpPuZ46qj/m5Z0QW7EZQVM/fPfJ+0Nl3Z4g4xeOaI/j6X/Kwl8Gdfu3MgAkGSqZBxj+P3mUt4jV+omTjeoq+PxXDdUWZV6FlAoT+NNA92fxQcarxj38w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sbObJ-0005Wd-Q6 for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2024 14:08:01 -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, 06 Aug 2024 18:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72426 X-GNU-PR-Package: emacs Original-Received: via spool by 72426-submit@debbugs.gnu.org id=B72426.172296767921231 (code B ref 72426); Tue, 06 Aug 2024 18:08:01 +0000 Original-Received: (at 72426) by debbugs.gnu.org; 6 Aug 2024 18:07:59 +0000 Original-Received: from localhost ([127.0.0.1]:33011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbObH-0005WM-4Z for submit@debbugs.gnu.org; Tue, 06 Aug 2024 14:07:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbObF-0005WA-LJ for 72426@debbugs.gnu.org; Tue, 06 Aug 2024 14:07:58 -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 1sbOam-0002pS-8K; Tue, 06 Aug 2024 14:07:28 -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=K0/K6CdM18IAmX3woTapbyGIT9MMsZJJILs/jeeaKig=; b=aSE/prIbSoXj OPzhK4L3FDYyvjepI+QVwbqHgMRh2RlxqMDvOtjrhIYyFXm2PfubIUi3i0Jsboduv+NaARS4fh4Np 2QjL9kXhz1II9l/qfO4YBdFw7QpGPjOjBVyKlKOboLGz5o2oUodMNoQGqMf+X4Tm2E1JVStJIHkXs ugOA1z/RxdafcveGwqK3nES3mc9ePo2WuvcsRYMc1eJa5piIyXqmwgdF5+HkPbWMWqF7YAnjcRM+6 n9KNVsSpXCw6LtmYalnPCekORmg1dUh2r1YQ2IU8J0iSUCbsOleEMbJJTN13ygyXzu95x7kEAmF0Z tp9ZiJsy1yKS0a7ODXV42Q==; In-Reply-To: (message from Spencer Baugh on Tue, 06 Aug 2024 12:42:09 -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:289850 Archived-At: > From: Spencer Baugh > Cc: jporterbugs@gmail.com, 72426@debbugs.gnu.org > Date: Tue, 06 Aug 2024 12:42:09 -0400 > > --- a/lisp/startup.el > +++ b/lisp/startup.el > @@ -854,6 +854,10 @@ normal-top-level > ;; We are careful to do it late (after term-setup-hook), although the > ;; new multi-tty code does not use $TERM any more there anyway. > (setenv "TERM" "dumb") > + ;; Likewise, subprocesses should not use a pager unless told > + ;; otherwise, since it generally won't work. > + (when (executable-find "cat") > + (setenv "PAGER" "cat")) We need to work on the comment, because it doesn't explain any of what it needs to. Worse, it says something very confusing and at least inaccurate.