From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Andy Wingo <wingo@pobox.com>
Newsgroups: gmane.lisp.guile.devel
Subject: Re: WRITE & linefeed
Date: Sun, 04 Dec 2011 22:37:33 +0100
Message-ID: <87liqs9fxe.fsf@pobox.com>
References: <m3ei2pmrze.fsf@Kagami.home>
	<87fwn1r0xo.fsf@neil-laptop.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 1323096124 10315 80.91.229.12 (5 Dec 2011 14:42:04 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Mon, 5 Dec 2011 14:42:04 +0000 (UTC)
Cc: Ian Price <ianprice90@googlemail.com>, guile-devel@gnu.org
To: Neil Jerram <neil@ossau.uklinux.net>
Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Dec 05 15:41:58 2011
Return-path: <guile-devel-bounces+guile-devel=m.gmane.org@gnu.org>
Envelope-to: guile-devel@m.gmane.org
Original-Received: from lists.gnu.org ([140.186.70.17])
	by lo.gmane.org with esmtp (Exim 4.69)
	(envelope-from <guile-devel-bounces+guile-devel=m.gmane.org@gnu.org>)
	id 1RXZjx-0006Ye-Hk
	for guile-devel@m.gmane.org; Mon, 05 Dec 2011 15:41:57 +0100
Original-Received: from localhost ([::1]:35853 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <guile-devel-bounces+guile-devel=m.gmane.org@gnu.org>)
	id 1RXZjw-0004RJ-W7
	for guile-devel@m.gmane.org; Mon, 05 Dec 2011 09:41:56 -0500
Original-Received: from eggs.gnu.org ([140.186.70.92]:40059)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <wingo@pobox.com>) id 1RXZjo-0004Ep-8n
	for guile-devel@gnu.org; Mon, 05 Dec 2011 09:41:54 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <wingo@pobox.com>) id 1RXZjf-00056R-Q4
	for guile-devel@gnu.org; Mon, 05 Dec 2011 09:41:48 -0500
Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:64465
	helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <wingo@pobox.com>) id 1RXZjf-00056N-Jv
	for guile-devel@gnu.org; Mon, 05 Dec 2011 09:41:39 -0500
Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1])
	by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id BC91D7DC5;
	Mon,  5 Dec 2011 09:41:38 -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=5lCdRzkXibGb6wih/k2aJ/A0VGU=; b=gfnfjD
	sfMQSARkkB6cXKH/ivSWkSk/ws3G0a839M1qOm2TCQnODpBJRd+fyzG3/YBAOMCZ
	vot1MqG+txT+dIzz37Mf7nZM0oAs9XtHs8Mf+0xFNjL/Ja0aaLY9bWtYrrvn388L
	H8oia3FxUSSmdfQ8S9N3xQaEecuGG4iWwz2Bw=
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=Ghs/T2AoS72yMGG2tJ8aUSsp7LvpnADY
	YLY3DOuxO1+qyHUduthkQzM1rcYGX2mDfGdGwVMc7Tpu9Qewc7ugQDTUfMGWh+qt
	HVcndMoAtxkYc3cSeQZibCI5Y1+oQNaqqB7jexI+6GnkHqBUKvL4RO+Nf681b3IA
	xEj7NFl+aHg=
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 B5B957DC4;
	Mon,  5 Dec 2011 09:41:38 -0500 (EST)
Original-Received: from badger (unknown [90.164.198.39]) (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 253F17DB1;
	Mon,  5 Dec 2011 09:41:38 -0500 (EST)
In-Reply-To: <87fwn1r0xo.fsf@neil-laptop.ossau.uklinux.net> (Neil Jerram's
	message of "Wed, 22 Jun 2011 22:49:55 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
X-Pobox-Relay-ID: 3CEF58B6-1F4F-11E1-A8FC-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-Received-From: 74.115.168.62
X-BeenThere: guile-devel@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Developers list for Guile,
	the GNU extensibility library" <guile-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guile-devel>,
	<mailto:guile-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/guile-devel>
List-Post: <mailto:guile-devel@gnu.org>
List-Help: <mailto:guile-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guile-devel>,
	<mailto:guile-devel-request@gnu.org?subject=subscribe>
Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org
Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.lisp.guile.devel:12964
Archived-At: <http://permalink.gmane.org/gmane.lisp.guile.devel/12964>

Hi,

On Wed 22 Jun 2011 23:49, Neil Jerram <neil@ossau.uklinux.net> writes:

> Ian Price <ianprice90@googlemail.com> writes:
>
>> There's a small aesthetic issue that's been bothering me for a
>> while. Namely, newlines aren't treated like other escape sequences when
>> printed with WRITE.
>>
>> scheme@(guile-user)> (write "\n")
>> "
>> "
>
> I agree, but I can imagine that there is a case for the current
> behaviour too, and it's nice to preserve back-compatibility.  Emacs has
> `print-escape-newlines', and I guess we need something like that here -
> an addition to `print-options'?

Good idea.  I implemented this, and will push by the time you get this
mail.  The default is to escape newlines.

Andy
-- 
http://wingolog.org/