Alan Ruttenberg alanr-l@mumble.net writes:
If backtrace (in openmcl, at least), if you have a string argument that has a linefeed then then the linefeed messes up the display of the backtrace. Ideally I think it would be nice to replace the linefeeds with a special glyph (which I don't know how to do), but failing that I'm inclined to replace them with the string <<lf>> or \n or somesuch. Is anyone else bothered by this problem and/or have a better solution?
In Emacs 21 it's probably possible to use the 'display' text-property for this. I think it's possible to display an image instead of the text, but I don't know the details. Another possibility is Luke's pretty-lambda[*] hack.
The string-replacement approach is probably less work and also works in other Emacsen.
[*] http://emacswiki.wikiwikiweb.de/cgi-bin/wiki.pl/PrettyLambda