From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19090 invoked from network); 30 May 2022 09:08:32 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 30 May 2022 09:08:32 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1653901712; b=jNNNhxpvohfFrBxlGKu1woCuQKCulGKvffpnmBcYWH6vJ+dEgaLFwKlnjZhmt5k4UL7kmgZPqN QQMcecvNNb37YVwEdZRQdHF9Vz1qdEwzvPrf/hPc5Bsx8QUEbm4qkNmhKmDBQNf4xbBsj4w6uL JZxqq18d+cAWOAXtFlOfrzmzLQ6VnvAnSBow2tz0FfaHKBnAhBuLDbf5aPPP+Pp0ROP5ybZOGG r/YLv/zmgQbaKB186breuwPh5neRCtzVjBR9tBWcmL1Atg/Jg70rlMWoR3eRd/zru7/XyWxtK1 YKvyJfq/EnOrXKZ78r8QWAJfZCunqT5L1S1xUyFuHdIzhw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1653901712; bh=KY5PWg3ai5YOvlQkWPacHIcNpcrgqXgeX2Q7MZkMtpE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=I7TLfIkuYaSt8YkI4rYGzg/2tNEVfJi/KJnssw11IU0swJwX/qg6IHfF+ZsI2MfIoOTUxVA5tg B94lUZjaJewDXpd2U8bl1bZ6WUhbOx0M/di2di1oT/HL//avI9tpD2KBRZYRw/YV+qsMyu/1nu Hp4/niu1VkGzISnhQwjMyNSpH9kRGXvWbDtHBbadHqmmkYj+E2XKeZNltjUEcaz97N93XJIpwc JqL9Nbl3ej/BajHzMwxgvoOopZT9/yUHAZLyUbndDdWyiV/F5fPQQqTwlQSkYX3Zg8uzmjMl4C xrosInlltnIOZMPISHCvG54BtEOb+hD1AWbO1fwfa/VjqA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=2rLZP7qjvMKr4sYoC7Jfu2bSov1ocn5BgjrYfFsgna8=; b=q9WepuEY9/pehj3RfwY86YzI26 vkKEmW51Va86rncvEpj7gbJ8p/WI6+mZ7ruCurNN27Vjjcy9D8m2Ybpi5maq88XEvHkacpTYQ0IUz R9VR9EQeDaiXSu+uihAAjm7pf4IXe0+eZyN0VwOvnV0YdGlGmfUR+DVACODCzVxVYasj3HDDGxNuY ho0MSUvbX2WnC8YPbKkx9O4qcI0h1M6Uf2uCwkSbfl9ILoSprB6QKQZeqXbJbWKOHknDjNxZwPppY OtsDjH+/wFC/mLx8YwPj8jg7I/oc2GNWZdR1ziFvYcTxCIXpPAZ7QQFJkr7YiLDnBIjrDe39TxHc/ Cpilin+w==; Received: from authenticated user by zero.zsh.org with local id 1nvbO3-000EE7-Sm; Mon, 30 May 2022 09:08:31 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq2.tb.ukmail.iss.as9143.net ([212.54.57.97]:54192) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1nvbMz-000DV7-G9; Mon, 30 May 2022 09:07:28 +0000 Received: from [212.54.57.82] (helo=smtp3.tb.ukmail.iss.as9143.net) by smtpq2.tb.ukmail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1nvbMz-0007Nd-6F for zsh-users@zsh.org; Mon, 30 May 2022 11:07:25 +0200 Received: from oxbe13.tb.ukmail.iss.as9143.net ([172.25.160.144]) by smtp3.tb.ukmail.iss.as9143.net with ESMTP id vbMznwX7UmkHavbMzn9krA; Mon, 30 May 2022 11:07:25 +0200 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-users@zsh.org X-SourceIP: 172.25.160.144 X-CNFS-Analysis: v=2.4 cv=OYGLszfY c=1 sm=1 tr=0 ts=6294894d cx=a_exe a=wuFMYA7voKp1dZz7Z+vj5Q==:117 a=WtMt9hcKi8fLy_5a:21 a=wbvTLvLwOfMA:10 a=IkcTkHD0fZMA:10 a=7H6ixmLU1AQA:10 a=EFhdEtqFFDOuTANJfxwA:9 a=QEXdDO2ut3YA:10 a=pRtaL2KXdY0l5NrbyJCZ:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1653901645; bh=KY5PWg3ai5YOvlQkWPacHIcNpcrgqXgeX2Q7MZkMtpE=; h=Date:From:To:In-Reply-To:References:Subject; b=qoi6yFzloWxADeerRH+/+bioCmZLFn4Tk659sOYXtvr023uNQq3SGcG7r0Y0heyCJ 0ymKYXg/7u4Czi/Yb4zFnqfnV1Gj/LdKWeq9asbfVY9BjQAxJ7uRjQpO++VOnRV7bS HPe8CJTDy/joZuwzjjaWmeuPybNNPKU2pIQl7tlb2QPLPUhT7G/wNCMT7fI5Dnbkw0 7uANECYXT3t/+7ivTBs3B0AWzgEfxu65T17WDh+QoIv0X0EK9MDDMtUVo4MJDC0yjp eqj9QVBlq58jgI/ttGHE20lJ19ivDzcLtKWBEaFDkUMrTrsRIPPcI0j+0wkOcpuhHL BAnx4mUNmzk1g== Date: Mon, 30 May 2022 10:07:25 +0100 (BST) From: Peter Stephenson To: Zsh Users Message-ID: <1388910908.482590.1653901645100@mail2.virginmedia.com> In-Reply-To: References: <20220525025403.GA97860@zira.vinc17.org> <20220525084920.GB97860@zira.vinc17.org> <20220526143602.GA1236826@zira.vinc17.org> <20220526155329.GF19001@tarpaulin.shahaf.local2> <1936193667.415066.1653581604546@mail2.virginmedia.com> <20220528000720.GB1236826@zira.vinc17.org> <20220528100639.GB29128@tarpaulin.shahaf.local2> <41f13468-b9b9-4b64-845a-aadbcc3b8472@www.fastmail.com> Subject: Re: prevent some lines directly coming from the history from being executed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev72 X-Originating-IP: 147.161.167.85 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfJzQ0KolJejqQhp9nIat9T4mvzXD6v7Xk+IZEHKns4Q4VqymZykX3sYS3u01DEOKuK+1Fi+IrQTn/q4WahVZkFidOjSyVhJ1datVsc1uyUed3GrWv22k WS8cJwHnET4spU3+/tb+pshIlHB/cfGGhm0Fds/bSKlzzfx22scdjGdAvPvzzXG6z0ep4PBQkrQY/CkldJP5HcucqxCT2qRcql1bEVD1gzgp1Fh6CQVI4J5E X-Seq: 27825 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: I won't complicate the discussion on the currently proposed text further (don't see any fundamental problems), but I wonder if it would be useful to give an example of accept-line being adapted? There is a problem of making the documentation too verbose (if technology allowed, it would be useful to have a two level manual, the fundamentals and a running commentary, but that's a pipedream), so maybe a self-insert example is good enough. Alternatively, a subsequent sentence like "In a similar way, to perform a final action on all lines returned from Zle, the accept-line widget can be rebound to a function that performs an action on the current line, then calls the .accept-line widget to return the line to the shell." pws