I want to print a line in ielm. I do not want to print the printed view, I want the string itself. I need this result:
ELISP> (some-unknown-function "a\nb\n") a b ELISP>
I see no way to do this. The obvious functions are print and princ , but they give me a printed representation:
ELISP> (print "* first\n* second\n* third\n") "* first\n* second\n* third\n"
I played with pp and pp-escape-newlines , but they still come out of other characters:
ELISP> (setq pp-escape-newlines nil) nil ELISP> (pp "a\n") "\"a \""
Is it possible? To check for large strings, message does not cut it.
source share