From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26189 invoked by alias); 22 Jul 2013 20:22:40 -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: 31561 Received: (qmail 4943 invoked from network); 22 Jul 2013 20:22:25 -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.49 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=Ilcg2wCUSywt1Sn9XE5gFJXLjiZO8QLAVhikn7ySK1Q=; b=HT5Xj1LNB1hWR6d8El6ARNaCEkdQkQ/7Iba0Eyo4gft7ftZ9P+QCvefSft5o1CNQiN gj0VN4PplSRUJAT320pAzTPFAFPane7Y/kICDuGmmB9Rw+drcLZG1RZAhAPtoCbeGIJe 8V3rD7OE8YLVniA0/EDjaKZ3E2V9m8ukXoOufXr1tLDi2IHAL7x50TzeA3ketB2qbSFn lgx38f/Ve7VSVBxi7MzXVirrlisY74W6+PLvq/RWFLQbMcCvFtkaQo8WgP9/5JRYsSSp fNmeTEw/MrqRwAVgqwhxnbiUXPyacbsqNBoEGgNWRJROXh99QJf6Tsj8hUfCvodffRK3 ZvFA== X-Received: by 10.180.188.36 with SMTP id fx4mr30462814wic.55.1374524538436; Mon, 22 Jul 2013 13:22:18 -0700 (PDT) Date: Mon, 22 Jul 2013 21:22:17 +0100 From: Stephane Chazelas To: Peter Stephenson Cc: zsh-workers@zsh.org Subject: Re: interactivecomments and preexec Message-ID: <20130722202216.GC9580@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20130722210203.4f1245d2@pws-pc.ntlworld.com> User-Agent: Mutt/1.5.21 (2010-09-15) 2013-07-22 21:02:03 +0100, Peter Stephenson: > On Mon, 22 Jul 2013 19:30:12 +0100 > Peter Stephenson wrote: > > + ihwend(); >=20 > 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: options=3D(autolist on printexitvalue off kshzerosubscript off histreducebl= anks on chaselinks off extendedglob on histnostore off automenu on globcomp= lete off unset on listpacked off promptsubst on shwordsplit off pathdirs of= f kshtypeset off listtypes on warncreateglobal off promptbang off dotglob o= ff braceexpand on listbeep off correctall off privileged off numericglobsor= t off histverify on trackall on histsubstpattern off cbases off rcquotes of= f posixaliases off histfindnodups off bashautolist off sharehistory off ove= rstrike off kshautoload off incappendhistory on promptcr on mailwarn off pu= shdignoredups off interactive on ignoreeof off globsubst off rematchpcre of= f monitor on histsavebycopy on histbeep on debugbeforecmd on magicequalsubs= t off rmstarsilent off posixjobs off hashcmds on posixtraps off extendedhis= tory off notify on kshoptionprint off histexpiredupsfirst off glob on posix= cd off braceccl off badpattern on longlistjobs off banghist off dvorak off = alwaystoend off hashall on globalexport on ksharrays off correct on autonam= edirs off histexpand off typesetsilent off rmstarwait off histnofunctions o= ff autoparamslash on trapsasync off sunkeyboardhack off promptsp on histsav= enodups on autocd on allexport off posixidentifiers off cshjunkiehistory of= f autopushd on completeinword off completealiases off aliases on autocontin= ue on appendhistory on singlelinezle off hashlistall on ignoreclosebraces o= ff recexact off localoptions off interactivecomments off errexit off cshjun= kiequotes off markdirs off hashdirs on cdablevars off rcexpandparam off vi = off printeightbit off multifuncdef on xtrace off login off cshjunkieloops o= ff histappend on histignorespace on evallineno on shfileexpansion off rcs o= n functionargzero on errreturn off combiningchars off histignoredups off hi= stfcntllock off beep on autoremoveslash on hup on globdots off autoparamkey= s on shnullcmd off multibyte on zle on promptpercent on flowcontrol off con= tinueonerror off autoresume off globassign off caseglob on shortloops on bs= decho off cprecedences off log on transientrprompt on verbose off ignorebra= ces off equals on menucomplete off cshnullglob off casematch on promptvars = on histallowclobber off bareglobqual on shinstdin on restricted off pushdmi= nus off nullglob off chasedots off mailwarning off listambiguous off cshnul= lcmd off bashrematch off octalzeroes off exec on multios off emacs off noma= tch on pathscript off localtraps off stdin on onecmd off kshglob off clobbe= r on posixbuiltins off alwayslastprompt on pushdtohome off histignorealldup= s on hashexecutablesonly off pushdsilent off shoptionletters off physical o= ff sourcetrace off histlexwords off bgnice on globalrcs on posixstrings off= checkjobs on shglob off singlecommand off listrowsfirst off ) Cheers, Stephane