From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#70602: Add hooks to control *Shell Command Output* Date: Sat, 27 Apr 2024 16:15:01 +0800 Message-ID: <87o79v9q7u.5.fsf_-_@jidanni.org> References: <87le506i07.n.fsf@jidanni.org> <86jzkkz9f2.fsf@gnu.org> <86bk5wz8a6.fsf@gnu.org> <8734r7b73v.5.fsf@jidanni.org> <86zftfw841.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10378"; mail-complaints-to="usenet@ciao.gmane.io" To: 70602@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 27 10:16:21 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 1s0dEK-0002W3-Ps for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Apr 2024 10:16:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0dDt-0004oy-Jm; Sat, 27 Apr 2024 04:15:53 -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 1s0dDm-0004mn-UE for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 04:15:50 -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 1s0dDm-0007f5-Hr for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 04:15:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s0dE4-0004dz-Sz for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 04:16:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Apr 2024 08:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70602 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171420573917563 (code B ref -1); Sat, 27 Apr 2024 08:16:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Apr 2024 08:15:39 +0000 Original-Received: from localhost ([127.0.0.1]:38860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0dDd-0004Ys-3J for submit@debbugs.gnu.org; Sat, 27 Apr 2024 04:15:38 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:54564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0dDZ-0004Wr-Cu for submit@debbugs.gnu.org; Sat, 27 Apr 2024 04:15:34 -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 1s0dDA-0004fQ-I0 for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 04:15:08 -0400 Original-Received: from aye.elm.relay.mailchannels.net ([23.83.212.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s0dD8-0007MB-RQ for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 04:15:08 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D8A1B802B1B for ; Sat, 27 Apr 2024 08:15:04 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a253.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 7512D8028E1 for ; Sat, 27 Apr 2024 08:15:04 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1714205704; a=rsa-sha256; cv=none; b=RNbHD2H/rlz02IRpUvxHqCNtlUJsjGeyxSVDKLJ/jQnp4l2HZyVd8a8M5WrtSAozLmNk4L uF4J7FsF9kJUVLYOR2SuUZqLIioyquKJxM73Hbmm3rF9HZm1rNzWcDQ7GWL3VeBpSHIlmT 0M/9Im8YVGytA0TRQzjXE1z5cHDMSvf3t8cwLDTmaeS1i80a3ZAwX6HErncSJjlmFRsCND pwhGE1aRU5toHgJmRVJBrIfHFad50AIiM1m+W93cnG0+G8nB3WO6pDXKM2rdd8HzqtEYWE NZY1aNxHuRL3CwV3r83si+9a7k1+GDXCyFRL4p+B8chosJVSz3pxdCYVLS5rhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1714205704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references:dkim-signature; bh=ysazkJFNagdT6UmLh6okjPIYNxvMNQffOb1/l5/UPFI=; b=1A1m/qD/P2jwvV+HxcfOKag5Pd8s2snA6Wl4d9Vd7ShOlVd3XNS+qelbo12f4FLtfakpC3 BpHI8i1xNkCEFOENaCvtLxYPuQv2TfpnJOSY45jTkvrZfKrgIghJVgkbR03CFXCJXjM/nX bWxt91gYKdyDGjCYnVN1dv/U+dU6mLtjSlIU9GFEWDX/vSOMtAu+fOzC5LweM+ZMAdJm79 /UdhELeoVX33oAV4MhOv+Qe+hsAhn29zHsDst3zzIuHi+VHjjpUGbc7BSG2DXsd/iNlJ6D ts7eoKWJbVaBIUspdSLex1y38bnfDAcLzboWsE7zPcwDRaxtilQKLMsr/a51jg== ARC-Authentication-Results: i=1; rspamd-5c97bbd7c5-hst5r; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@jidanni.org X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-White-Inform: 4759998916879bd8_1714205704702_919276060 X-MC-Loop-Signature: 1714205704702:175202314 X-MC-Ingress-Time: 1714205704702 Original-Received: from pdx1-sub0-mail-a253.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.99.222.159 (trex/6.9.2); Sat, 27 Apr 2024 08:15:04 +0000 Original-Received: from jidanni.org (1-165-223-211.dynamic-ip.hinet.net [1.165.223.211]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a253.dreamhost.com (Postfix) with ESMTPSA id 4VRMpJ1Wtsz9c for ; Sat, 27 Apr 2024 01:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1714205704; bh=ysazkJFNagdT6UmLh6okjPIYNxvMNQffOb1/l5/UPFI=; h=From:To:Subject:Date:Content-Type:Content-Transfer-Encoding; b=Ytw7feAhJ/8gmU4e3uVklF/pyfBDKBYzPsrWzMNIMuwYDiKyL5tectNQVYkruArXo FFbDokTUOzmHzaP9s0arQ9fgp8cINvY7AuH6zO2AuE3lCtKmYDWkbw31bygwNYxYYC geVS0hNvN2Su+ZOcWMnCv+ONrHHsEKRt2Oifmn0/E+GOhaTmnSD9fM69Cpzk7HoWtu bZwwKcs40jDmeNAkR7608cuzXV4WIndjdd6mXaQNG/3u0wDs76k1Fm+0fhB27/4pjP V+DQG8ASszDuyAdMYUVrMBhPRIlaAycFI9dwptthdzrRyZRXwXQN9GftlEq/Hppdhl sQpDqlmYW1MLw== Received-SPF: pass client-ip=23.83.212.6; envelope-from=jidanni@jidanni.org; helo=aye.elm.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:284016 Archived-At: M-! (translated from !) runs the command shell-command (found in global-map), which is an interactive native-compiled Lisp function in ‘simple.el’. There are no hooks available to make the buffer it creates be in View Mode. One cannot even, via .emacs, make it read-only.