[lug] XEmacs quoting madness!

Tom Tromey tromey at redhat.com
Mon Aug 20 12:34:15 MDT 2001


>>>>> "Chris" == Chris Riddoch <socket at peakpeak.com> writes:

Chris> "Can\\'t" gives me "Can\\'t", as I really *didn't* expect.

You're being confused by the lisp printer.
I tried this in *scratch*:

    (length "can\\'t")
    6

The lisp printer will print a string in its quoted form.  So the
string consisting of a single backslash will be printed as:

    "\\"

Tom



More information about the LUG mailing list