Artem Baguinski artm@v2.nl writes:
plus this *Compile-Log* buffer flushed for a split second. I understand that warning is something to expect in a alpha version of the software, but i still suspect i'm doing something wrong... e.g. compiling slime every time i (require) it. could that be helped?
We byte-compile some performance critical functions at load time, this is why you see the warnings every time.
I don't see the warnings, tough. Neither in CVS Emacs nor in Emacs 20. Could you find out which functions cause the warnings? Just byte-compile the file and press RET in the *Compile-Log* buffer over the warning.
Helmut.
"Helmut" == Helmut Eller e9626484@stud3.tuwien.ac.at writes:
Helmut> Artem Baguinski artm@v2.nl writes: >> plus this *Compile-Log* buffer flushed for a split second. I >> understand that warning is something to expect in a alpha >> version of the software, but i still suspect i'm doing >> something wrong... e.g. compiling slime every time i (require) >> it. could that be helped?
Helmut> We byte-compile some performance critical functions at Helmut> load time, this is why you see the warnings every time.
Helmut> I don't see the warnings, tough. Neither in CVS Emacs nor Helmut> in Emacs 20. Could you find out which functions cause the Helmut> warnings? Just byte-compile the file and press RET in the Helmut> *Compile-Log* buffer over the warning.
hmm... if i understood the instructions correctly, here's the log, it gives more warnings...
------------------------------------------------------------------------------- Compiling file /usr/src/lisp/slime/slime.el at Wed Apr 21 11:56:22 2004 Entering directory `/usr/src/lisp/slime/'
In slime-setup-command-hooks: slime.el:627:4:Warning: make-local-hook is an obsolete function since 21.1; not necessary any more. slime.el:628:14:Warning: make-local-hook is an obsolete function since 21.1; not necessary any more.
In destructure-case: slime.el:664:20:Warning: Function `gensym' from cl package called at runtime slime.el:665:15:Warning: Function `gensym' from cl package called at runtime slime.el:665:15:Warning: Function `gensym' from cl package called at runtime
In slime-with-output-to-temp-buffer: slime.el:909:18:Warning: Function `gensym' from cl package called at runtime
In slime-propertize-region: slime.el:979:17:Warning: Function `gensym' from cl package called at runtime
In slime-next-connection: slime.el:1411:20:Warning: Function `position' from cl package called at runtime
In slime-find-connection-by-name: slime.el:1427:32:Warning: Function `find' from cl package called at runtime slime.el:1474:27:Warning: Function `gensym' from cl package called at runtime slime.el:1478:27:Warning: Function `gensym' from cl package called at runtime slime.el:1483:27:Warning: Function `gensym' from cl package called at runtime slime.el:1486:27:Warning: Function `gensym' from cl package called at runtime slime.el:1489:27:Warning: Function `gensym' from cl package called at runtime slime.el:1492:27:Warning: Function `gensym' from cl package called at runtime slime.el:1495:27:Warning: Function `gensym' from cl package called at runtime
In slime-generate-connection-name: slime.el:1593:58:Warning: Function `find' from cl package called at runtime
In slime-rex: slime.el:1701:18:Warning: Function `gensym' from cl package called at runtime
In slime-eval: slime.el:1719:16:Warning: Function `gensym' from cl package called at runtime
In slime-sync: slime.el:1759:55:Warning: Function `find' from cl package called at runtime
In slime-xrefs-for-notes: slime.el:2567:35:Warning: Function `getf' from cl package called at runtime slime.el:2572:40:Warning: Function `getf' from cl package called at runtime slime.el:2573:60:Warning: Function `getf' from cl package called at runtime
In slime-merge-notes: slime.el:2644:39:Warning: Function `reduce' from cl package called at runtime slime.el:2646:33:Warning: Function `copy-list' from cl package called at runtime slime.el:2647:28:Warning: Function `cl-set-getf' from cl package called at runtime slime.el:2648:28:Warning: Function `cl-set-getf' from cl package called at runtime
In slime-intersperse: slime.el:2656:50:Warning: Function `mapcan' from cl package called at runtime
In slime-maybe-list-compiler-notes: slime.el:2693:64:Warning: Function `find' from cl package called at runtime
In slime-list-compiler-notes: slime.el:2711:13:Warning: assignment to free variable slime-compiler-notes-saved-window-configuration
In slime-alistify: slime.el:2722:43:Warning: Function `assoc*' from cl package called at runtime
In slime-compiler-notes-quit: slime.el:2780:17:Warning: reference to free variable slime-compiler-notes-saved-window-configuration
In slime-compiler-notes-show-details: slime.el:2790:31:Warning: `error' called with 1 args to fill 0 format field(s)
In with-struct: slime.el:2803:24:Warning: Function `gensym' from cl package called at runtime
In slime-tree.item: slime.el:2818:48:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree.print-fn: slime.el:2816:13:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree.kids: slime.el:2816:13:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree.collapsed-p: slime.el:2816:13:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree.prefix: slime.el:2816:13:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree.start-mark: slime.el:2816:13:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree.end-mark: slime.el:2816:13:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree.plist: slime.el:2816:13:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2824:4:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2824:4:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2824:4:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2824:4:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2824:4:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2824:4:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2824:4:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2824:4:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree-leaf-p: slime.el:2827:25:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree-default-printer: slime.el:2830:27:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree-decoration: slime.el:2834:34:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree-insert: slime.el:2869:28:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2867:8:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2868:8:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2870:8:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2871:14:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2871:24:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2873:10:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2874:38:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2874:38:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree-delete: slime.el:2884:39:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2884:39:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-tree-toggle: slime.el:2890:24:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2889:24:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2893:6:Warning: `error' called with 1 args to fill 0 format field(s) slime.el:2895:6:Warning: `error' called with 1 args to fill 0 format field(s)
In slime-choose-overlay-region: slime.el:2951:30:Warning: Function `getf' from cl package called at runtime
In slime-most-severe: slime.el:2982:28:Warning: Function `position' from cl package called at runtime slime.el:2984:7:Warning: Function `position' from cl package called at runtime
In slime-point-moves-p: slime.el:3081:20:Warning: Function `gensym' from cl package called at runtime
In slime-eval-feature-conditional: slime.el:3130:62:Warning: Function `member*' from cl package called at runtime
In slime-note-at-point: slime.el:3187:15:Warning: Function `find' from cl package called at runtime
In slime-note-overlays-at-point: slime.el:3195:54:Warning: Function `remove-if-not' from cl package called at runtime
In slime-complete-delay-restoration: slime.el:3432:4:Warning: make-local-hook is an obsolete function since 21.1; not necessary any more.
In slime-complete-maybe-restore-window-confguration: slime.el:3456:20:Warning: Function `find' from cl package called at runtime
In slime-complete-symbol*: slime.el:3509:43:Warning: Function `mismatch' from cl package called at runtime
In slime-display-completion-list: slime.el:3518:30:Warning: reference to free variable completion-set
In slime-ed: slime.el:3742:31:Warning: new-frame is an obsolete function since 21.4; use make-frame instead.
In slime-xref-buffer: slime.el:4168:17:Warning: Function `find-if' from cl package called at runtime
In slime-with-xref-buffer: slime.el:4191:15:Warning: Function `gensym' from cl package called at runtime slime.el:4191:15:Warning: Function `gensym' from cl package called at runtime
In in-sldb-face: slime.el:4432:15:Warning: Function `gensym' from cl package called at runtime
In slime-selector: slime.el:5318:57:Warning: Function `find' from cl package called at runtime slime.el:5351:4:Warning: Function `remove*' from cl package called at runtime slime.el:5351:4:Warning: Function `sort*' from cl package called at runtime slime.el:5355:4:Warning: Function `remove*' from cl package called at runtime slime.el:5355:4:Warning: Function `sort*' from cl package called at runtime slime.el:5359:4:Warning: Function `remove*' from cl package called at runtime slime.el:5359:4:Warning: Function `sort*' from cl package called at runtime slime.el:5360:1:Warning: Function `remove*' from cl package called at runtime slime.el:5360:1:Warning: Function `sort*' from cl package called at runtime slime.el:5364:1:Warning: Function `remove*' from cl package called at runtime slime.el:5364:1:Warning: Function `sort*' from cl package called at runtime slime.el:5371:35:Warning: Function `remove*' from cl package called at runtime slime.el:5371:35:Warning: Function `sort*' from cl package called at runtime slime.el:5376:6:Warning: Function `remove*' from cl package called at runtime slime.el:5376:6:Warning: Function `sort*' from cl package called at runtime slime.el:5381:35:Warning: Function `remove*' from cl package called at runtime slime.el:5381:35:Warning: Function `sort*' from cl package called at runtime slime.el:5385:4:Warning: Function `remove*' from cl package called at runtime slime.el:5385:4:Warning: Function `sort*' from cl package called at runtime slime.el:5390:4:Warning: Function `remove*' from cl package called at runtime slime.el:5390:4:Warning: Function `sort*' from cl package called at runtime
In slime-check: slime.el:5722:22:Warning: Function `gensym' from cl package called at runtime
In slime-repl-compile-and-load: slime.el:5900:56:Warning: reference to free variable file.lisp slime.el:5887:4:Warning: reference to free variable file.lisp slime.el:5993:17:Warning: Function `remove*' from cl package called at runtime slime.el:6019:17:Warning: Function `remove*' from cl package called at runtime slime.el:6062:41:Warning: Function `remove*' from cl package called at runtime slime.el:6065:17:Warning: Function `remove*' from cl package called at runtime slime.el:6101:17:Warning: Function `remove*' from cl package called at runtime slime.el:6132:17:Warning: Function `remove*' from cl package called at runtime slime.el:6147:17:Warning: Function `remove*' from cl package called at runtime slime.el:6168:17:Warning: Function `remove*' from cl package called at runtime slime.el:6184:17:Warning: Function `remove*' from cl package called at runtime slime.el:6204:17:Warning: Function `remove*' from cl package called at runtime slime.el:6222:17:Warning: Function `remove*' from cl package called at runtime slime.el:6267:17:Warning: Function `remove*' from cl package called at runtime slime.el:6298:17:Warning: Function `remove*' from cl package called at runtime
In end of data: slime.el:6568:1:Warning: the function `slime-find-connection-by-type-name' is not known to be defined. -------------------------------------------------------------------------------
Artem Baguinski artm@v2.nl writes:
hmm... if i understood the instructions correctly, here's the log, it gives more warnings...
[snip]
In slime-tree.item: slime.el:2818:48:Warning: `error' called with 1 args to fill 0 format field(s)
Aha, this warnings are produced by struct slot-accessors. Apparently a bug in the defstruct macro, that has been fixed in recent CVS versions of Emacs.
We bind now byte-compile-warnings not nil before compiling, this should suppress all compiler warnings.
I got some strange warnings about byte-compile-warnings being, when I loaded gnus. I hope this is unrelated to SLIME.
Helmut.
"Helmut" == Helmut Eller e9626484@stud3.tuwien.ac.at writes:
Helmut> Artem Baguinski artm@v2.nl writes: >> hmm... if i understood the instructions correctly, here's the >> log, it gives more warnings... Helmut> [snip] >> In slime-tree.item: slime.el:2818:48:Warning: `error' called >> with 1 args to fill 0 format field(s)
Helmut> Aha, this warnings are produced by struct slot-accessors. Helmut> Apparently a bug in the defstruct macro, that has been Helmut> fixed in recent CVS versions of Emacs.
upgrading emacs helped. plus i see some new exciting emacs features ;-)