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: Ian Price <ianprice90@googlemail.com>, guile-devel@gnu.org
Subject: Re: WRITE & linefeed
Date: Sun, 04 Dec 2011 22:37:33 +0100	[thread overview]
Message-ID: <87liqs9fxe.fsf@pobox.com> (raw)
In-Reply-To: <87fwn1r0xo.fsf@neil-laptop.ossau.uklinux.net> (Neil Jerram's message of "Wed, 22 Jun 2011 22:49:55 +0100")

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/



      reply	other threads:[~2011-12-04 21:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-19 21:27 WRITE & linefeed Ian Price
2011-06-22 21:49 ` Neil Jerram
2011-12-04 21:37   ` 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=87liqs9fxe.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=guile-devel@gnu.org \
    --cc=ianprice90@googlemail.com \
    --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).