From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: request for hack: readline fixes Date: Sun, 14 Nov 2010 12:32:51 +0100 Message-ID: References: <8762wjpoxz.fsf@ossau.uklinux.net> <87bp6bnxeg.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1289734147 25182 80.91.229.12 (14 Nov 2010 11:29:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2010 11:29:07 +0000 (UTC) Cc: guile-devel To: Neil Jerram Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Nov 14 12:29:03 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PHala-0002O5-76 for guile-devel@m.gmane.org; Sun, 14 Nov 2010 12:29:02 +0100 Original-Received: from localhost ([127.0.0.1]:42260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHalZ-0002eM-HG for guile-devel@m.gmane.org; Sun, 14 Nov 2010 06:29:01 -0500 Original-Received: from [140.186.70.92] (port=48119 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHalV-0002eG-O5 for guile-devel@gnu.org; Sun, 14 Nov 2010 06:28:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHalQ-00013q-OA for guile-devel@gnu.org; Sun, 14 Nov 2010 06:28:57 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:42884 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHalQ-00013T-Ly for guile-devel@gnu.org; Sun, 14 Nov 2010 06:28:52 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 10FE33620; Sun, 14 Nov 2010 06:28:59 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=/C95+62ZEreEnM8fwYozbFKKz64=; b=e0y285 CwJuHyo+gf056IGCav9rui/FPWENPkQSdH1avgKrPFvM9Br/Fnk93di2hbRlMxpG RfNCMzcyw0Zd+jOvfT+jGQq3Wj1QJoPjbYWvAZxf+LsMZiYufz35COS5iMd4qIvf zqhWMmID/+/i3pvitw0iKBM5EFcd5LpISUOoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=b3y+PCBorQN26wc5i4dkhGZaV6VdfDl5 cqaSL7f0iHZcJig4eh7IHVq9Y1KLwAvw4IkUGFTB4jqwBjEzjSns2PZddV52yNmu 9CIAmlIhrhm3Yp5brapvxZaBwAjwTD8NpqOkB4hilOKDecL/KtFowoB//TmbqiX/ y7OSR/n7HvA= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id F2C4D361F; Sun, 14 Nov 2010 06:28:57 -0500 (EST) Original-Received: from unquote.localdomain (unknown [81.39.161.251]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 59F33361E; Sun, 14 Nov 2010 06:28:55 -0500 (EST) In-Reply-To: <87bp6bnxeg.fsf@ossau.uklinux.net> (Neil Jerram's message of "Sat, 30 Oct 2010 23:11:51 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 5EFB16CC-EFE2-11DF-9467-B53272ABC92C-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11133 Archived-At: Hi Neil, On Sun 31 Oct 2010 00:11, Neil Jerram writes: > Neil Jerram 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/