Hello, I'm using cvs slime and sbcl 0.9.16 (same problem on sbcl 0.9.13) on mac os x/ppc. Every time I edit an .asd-file the swank server disconnects with the following message
";; swank:close-connection: end of file on #<SB-SYS:FD-STREAM for "a constant string" {11732F19}>"
Is there a way to fix this? Is this behaviour normal?
Thank you, Rüdiger
+ Rüdiger Sonderfeld kingruedi@c-plusplus.de:
| I'm using cvs slime and sbcl 0.9.16 (same problem on sbcl 0.9.13) on | mac os x/ppc. Every time I edit an .asd-file the swank server | disconnects with the following message | | ";; swank:close-connection: end of file on #<SB-SYS:FD-STREAM for "a | constant string" {11732F19}>" | | Is there a way to fix this? Is this behaviour normal?
It is certainly not normal. I don't see this, running the same software on the same platform. Does it happen when you open the asd file, or when you actually perform an edit on the open file? If the latter, does it happen no matter what you do to the file, for example modifying a comment, or does it happen while changing code? Recall that changing code may cause communication with the sbcl, in order to inquire about function arguments et cetera. I guess even opening a file with an (in-package :foo) will cause communication with the sbcl concerning the existence of a package named foo. So there is plenty of stuff that could go wrong. Maybe you can find a clue in the *slime-events* buffer after things broke.
- Harald
Am 11.09.2006 um 00:14 schrieb Harald Hanche-Olsen:
It is certainly not normal. I don't see this, running the same software on the same platform. Does it happen when you open the asd file, or when you actually perform an edit on the open file? If the latter, does it happen no matter what you do to the file, for example modifying a comment, or does it happen while changing code?
It only happens when I start modifying the file regardless of editing code or comments.
Recall that changing code may cause communication with the sbcl, in order to inquire about function arguments et cetera. I guess even opening a file with an (in-package :foo) will cause communication with the sbcl concerning the existence of a package named foo.
There is communication going on between sbcl/swank and slime.
So there is plenty of stuff that could go wrong. Maybe you can find a clue in the *slime-events* buffer after things broke.
The following message is printed to *slime-events*
(:emacs-rex (swank:buffer-first-change "/Users/king/develop/myprojects/xmls-path/ xmls-path.asd") ":xmls-path-system" t 263)
and swank writes the following in the SBCL instance I'm running
;; swank:close-connection: end of file on #<SB-SYS:FD-STREAM for "a constant string" {11BADDB9}>
I have no idea why this happen.
Regards, Rüdiger
Is there any setting in slime that will cause it to write more information (e.g., the backtrace, etc...) on an error? If there is, it might help here; if there isn't, maybe someone with magical slime powers (unfortunately, that's not me! <smile>) should create one.
On Sep 10, 2006, at 7:27 PM, Rüdiger Sonderfeld wrote:
Am 11.09.2006 um 00:14 schrieb Harald Hanche-Olsen:
It is certainly not normal. I don't see this, running the same software on the same platform. Does it happen when you open the asd file, or when you actually perform an edit on the open file? If the latter, does it happen no matter what you do to the file, for example modifying a comment, or does it happen while changing code?
It only happens when I start modifying the file regardless of editing code or comments.
Recall that changing code may cause communication with the sbcl, in order to inquire about function arguments et cetera. I guess even opening a file with an (in-package :foo) will cause communication with the sbcl concerning the existence of a package named foo.
There is communication going on between sbcl/swank and slime.
So there is plenty of stuff that could go wrong. Maybe you can find a clue in the *slime-events* buffer after things broke.
The following message is printed to *slime-events*
(:emacs-rex (swank:buffer-first-change "/Users/king/develop/myprojects/xmls- path/xmls-path.asd") ":xmls-path-system" t 263)
and swank writes the following in the SBCL instance I'm running
;; swank:close-connection: end of file on #<SB-SYS:FD-STREAM for "a constant string" {11BADDB9}>
I have no idea why this happen.
Regards, Rüdiger_______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
-- Gary Warren King, metabang.com (413) 885 9127, gwkkwg on Skype
On Sun, 10 Sep 2006 22:51:29 +0200, Rüdiger Sonderfeld wrote:
Hello, I'm using cvs slime and sbcl 0.9.16 (same problem on sbcl 0.9.13) on mac os x/ppc. Every time I edit an .asd-file the swank server disconnects with the following message
";; swank:close-connection: end of file on #<SB-SYS:FD-STREAM for "a constant string" {11732F19}>"
Is there a way to fix this? Is this behaviour normal?
No.
Just a shot into the dark: asdf-Files often contain author names and those sometimes have strange characters ... like U-umlaut in 'Rüdiger'. Are your shure your set up the slime encoding style matching your LISPs prefered encoding (setq slime-net-coding-system 'utf-8-unix) ?
HTH Ralf Mattes
Thank you, Rüdiger
Am 11.09.2006 um 01:54 schrieb Ralf Mattes:
On Sun, 10 Sep 2006 22:51:29 +0200, Rüdiger Sonderfeld wrote: Just a shot into the dark: asdf-Files often contain author names and those sometimes have strange characters ... like U-umlaut in 'Rüdiger'. Are your shure your set up the slime encoding style matching your LISPs prefered encoding (setq slime-net-coding-system 'utf-8-unix) ?
The problem is the U-umlaut. I checked it with a lisp-file containing just the line "; Ü".
But the strange thing is that slime-net-coding-system is set to utf-8- unix. May be there are conflicts with the variables (from my .emacs)
(setq locale-coding-system 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) (set-selection-coding-system 'utf-8) (prefer-coding-system 'utf-8)
or could there be a problem with sbcl (and the terminal emulation I'm running it on)?
Regards, Rüdiger
Rüdiger Sonderfeld kingruedi@c-plusplus.de writes:
or could there be a problem with sbcl (and the terminal emulation I'm running it on)?
What does (db-impl::default-external-format) return when running under Slime?
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs."
Nikodemus Siivola nikodemus@random-state.net writes:
Rüdiger Sonderfeld kingruedi@c-plusplus.de writes:
or could there be a problem with sbcl (and the terminal emulation I'm running it on)?
What does (db-impl::default-external-format) return when running under Slime?
*cough* sb-impl, of course, not db-impl.
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs."
Am 12.09.2006 um 11:06 schrieb Nikodemus Siivola:
Nikodemus Siivola nikodemus@random-state.net writes:
Rüdiger Sonderfeld kingruedi@c-plusplus.de writes:
or could there be a problem with sbcl (and the terminal emulation I'm running it on)?
What does (db-impl::default-external-format) return when running under Slime?
*cough* sb-impl, of course, not db-impl.
(sb-impl::default-external-format) => :UTF-8
( ESC : slime-net-coding-system returns utf-8-unix so it seems to be set correctly)
Regards, Rüdiger
Rüdiger Sonderfeld kingruedi@c-plusplus.de writes:
(sb-impl::default-external-format) => :UTF-8
( ESC : slime-net-coding-system returns utf-8-unix so it seems to be set correctly)
Can you post a .asd that causes this to happen?
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs."
Am 13.09.2006 um 06:37 schrieb Nikodemus Siivola:
Rüdiger Sonderfeld kingruedi@c-plusplus.de writes:
(sb-impl::default-external-format) => :UTF-8
( ESC : slime-net-coding-system returns utf-8-unix so it seems to be set correctly)
Can you post a .asd that causes this to happen?
I attatched a simple .lisp file that causes this to happen.
(I'm using Carbon GNU/Emacs 22.0.50.1 http://homepage.mac.com/ zenitani/emacs-e.html)
Rüdiger Sonderfeld kingruedi@c-plusplus.de writes:
I'm using cvs slime and sbcl 0.9.16 (same problem on sbcl 0.9.13) on mac os x/ppc. Every time I edit an .asd-file the swank server disconnects with the following message
Can you post an example .asd which causes this to happen?
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs."