From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2551 invoked by alias); 22 Jul 2013 20:27:52 -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: 31562 Received: (qmail 7440 invoked from network); 22 Jul 2013 20:27:47 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 74.125.82.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=159TChINYk332wEUVOIaYUClr/84Sbhee59hm73E3u8=; b=CdVBtE6hFfzKfB1OTcOFNLUpES93RLS106CCUEd+Ke9fXY/iZlGBb8lrbCWntvu1Hv haSbFK2f7wWlFvLIYgh+eDa5Ohss7My3XC9zA+KWrsjggsrmpaQacm174tLk772pvC4+ GkKd9NvV6OnbpqvLYZtrViAyBf7QsTE9lfFSXM1x47f+aPEzxu6IKwgbVsxt9DiwygwQ SSLj1WyAi957oRlP3tpjLXqq7CYFsWpcCyWvlLOdMg4Rtj47saNRZO+DXP16jsHrkK9Y IKqOvbwNseG86Km/+GjAdBhJ4NB64UD4hO89eWIkAO7QUQDnjjQBhfWTgB2tS+2S3bME y7MQ== X-Received: by 10.181.13.106 with SMTP id ex10mr19545277wid.16.1374524860274; Mon, 22 Jul 2013 13:27:40 -0700 (PDT) Date: Mon, 22 Jul 2013 21:27:38 +0100 From: Stephane Chazelas To: Peter Stephenson , zsh-workers@zsh.org Subject: Re: interactivecomments and preexec Message-ID: <20130722202738.GD9580@chaz.gmail.com> Mail-Followup-To: Peter Stephenson , zsh-workers@zsh.org References: <20130721194524.GC10400@chaz.gmail.com> <20130722105332.2e7e8366@pwslap01u.europe.root.pri> <20130722193012.3a0a4f9f@pws-pc.ntlworld.com> <20130722210203.4f1245d2@pws-pc.ntlworld.com> <20130722202216.GC9580@chaz.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130722202216.GC9580@chaz.gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) 2013-07-22 21:22:16 +0100, Stephane Chazelas: > 2013-07-22 21:02:03 +0100, Peter Stephenson: > > On Mon, 22 Jul 2013 19:30:12 +0100 > > Peter Stephenson wrote: > > > + ihwend(); > > > > Oops, should be hwend(), which is a function pointer that points to > > ihwend() in the case of interactive history. Now fixed. > [...] > > Thanks, > > though that works with `zsh -f`, that doesn't seem to work with > those options: [...] The culprit is histreduceblanks here. Actually that patch reverts to the old behavior like in 4.3.10. Except that in 4.3.10, if you typed: : # whatever Pressing the Up key would bring you that same line, while now it brings you ": #". -- Stephane