From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#72426: 29.2.50; comint-pager doesn't affect async-shell-command Date: Wed, 7 Aug 2024 09:08:12 -0700 Message-ID: <54634c92-f7d2-e242-95fe-bc8db7c5f820@gmail.com> References: <86sevmupgo.fsf@gnu.org> <86bk29vcof.fsf@gnu.org> <26b6e3e6-7eee-686d-013b-0fc02c4125fe@gmail.com> <8634nhps4t.fsf@gnu.org> <86v80do795.fsf@gnu.org> <86o765o4gg.fsf@gnu.org> <86bk24o8jn.fsf@gnu.org> <86y158mk08.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15672"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72426@debbugs.gnu.org To: Spencer Baugh , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 07 18:10:14 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 1sbjEr-0003vU-Ex for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Aug 2024 18:10:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbjEP-0008FZ-00; Wed, 07 Aug 2024 12:09:45 -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 1sbjEJ-0008FH-0Z for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2024 12:09:39 -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 1sbjEI-0001X1-6H for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2024 12:09:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=GaiI1WqgnptNQOvzHCQa1tQIyG6fb7u/V3vSfMNVCdk=; b=UgoQnF09vQgaKMGUhPkXpEFCj/8+1Vk12ljRsd1HKs9xMMnfX8t1GkChHKqNOIFFYeXW6rX1F1rnD5ib/8IB74O7WRdaH0RZtEiFo50+yX1q2Nuw6LYBr9kjRxYFdetCZMzOny7zQEqPQe43mvHOCSIt/5kNeKOPp1+598XvN2KK46hJaUnwldOVTmc+/TUAcvkvLZ6032QE0XD1ymv3o2zctDWhWDANlMxlHHWBS/yy+pa7/bLsCRFAU0RKLfjODzeIyoeieTM8TOMydr7AzjMpgds5iwyLBT//TQiuUqKzAKppH+QirH89vKnJj6MguBVquqMtYoys/yCPDRLusA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sbjEg-0003UE-G8 for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2024 12:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Aug 2024 16:10:02 +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.172304698513374 (code B ref 72426); Wed, 07 Aug 2024 16:10:02 +0000 Original-Received: (at 72426) by debbugs.gnu.org; 7 Aug 2024 16:09:45 +0000 Original-Received: from localhost ([127.0.0.1]:35007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbjEP-0003Td-4i for submit@debbugs.gnu.org; Wed, 07 Aug 2024 12:09:45 -0400 Original-Received: from mail-pf1-f170.google.com ([209.85.210.170]:48625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbjEN-0003TO-EJ for 72426@debbugs.gnu.org; Wed, 07 Aug 2024 12:09:44 -0400 Original-Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-70cec4aa1e4so31712b3a.1 for <72426@debbugs.gnu.org>; Wed, 07 Aug 2024 09:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723046892; x=1723651692; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=GaiI1WqgnptNQOvzHCQa1tQIyG6fb7u/V3vSfMNVCdk=; b=UymMR6G8++rdr2m1oewMZvUL4HbQVX3kMgwgLzfnKBJzdSzvIgQLz7owDZwtH4V0rR EikPE54lvxbipX2IGDeXVOCYvYaVVdmDAHLjU3Fw3aWAOJDrcvdf6Vi/AfJQ6gpc7U+m 3VJ2cehLWBjtTs7wDaXlC+RGw0Z0k3kQNZV5CSye5sriE5Vn2n3iXw3SieQn9X8DzQDD o3W9VNXlNeZiTVx98rSxNg66YNiAf3qRtzv38a+KrkQ14YEcWmHfYmDb+bk9uoC/uHYl RE790duS3ss9jtk+UeUyM5xQa3JjBINr6Jjn/GJcmd9FMUT7kKlJyjLbNTpICKF7hOCb r9sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723046892; x=1723651692; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GaiI1WqgnptNQOvzHCQa1tQIyG6fb7u/V3vSfMNVCdk=; b=lWSGSpO3+iSKxewy9CLXAEwi0FOD4IcBS8spLFkUc2vfP7Mg9/kmi3e+HjwFX1A8w5 nRch7oMph3CKIZlyIQbd+RM4NWYdW4jjyOGxY72vmNWXuBEF20KNxKzQTcIQ8EItM7wn YVlbl9e8TXH/46RwIaYNlG4N18LjYRpsUATN4xh5dveDJpABoQgNDQZr7jdN/x5hU5Dd CDIz1OB/GL6xpfSlmtY3WgzyUq33Th7OzciS/KcC40i58EgG+8krG4X6UUsfNpkylhSM 7ADj00C7S6ORTkrWViuTe8GQxGD4Sp/oYs/NHckCw9/6uyGrFD/JHe1t6D1g0hzdXl2a RUOQ== X-Gm-Message-State: AOJu0YxCb9UtwlkXdGCbUmkBwzMHZM3hHnpvHdxbtAW0pVkbm7sfvsjU DaDA4gxyfiEcWanYlRgwC43NfqfPvhEsTertf+Us7m9nUO290+1S X-Google-Smtp-Source: AGHT+IExVAd71fbXWIcIbnLITzSwfNVNKg9FfnMalIokUHwnS/qopBmsuz5Jn7kLJWOPBlHKE31z5Q== X-Received: by 2002:a05:6a00:240f:b0:705:6a0a:de14 with SMTP id d2e1a72fcca58-7106cf8bf93mr23578743b3a.1.1723046892032; Wed, 07 Aug 2024 09:08:12 -0700 (PDT) Original-Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-7106ecfd057sm8549267b3a.160.2024.08.07.09.08.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Aug 2024 09:08:11 -0700 (PDT) Content-Language: en-US In-Reply-To: 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:289900 Archived-At: On 8/7/2024 8:31 AM, Spencer Baugh wrote: > Eli Zaretskii writes: > >> As expected. The problem is that a Lisp program could let-bind this >> variable around a call to async-shell-command (or some other similar >> API), in which case a setting in startup.el will not catch that. But >> maybe we don't care, since a program whose stdout is not a console >> device will ignore PAGER anyway. > > Yep - I think it's fine for the same reason it's fine to have TERM set > by default, even though it's ignored by programs whose stdout is a pipe. Git, at least, ignores PAGER entirely when stdout isn't a PTY. (I tested by setting PAGER to "rev" and trying with and without a PTY. I get reversed lines with a PTY, but everything is non-reversed without.)