unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: request for hack: readline fixes
Date: Sun, 14 Nov 2010 12:32:51 +0100	[thread overview]
Message-ID: <m34obk5ee4.fsf@unquote.localdomain> (raw)
In-Reply-To: <87bp6bnxeg.fsf@ossau.uklinux.net> (Neil Jerram's message of "Sat, 30 Oct 2010 23:11:51 +0100")

Hi Neil,

On Sun 31 Oct 2010 00:11, Neil Jerram <neil@ossau.uklinux.net> writes:

> Neil Jerram <neil@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/



      reply	other threads:[~2010-11-14 11:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 19:44 request for hack: readline fixes Andy Wingo
2010-06-02 13:48 ` Jose A. Ortega Ruiz
2010-10-30 15:30 ` Neil Jerram
2010-10-30 22:11   ` Neil Jerram
2010-11-14 11:32     ` Andy Wingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m34obk5ee4.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=guile-devel@gnu.org \
    --cc=neil@ossau.uklinux.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).