From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15236 invoked by alias); 27 Mar 2015 10:07:11 -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: 34786 Received: (qmail 12929 invoked from network); 27 Mar 2015 10:06:59 -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: cbfec7f4-b7f126d000001e9a-c3-55152b1388c2 Date: Fri, 27 Mar 2015 10:06:48 +0000 From: Peter Stephenson To: Zsh Hackers' List Subject: Re: PATCH: Removing aliases from history, 2015 style Message-id: <20150327100648.7f8d5aaa@pwslap01u.europe.root.pri> In-reply-to: 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> <20150325175706.06cb1a8f@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+NgFlrCLMWRmVeSWpSXmKPExsVy+t/xK7rC2qKhBqeuSlscbH7I5MDoserg B6YAxigum5TUnMyy1CJ9uwSujB2n57MU/OasmPbgFnsDYzNHFyMnh4SAicSBZQvYIWwxiQv3 1rOB2EICSxklvi3Q7mLkArKXMElsWDydHcLZxijx4PtJli5GDg4WAVWJzhWZIA1sAoYSUzfN ZgQJiwhoS7R/FAMJCwvYSizYt4AJxOYVsJc4cvwPC4jNKRAsMe1FA9TI+awSc/ZPZwVJ8Avo S1z9+4kJ4iB7iZlXzjBCNAtK/Jh8D6yZWUBLYvO2JlYIW15i85q3zBBHq0vcuLubfQKj0Cwk LbOQtMxC0rKAkXkVo2hqaXJBcVJ6rqFecWJucWleul5yfu4mRkjIftnBuPiY1SFGAQ5GJR5e g4PCoUKsiWXFlbmHGCU4mJVEeFc+FgkV4k1JrKxKLcqPLyrNSS0+xMjEwSnVwMj3UPrz+b/+ 37hrDj/M275QxMPw/Mt5H4/9sjRJfWS7j2F9rOaegoA2xudz9/HyfbuX3aOdb6QX+C/U49/v 0zOYIvV3P1e58bt4xzNv8TZX295Mi5J1BgYL21WXb99glcVftMH7pXb2Js1jc7O07n1n8J99 4st7L615vA+vVd2a62vGIMg5zVKJpTgj0VCLuag4EQDpCKOPNwIAAA== On Wed, 25 Mar 2015 19:42:22 +0100 Mikael Magnusson wrote: > FWIW, I don't use !-expansion at all, but who knows, maybe that'll > make it more likely I find the corner case. You do use HISTLEXWORDS, however, so you might notice the follwoing: it looks like I've managed to make that work less well when interrupted. If I ^C during the history read I get ^CWarning: backing up wrong character. Warning: backing up wrong character. Warning: backing up wrong character. Warning: backing up wrong character. Warning: backing up wrong character. Warning: backing up wrong character. hist.c:3524: bad wordsplit reading history: ((print foo); print bar) at: ((print foo); print bar) word: print foo hist.c:3524: bad wordsplit reading history: (( ( print foo); print bar) at: (( ( print foo); print bar) word: ( print foo); print bar hist.c:3524: bad wordsplit reading history: ((print foo); print bar\n) at: ((print foo); print bar\n) word: print foo Some of that's obviously specific to what I've got in my history. It's definitely tied to HISTLEXWORDS being set; I can't provoke it otherwise. I've rather lost the will to live with all the history, input and lexical changes but it probably wants looking at. pws