GNU bug report logs - #13644
String read syntax should allow "\(" to mean "("

Previous Next

Package: guile;

Reported by: David Kastrup <dak <at> gnu.org>

Date: Thu, 7 Feb 2013 09:15:01 UTC

Severity: wishlist

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 13644 <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: David Kastrup <dak <at> gnu.org>
Cc: 13644 <at> debbugs.gnu.org
Subject: Re: bug#13644: String read syntax should allow "\(" to mean "("
Date: Sat, 09 Mar 2013 09:54:55 +0100
On Thu 07 Feb 2013 10:12, David Kastrup <dak <at> 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/




This bug report was last modified 10 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.