APPROVE COMMIT
NOTE: This patch has been committed.
man/ChangeLog addition:
2007-11-14  Aidan Kehoe  <kehoea(a)parhasard.net>
	* lispref/objects.texi (String Type):
	Describe how one can include a trailing backslash in a raw string,
	by means of the Unicode escape syntax. 
XEmacs Trunk source patch:
Diff command:   cvs -q diff -Nu
Files affected: man/lispref/objects.texi
===================================================================
RCS
Index: man/lispref/objects.texi
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/man/lispref/objects.texi,v
retrieving revision 1.9
diff -u -u -r1.9 objects.texi
--- man/lispref/objects.texi	2006/08/04 22:55:10	1.9
+++ man/lispref/objects.texi	2007/11/14 18:17:54
@@ -1084,10 +1084,13 @@
 a string, each character following a backslash is included literally in
 the string, and all backslashes are left in the string.  This means that
 @code{#r"\""} is a valid string literal with two characters, a backslash
and a
-double-quote.  It also means that a string  with this syntax @emph{cannot end
-in a single backslash}.  As with Python, from where this syntax was
+double-quote.  It also means that a string  with this syntax cannot end
+in a single backslash.  As with Python, from where this syntax was
 taken, you can specify @code{u} or @code{U} after the @code{#r} to
-specify that interpretation of Unicode escapes should be done. 
+specify that interpretation of Unicode escapes should be
+done---@pxref{Character Type}---and if you use @code{#ru} for your raw
+strings, the restriction on the trailing backslash can be worked around
+like so: @code{#ru"Backslash: \u005C"}.
 
   The newline character is not special in the read syntax for strings;
 if you write a new line between the double-quotes, it becomes a
-- 
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches