Hi Neil, On Sun 31 Oct 2010 00:11, Neil Jerram <n...@ossau.uklinux.net> writes:
> Neil Jerram <n...@ossau.uklinux.net> writes: > >> Subject: [PATCH] Expression-oriented readline history Awesome! Applied, with gusto :) > 2. An interesting different approach would be not to do the add-history > here (i.e. in make-readline-port) at all, but instead in > readline-repl-reader, by writing the expression that was read into a > string, and adding that string with add-history. That would give a less > verbatim kind of history, e.g. (I guess) "'a" would appear in the > history as "(quote a)". But it would cope better with multiple > expressions being entered at the same readline prompt. Hummmm. I would like this, but we would have to use the pretty-printer for the current language, so that it would work for ecmascript too. Andy -- http://wingolog.org/