From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21832 invoked by alias); 17 Jul 2014 23:56: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: 32885 Received: (qmail 18613 invoked from network); 17 Jul 2014 23:56:50 -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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=durin42.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=durin42.com; bh=ZuX4/XVuFP4of8hRNJgApgFAFDA=; b= onc9yFv6NAlS58ATwcKFEGwI5LHrNK5WPRC8Al3e29Pj4gtpMqRH5YD/JTa7DYJY oP1PFR9c2CwKpYFFPddzHpE5Br2yV9Tt5RZFsryJustF460/h3fHpeyi+9sDOt2i uB0SG0fFF8EV6wkYKl2SClrABea0xfFLjOM3k1iscnA= Date: Thu, 17 Jul 2014 19:56:44 -0400 From: Augie Fackler To: Peter Stephenson Cc: zsh-workers@zsh.org Subject: Re: [PATCH] Fix loading of multi-line history entires from disk Message-ID: <20140717235644.GA85853@imladris> References: <140717112341.ZM3956@torch.brasslantern.com> <201407171958.s6HJwj5f003940@pws-pc.ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201407171958.s6HJwj5f003940@pws-pc.ntlworld.com> User-Agent: Mutt/1.5.21+134 (87ba4fb93754) (2012-12-30) On Thu, Jul 17, 2014 at 08:58:45PM +0100, Peter Stephenson wrote: > Bart Schaefer wrote: > > So, check out the following. This includes Augie's patch (backs out > > 30433) and adds an attempt at changing the output (appends a space after > > an even number of backslashes appearing at the end of an entry). > > That seems as minimal and compatible as we're going to get. > > Is it worth appending something syntactically null but a little more > complicated that we can strip on input with little likelihood of > stepping on anyone's toes? " ; "? Unless we do attempt that, appending > a simple space is as good as anything. Makes sense. Thanks to both for the thorough explanation of the problem. A space sounds reasonable, as does " ; ". Thanks for the quick responses! > > pws