From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6924 invoked by alias); 22 Jul 2013 08:45:01 -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: 31556 Received: (qmail 6683 invoked from network); 22 Jul 2013 08:44:46 -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, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 74.125.82.177 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=3R9SUI/8pBj0zU+OEwhFqIhGZhgj38SOKQbYGoEwO2U=; b=DyUHUfyMavQPeiojiPgwEfE+mQ7JZslfM6RFcRABJ1D3wejwqxcqK0G6wDnlmA+7+p XQMhwlZM8oQzwoApDfthlKijj0X9A5dWeZlCxRwRZ2Ti1a9H4AOOa1VjTZDFuwA9IALN y9Q0S73w00deRe4JfJft4AvH/59cqAK68hMqrJ8d/BUVnDCia8KVfOHjF90G4ZJGzPSH 0jDN/yLPLWiReWWiMsBT+4d0ZS8xB+dghqgseFDG/sGiztTox5+Da2Mrxl40c45vrpgo nfVXBlMhKQAwFfc24mirHQ9b1KMGTeGw4V4h5kXhysbhaVtgMiR+Dg4jxXvar+84/fmK WRpw== X-Received: by 10.180.38.37 with SMTP id d5mr25491088wik.37.1374482677511; Mon, 22 Jul 2013 01:44:37 -0700 (PDT) Date: Mon, 22 Jul 2013 09:44:33 +0100 From: Stephane Chazelas To: zsh-workers@zsh.org Subject: Re: interactivecomments and preexec Message-ID: <20130722084433.GB9580@chaz.gmail.com> Mail-Followup-To: zsh-workers@zsh.org References: <20130721194524.GC10400@chaz.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130721194524.GC10400@chaz.gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) 2013-07-21 20:45:24 +0100, Stephane Chazelas: > % alias a='echo #' > % setopt interactivecomments > % preexec() print -r "<$1>" > % a test > > > Why not ? [...] Note that I think it worked before because I remember using it in things like: http://www.zsh.org/mla/users/2007/msg01195.html (though in that particular one I mention "untested", and trying zsh from some old ubuntus (4.3.4, 4.3.10), the behavior is different in that it outputs "" instead of "", but is not I as expect either). -- Stephane