<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">How can I eliminate the "eval:X:0:" prefix from the error message shown in scribble examples for syntax errors, while still showing the terms that caused the error?<div><br></div><div>For example, if I put this in my scribble file:</div><div><br></div><div>&nbsp;&nbsp;@(examples (raise-syntax-error 'some-example "some message" #'x))</div><div><br></div><div>I get this in the output:</div><div><br></div><div>&nbsp;&nbsp;Example:</div><div><div>&nbsp;&nbsp; &nbsp;> (raise-syntax-error 'some-example "some message" #'x)</div><div>&nbsp;&nbsp; &nbsp;eval:1:0: some-example: some message in: x</div><div><br></div><div>If I create an evaluator and set the 'error-print-source-location' parameter to #f within the evaluator, the prefix goes away but so do the terms:</div><div><br></div><div><div>&nbsp;&nbsp;Example:</div><div>&nbsp;&nbsp; &nbsp;> (raise-syntax-error 'some-example "some message" #'x)</div><div>&nbsp;&nbsp; &nbsp;some-example: some message</div><div><br></div><div>Is there any way to get the following?</div><div><br></div><div><div>&nbsp;&nbsp;Example:</div><div>&nbsp;&nbsp; &nbsp;> (raise-syntax-error 'some-example "some message" #'x)</div><div>&nbsp;&nbsp; &nbsp;some-example: some message in: x</div><div><br></div><div>Ryan</div><div><br></div></div></div></div><div><span class="Apple-style-span" style="font-family: -webkit-serif; font-size: 16px; "></span></div></body></html>