This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
multistring.el
- To: mstachow at alum dot mit dot edu, "Greg J. Badros" <gjb at cs dot washington dot edu>
- Subject: multistring.el
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: Mon, 17 Jan 2000 04:51:27 +0100
- Cc: guile at sourceware dot cygnus dot com
- Reply-to: Mikael Djurfeldt <djurfeldt at nada dot kth dot se>
Sorry for being so late---I've had other stuff to work on during the
weekend.
Please test the code and comment upon its behaviour.
Load the file beneath, place yourself on a string to convert, then use
C-c d to pack a string and C-u C-c d to unpack it.
Before starting to convert all docstrings, I'd like us to decide how
to treat docstrings which has some amount of internal formatting.
E.g., how are we to indicate the following formatting to Guile:
"@example
(logtest j k) @equiv{} (not (zero? (logand j k)))
(logtest #b0100 #b1011) @result{} #f
(logtest #b0100 #b0111) @result{} #t
@end example"
The Emacs packing/unpacking of course only uses the information which
is provided in the string. E.g., packing gives:
"@example "
"(logtest j k) @equiv{} (not (zero? (logand j k)))\n"
"(logtest #b0100 #b1011) @result{} #f "
"(logtest #b0100 #b0111) @result{} #t "
"@end example"
Note how formatting information has been lost here...
/mdj
multistring.el