Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Fix loading of multi-line history entires from disk
- X-seq: zsh-workers 32885
- From: Augie Fackler <raf@xxxxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: [PATCH] Fix loading of multi-line history entires from disk
- Date: Thu, 17 Jul 2014 19:56:44 -0400
- Cc: zsh-workers@xxxxxxx
- 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=
- In-reply-to: <201407171958.s6HJwj5f003940@pws-pc.ntlworld.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <schaefer@brasslantern.com> <140717112341.ZM3956@torch.brasslantern.com> <201407171958.s6HJwj5f003940@pws-pc.ntlworld.com>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author