-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
OS - Windows
Windows 11 Pro
Version 24H2
Installed on 12/5/2024
OS build 26100.4351
Experience Windows Feature Experience Pack 1000.26100.107.0
env
emacs: GNU Emacs 30.1 (build 2, x86_64-w64-mingw32) of 2025-02-24
sbcl : sbcl-2.5.6-x86-64-windows-binary
sly: sly-20250622-git
bug
after M-x sly sly keep polling...
[sly] Polling "c:/Users/pyoung/AppData/Local/Temp/sly.22732" .. 1 (Abort with `M-x sly-abort-connection'.)
[sly] Polling "c:/Users/pyoung/AppData/Local/Temp/sly.22732" .. 2 (Abort with `M-x sly-abort-connection'.)
[sly] Polling "c:/Users/pyoung/AppData/Local/Temp/sly.22732" .. 3 (Abort with `M-x sly-abort-connection'.)
[sly] Polling "c:/Users/pyoung/AppData/Local/Temp/sly.22732" .. 4 (Abort with `M-x sly-abort-connection'.)
[sly] Polling "c:/Users/pyoung/AppData/Local/Temp/sly.22732" .. 5 (Abort with `M-x sly-abort-connection'.)
...log
*trace-output*
======================================================================
1 -> (sly nil nil t)
1 <- sly: #<buffer *sly-started inferior-lisp for sbcl.exe*<2>>
*sly-started inferior-lisp for sbcl.exe*<2> *
(cond ((ignore-errors (funcall 'require "asdf") (funcall (read-from-string "asdf:version-satisfies") (funcall (read-from-string "asdf:asdf-version")) "2.019")) (push (pathname "c:/myHome/template-emacs.d/elpaca/builds/sly/slynk/") (symbol-value (read-from-string "asdf:*central-registry*"))) (funcall (read-from-string "asdf:load-system") :slynk) (funcall (read-from-string "slynk:start-server") "c:/Users/pyoung/AppData/Local/Temp/sly.22732")) (t (progn (load "c:/myHome/template-emacs.d/elpaca/builds/sly/slynk/slynk-loader.lisp" :verbose t) (funcall (read-from-string "slynk-loader:init")) (funcall (read-from-string "slynk:start-server") "c:/Users/pyoung/AppData/Local/Temp/sly.22732"))))
This is SBCL 2.5.6, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* STYLE-WARNING:
The new FTYPE proclamation for SLYNK-BACKEND:GETPID
(FUNCTION NIL (VALUES (SIGNED-BYTE 32) &OPTIONAL))
does not match the derived return type
(FUNCTION NIL *)
WARNING:
redefining EMACS-INSPECT (#<SB-PCL:SYSTEM-CLASS COMMON-LISP:T>) in DEFMETHOD
; compiling file "c:/myHome/template-emacs.d/elpaca/builds/sly/slynk/slynk.lisp" (written 07 JUL 2025 02:31:14 PM):
; file: c:/myHome/template-emacs.d/elpaca/builds/sly/slynk/slynk.lisp
; in: DEFUN CLOSE-CONNECTION%
; (FORMAT SLYNK:*LOG-OUTPUT* "~
; ;; Event history end.~%~
; ;; Backtrace:~%~{~A~%~}~
; ;; Connection to Emacs lost. [~%~
; ;; condition: ~A~%~
; ;; type: ~S~%~
; ;; style: ~S]~%"
; (LOOP SLYNK::FOR (SLYNK::I SLYNK::F) SLYNK::IN SLYNK::BACKTRACE
; SLYNK::COLLECT (IGNORE-ERRORS
; (FORMAT NIL "~d: ~a" SLYNK::I
; (SLYNK::ESCAPE-NON-ASCII SLYNK::F))))
; (SLYNK::ESCAPE-NON-ASCII (SLYNK::SAFE-CONDITION-MESSAGE CONDITION))
; (TYPE-OF CONDITION) (SLYNK::CONNECTION-COMMUNICATION-STYLE SLYNK::C))
;
; caught ERROR:
; during macroexpansion of
; (FORMATTER "~
; ;; Event history end.~%~
; ;; Backtrace:~%~{~A~%~}~
; ;; Connection to Emacs lost. [~%~
; ;; condition: ~A~%~
; ;; type: ~S~%~
; ;; style: ~S]~%").
; Use *BREAK-ON-SIGNALS* to intercept.
;
; error in FORMAT: Unknown directive (character: Return)
; ~
; ;; Event history end.~%~
; ;; Backtrace:~%~{~A~%~}~
; ;; Connection to Emacs lost. [~%~
; ;; condition: ~A~%~
; ;; type: ~S~%~
; ;; style: ~S]~%
; ^
;
; note: The second argument never returns a value.
; wrote C:/Users/pyoung/AppData/Local/cache/common-lisp/sbcl-2.5.6-win-x64/c/myHome/template-emacs.d/elpaca/builds/sly/slynk/slynk-tmpGHU3ALSV.fasl
; compilation finished in 0:00:00.642
debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread
#<THREAD tid=20464 "main thread" RUNNING {1103FA8143}>:
COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "slynk" "slynk">
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Retry
compiling #<CL-SOURCE-FILE "slynk" "slynk">.
1: [ACCEPT ] Continue, treating
compiling #<CL-SOURCE-FILE "slynk" "slynk">
as having been successful.
2: Retry ASDF operation.
3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
configuration.
4: Retry ASDF operation.
5: Retry ASDF operation after resetting the
configuration.
6: [ABORT ] Exit debugger, returning to top level.
(UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<ASDF/LISP-ACTION:CL-SOURCE-FILE "slynk" "slynk">)))
error finding frame source: Bogus form-number: the source file has probably
changed too much to cope with.
source: NIL
0] reason
-
SBCL does not handle CRLF well
- I used elpaca which using git to manage emacs packages.
- I used git's autocrlf true on windows machine so that my system triggered SBCL's CRLF bug.
- after change line feed sly works fine.
-
ref:
suggestion
Because of this error proved difficult to identify, How about to add .gitattribute on sly project to forcing eol to LF?
like that
*.lisp text eol=lf
*.asd text eol=lf
*.cl text eol=lfMetadata
Metadata
Assignees
Labels
No labels