From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: WRITE & linefeed Date: Wed, 22 Jun 2011 22:49:55 +0100 Message-ID: <87fwn1r0xo.fsf@neil-laptop.ossau.uklinux.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1308779404 14008 80.91.229.12 (22 Jun 2011 21:50:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2011 21:50:04 +0000 (UTC) Cc: guile-devel@gnu.org To: Ian Price Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jun 22 23:50:00 2011 Return-path: 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 ) id 1QZVJA-00060u-CJ for guile-devel@m.gmane.org; Wed, 22 Jun 2011 23:50:00 +0200 Original-Received: from localhost ([::1]:36841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZVJ9-00060T-5V for guile-devel@m.gmane.org; Wed, 22 Jun 2011 17:49:59 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZVHf-0005hp-Ms for guile-devel@gnu.org; Wed, 22 Jun 2011 17:48:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZVHd-0005bh-TS for guile-devel@gnu.org; Wed, 22 Jun 2011 17:48:27 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:34827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZVHd-0005bE-Bc for guile-devel@gnu.org; Wed, 22 Jun 2011 17:48:25 -0400 Original-Received: from arudy (unknown [78.149.195.74]) by mail3.uklinux.net (Postfix) with ESMTP id AA1611F667C; Wed, 22 Jun 2011 22:48:14 +0100 (BST) Original-Received: from neil-laptop.ossau.uklinux.net (unknown [192.168.11.10]) by arudy (Postfix) with ESMTP id E2B083801E; Wed, 22 Jun 2011 22:48:08 +0100 (BST) In-Reply-To: (Ian Price's message of "Sun, 19 Jun 2011 22:27:49 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 80.84.72.33 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:12586 Archived-At: Ian Price writes: > Hello guilers, > > 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") > " > "scheme@(guile-user)> > > Now, I can see why this would be useful when printing multiple line > strings, but the inconsistency with e.g. "\t\f" irks me. What do the > rest of you think? 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'? Neil