Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Fix loading of multi-line history entires from disk



On Jul 17,  8:58pm, Peter Stephenson wrote:
} Subject: Re: [PATCH] Fix loading of multi-line history entires from disk
}
} 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.

OK, I'm going to go ahead and push 32882 while we discuss alternate
end-of-entry markers.

} 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.

We could follow the examples of extended-history and _complete_debug to
use something that begins with ";:".

E.g. we could do something like ";: ENDS_WITH_BACKSLASH" but that's not
really "syntactically null" though it is semantically null.



Messages sorted by: Reverse Date, Date, Thread, Author