unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: David Kastrup <dak@gnu.org>
Cc: 13644@debbugs.gnu.org
Subject: bug#13644: String read syntax should allow "\(" to mean "("
Date: Sat, 09 Mar 2013 09:54:55 +0100	[thread overview]
Message-ID: <87k3ph3qcg.fsf@pobox.com> (raw)
In-Reply-To: <87r4kslc6z.fsf@fencepost.gnu.org> (David Kastrup's message of "Thu, 07 Feb 2013 10:12:36 +0100")

On Thu 07 Feb 2013 10:12, David Kastrup <dak@gnu.org> writes:

> Rationale: GUILE already supports a number of escapes not defined in the
> Scheme standard.  Emacs Lisp modes and derivative modes treat opening
> parens in the first column of a file specially, resynchronizing function
> boundaries.  The respective manual entry states:
>
> <URL:http://www.gnu.org/software/emacs/manual/html_node/emacs/Left-Margin-Paren.html>
>
> Being able to escape opening parens makes it possible to write
> Emacs-friendly Guile code.

It's not a bad idea.  I'm hesitant to add new string syntax, though, and
would appreciate input from other people before going ahead with this.

You can of course work around this with hex escapes, though that is not
very readable.

Andy
-- 
http://wingolog.org/





  reply	other threads:[~2013-03-09  8:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07  9:12 bug#13644: String read syntax should allow "\(" to mean "(" David Kastrup
2013-03-09  8:54 ` Andy Wingo [this message]
2013-03-09 10:12   ` David Kastrup
2014-10-02  1:05 ` Mark H Weaver

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=87k3ph3qcg.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=13644@debbugs.gnu.org \
    --cc=dak@gnu.org \
    /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).