This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

multistring.el


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]