You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The culprit seems to be that swank/source-path-parser:source-path-file-position and swank/source-path-parser:source-path-string-position etc call guess-reader-state, which will return a standard read table for literate-lisp's org file streams. Testing for file type doesn't always work because sometime we just have a string input stream rather than file stream.
My current workaround is to add this in my .asd file
Sure, just to make sure we are on the same page, are you using SLIME? I encounter this issue when I M-x slime-load-system some-project that trigger some compilation note. A minimal example:
# -*- Mode: POLY-ORG ;-*- ---
#+begin_src lisp
(defun x ())
(defun x ())
#+end_src
This generates a illegal sharp macro character: #\ error when M-x slime-load-system. If the second defun is removed then the error does not occur (because it now does not generate compiler notes).
The culprit seems to be that
swank/source-path-parser:source-path-file-position
andswank/source-path-parser:source-path-string-position
etc callguess-reader-state
, which will return a standard read table for literate-lisp's org file streams. Testing for file type doesn't always work because sometime we just have a string input stream rather than file stream.My current workaround is to add this in my
.asd
fileI think this could be made portable.
sb-int:encapsulate
is non-portable but it's just for advicingguess-reader-state
. What do you think?The text was updated successfully, but these errors were encountered: