From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8610 invoked by alias); 25 Mar 2015 18:07:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34777 Received: (qmail 18404 invoked from network); 25 Mar 2015 18:07:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f5-b7fc86d0000066b7-65-5512f6f482b2 Date: Wed, 25 Mar 2015 17:57:06 +0000 From: Peter Stephenson To: Zsh Hackers' List Subject: Re: PATCH: Removing aliases from history, 2015 style Message-id: <20150325175706.06cb1a8f@pwslap01u.europe.root.pri> In-reply-to: <20150325154853.7efc21d0@pwslap01u.europe.root.pri> References: <20150319105716.620cd931@pwslap01u.europe.root.pri> <20150319125351.1e270c2d@pwslap01u.europe.root.pri> <20150320105703.2754b6af@pwslap01u.europe.root.pri> <150320090420.ZM21908@torch.brasslantern.com> <20150322183556.1fa0f143@ntlworld.com> <150322162235.ZM1728@torch.brasslantern.com> <20150323213426.21fd79c8@ntlworld.com> <20150325154853.7efc21d0@pwslap01u.europe.root.pri> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKLMWRmVeSWpSXmKPExsVy+t/xq7pfvgmFGvyfYGJxsPkhkwOjx6qD H5gCGKO4bFJSczLLUov07RK4Mh7uaWcvWMhecfrfD8YGxtusXYycHBICJhLvns5hhrDFJC7c W8/WxcjFISSwlFHi1NpusISQwBImia5XpRCJbYwSs67OYQFJsAioSlz5uocJxGYTMJSYumk2 YxcjB4eIgLZE+0cxkLCwgK3Egn0LwEp4Bewlvs/cAtbKKeAgMevcR2aImYtYJK68XwSW4BfQ l7j69xMTxEX2EjOvnGGEaBaU+DH5HlgNs4CWxOZtTawQtrzE5jVvoQ5Vl7hxdzf7BEahWUha ZiFpmYWkZQEj8ypG0dTS5ILipPRcI73ixNzi0rx0veT83E2MkKD9uoNx6TGrQ4wCHIxKPLwR SkKhQqyJZcWVuYcYJTiYlUR4ex4BhXhTEiurUovy44tKc1KLDzEycXBKNTDe5f6zz6CJWW32 3XfyXqweYoH/j04qn1RyYVH9yvlpLj8vzmV/rcKTqLH70TO3uwFPvVMfqLEyuHjILjhcJXdA 4fevJ+vWFNg9ZIkzd5BLzHnFvXWfScP8abeMnD2ObFj/ouHy0hblnd/M5B5W/Ypwm/X71ru7 PDelkg/OfdfPskXBJ+bQrMpWJZbijERDLeai4kQA5JqarDgCAAA= On Wed, 25 Mar 2015 15:48:53 +0000 Peter Stephenson wrote: > On Mon, 23 Mar 2015 21:34:26 +0000 > Peter Stephenson wrote: > > Ideally, I think we'd handle not adding > > the alias text to history the way we've been doing in other cases by > > checking INP_* flags, which is much less hit and miss. That ought not > > to be too difficult, but I haven't really got my mind round the > > consequences yet. > > Hmm... I typed this in more or less as below (with one subsequent fix to > testing flags for interaction with !-history) and was expecting it to > fail horribly, and so far it's failed to fail. Perhaps my expectations > were low simply because it's been the old way since 2 million BC. > > I'll try it further. Well, it's obviously not *that* broken. I'll push it so that Mikael can fall over the 1 in 1,000,000 corner case again. pws