This project is mirrored from https://gitee.com/mirrors/slime.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 16 Sep, 2014 1 commit
-
-
João Távora authored
-
- 13 Sep, 2014 1 commit
-
-
João Távora authored
-
- 12 Sep, 2014 1 commit
-
-
João Távora authored
This is the original commentary: "Cleaned up and simplified. I think most of functionality was perserved. There was a "multiline cache" feature which I was not able to understand--despite my best efforts. So I deleted that." (cherry picked from SLIME commit 930f3648) Conflicts: contrib/ChangeLog contrib/slime-autodoc.el contrib/test/sly-autodoc-tests.el
-
- 10 Sep, 2014 1 commit
-
-
João Távora authored
-
- 06 Sep, 2014 1 commit
-
-
João Távora authored
* sly-autodoc.el (eldoc-display-message-no-interference-p): Always activate eldoc defadvice hack. Closes SLIME issue 185.
-
- 23 Aug, 2014 1 commit
-
-
João Távora authored
* sly.el (sly-buffer-name): New implementation. (sly-compose): New function. (sly-process-available-input, sly-net-send): Pass process to `sly-log-event' (sly-handle-net-read-error): Pass process to `sly-buffer-name' (sly-set-connection-info): Commit the final events buffer name here. (sly-dispatch-event): Pass connection to `sly-buffer-name' (sly-log-event): Pass process to `sly-events-buffer' (sly-events-buffer): Store the buffer as a process property. (sly-list-threads, sly-with-xref-buffer, sly-show-apropos): Pass connection to `sly-buffer-name' (sldb-get-buffer): Use `sly-buffer-name' (sly-update-threads-buffer): Takes new arg `buffer' (sly--display-threads): Renamed from `sly-display-threads' (sly-inspector-buffer): Pass connectino to `sly-buffer-name' (sly-open-inspector): No need to set `sly-buffer-connection' here * contrib/sly-autodoc.el (sly-autodoc--fontify-string): Adapt to new `sly-buffer-name' * contrib/sly-mrepl.el (sly-mrepl--buffer-name): Use `sly-buffer-name' (sly-mrepl--find-buffer): Find shortest named REPL. (sly-mrepl): Pass connection to `sly-mrepl--find-create' (sly-mrepl-pop-to-mrepl): No need to call `pop-to-buffer' (sly-mrepl-new): Take `connection' and `handle' args. Prompt user for REPL nickname. * contrib/sly-trace-dialog.el (sly-trace-dialog--buffer-name): Use `sly-buffer-name' * lib/sly-tests.el (sly-inspector-visible-p): Pass connection to `sly-buffer-name'
-
- 20 Aug, 2014 1 commit
-
-
João Távora authored
* contrib/sly-autodoc.el (sly-autodoc): Check for live connection. * contrib/sly-mrepl.el (sly-mrepl-inside-string-or-comment-p): Check for live mrepl process.
-
- 19 Aug, 2014 1 commit
-
-
João Távora authored
* sly.el (sly-modeline-string): Removed. (sly-mode-line): New face (sly-mode-line-format): New variable (sly--mode-line-format): New function (sly-modeline-state-string): Removed. (sly-cycle-connections): Handle more cases. (sly-dispatch-event): Update modeline more often. (sly-selector-methods, sly-selector-other-window, sly-selector) (def-sly-selector-method, etc): get rid of sly-selector. * contrib/sly-autodoc.el (sly-autodoc-mode): Don't clutter modeline with "Autodoc" * contrib/sly-mrepl.el (sly-mrepl-mode): Don't clutter modeline with dummy process status. (def-sly-selector-method ?m): Removed. * contrib/sly-scratch.el (sly-scratch): No :on-load section. * doc/slime.texi (Top): Remove `sly-selector' node. (Key bindings): Come up with another example. (sly-selector): Delete. (Multiple connections): Don't mention `sly-selector'
-
- 18 Aug, 2014 1 commit
-
-
João Távora authored
Other uses of the minibuffer always prefix the message with "[sly]" * sly.el (sly-message): Redone. (sly-message-function, sly-background-message-function) (sly-background-message): Removed. (sly-error): New function.
-
- 08 Aug, 2014 1 commit
-
-
João Távora authored
* contrib/sly-autodoc.el (sly-autodoc-inhibit-autodoc): New variable. (sly-autodoc): Inhibit according to `sly-autoloads-inhibit-autodoc' variable. * contrib/sly-mrepl.el (sly-mrepl-mode): Set `sly-autodoc-inhibit-autodoc' to `sly-mrepl-inside-string-or-comment-p' (sly-mrepl-inside-string-or-comment-p): New function.
-
- 27 Jun, 2014 1 commit
-
-
João Távora authored
* contrib/sly-autodoc.el (sly-autodoc): Hook only sly-mrepl, not sly-repl. (sly-autodoc): silently ignore unavailable docstring
-
- 06 Jun, 2014 1 commit
-
-
João Távora authored
* contrib/sly-autodoc.el (sly-autodoc-arglist, sly-autodoc): Slightly more robust autodoc protocol. * contrib/swank-arglists.lisp (autodoc): Explicitly signal errors in return value.
-
- 02 Jun, 2014 1 commit
-
-
João Távora authored
Apropos correctly sets package. More uniform use of sly-mode for enabling sly-trace-dialog and sly-autodoc. Make swank-loader operational again. * sly.el (sly-popup-buffer-mode): Implies `sly-mode' (sly-apropos): Fix bug, pass "buffer-package" to `sly-apropos-summary'. (sly-xref-mode): Don't disable `sly-mode'. (sly-create-macroexpansion-buffer): No need to turn on `sly-mode' here. (define-sly-contrib): Fix merge blunder. * swank-loader.lisp (init): Accept LOAD-CONTRIBS kwarg, but warn. * contrib/sly-autodoc.el (sly-autodoc): Use autodoc only in `sly-editing-mode and `sly-repl-mode'. * contrib/sly-trace-dialog.el (sly-trace-dialog): Simplify turn-on logic. (sly-trace-dialog-shortcut-mode-map): Renamed from misleading `sly-trace-dialog-minor-mode'.
-
- 13 Mar, 2014 1 commit
-
-
Joao Tavora authored
The simple arglists version on the sly.el side was removed. The SWANK interface stays, for backward/SLIME compatibility and for whoever wants to use it. * sly.el (sly-space, sly-echo-arglist-function, sly-echo-arglist) (sly-show-arglist, sly-operator-before-point-function) (sly-operator-before-point, sly-lisp-operator-before-point): Removed. * contrib/sly-autodoc.el: set lexical-binding to t. (sly-autodoc): Use just `sly-autodoc-mode' (sly-use-autodoc-mode): Remove this defcustom. (sly-autodoc--make-rpc-form, sly-autodoc--last-buffer-form) (sly-autodoc--last-autodoc, sly-autodoc--format): Rename. (sly-autodoc-mode): Use `define-minor-mode (sly-autodoc-maybe-enable): Removed. (eldoc-display-message-no-interference-p): `sly-bind-keys' call was kinda gross.
-
- 10 Mar, 2014 1 commit
-
-
Joao Tavora authored
-
- 02 Mar, 2014 1 commit
-
-
Joao Tavora authored
* slime-tests.el (require): Add necessary require statements to avoid warnings. Don't use xemacs compatibility layer. * slime.el (slime-require): Move up to avoid byte-compiler warning. (slime-setup, slime--setup-contribs): Use `slime-contribs' directly. (sldb-in-face): Renamed from `in-sldb-face'. Rename in users. * lib/hyperspec.el: Require `cl-lib' instead of `cl'. The contrib's Makefile now works as the top-level Makefile, byte-compiling files separately, uncovering errors when trying to byte-compile files in isolation. Fixed almost all such problems in contrib's el files and remove uses of the "xemacs compability layer", in preparation of its removal. For most files this amounted to moving some definitions around, requiring the needed libs at the top, and prefixing cl-lib functions with "cl". `cl' is required at compile-time only for macros which aren't found in cl-lib. In slime.el, slime-tests.el and lib/hyperspec.el a few tweaks also removed the last few warnings. * contrib/Makefile (%.elc): Do as in root-makefile and compile each el file separately. This reveals more warnings. * contrib/bridge.el (bridge-insert-function): new variable to solve redefinition hack in contrib/slime-presentations.el (bridge-insert): use it. * contrib/slime-asdf.el (slime-open-system): Don't use `called-interactive-p'. * contrib/slime-autodoc.el (slime-autodoc-maybe-enable): move to solve compilation warnings. (slime-autodoc-mode): Replace `interactive-p' call with new `interactive' arg. * contrib/slime-cl-indent.el (require): Require needed libraries, including `slime'. (common-lisp-active-style): use proper defvar. (common-lisp-current-package-function): Make it a variable, which is how it's used. (common-lisp-run-indentation-tests): Use `insert-file-contents'. (slime-cl-indent): provide `slime-cl-indent' as well as `cl-indent' * contrib/slime-clipboard.el (slime-clipboard-display-entries): Don't use :mode arg to `slime-with-popup-buffer'. (slime-clipboard-redisplay): Don't use `slime-save-coordinates' as that's probably going away, use simpler approach. * contrib/slime-compiler-notes-tree.el (slime-list-compiler-notes): Don't pass :mode to `slime-with-popup-buffer' * contrib/slime-enclosing-context.el (slime-enclosing-context): Explain why contrib doesn't work. * contrib/slime-fontifying-fu.el (slime-beginning-of-tlf): Simplify, conditional definition not needed. * contrib/slime-indentation.el (slime-indentation): Correct description. * contrib/slime-presentations.el (slime-presentation-on-stream-open): Use `bridge-insert-function'. * contrib/slime-typeout-frame.el (slime-typeout-autodoc-message): Don't set inexistent `slime-autodoc-last-message' var.
-
- 21 Feb, 2014 1 commit
-
-
Joao Tavora authored
Tests are stored separately. * Makefile (contrib-check-% check-%): Restore the check-<contrib> target. * .travis.yml (env): Use it. * slime-tests.el (defun): Adapt to new contrib-tests location. (readme-recipe, traditional-recipe): Don't use ert macros in recipe tests, since ert might not be loaded. * slime.el (slime-contrib-dependencies): New function. * contrib/Makefile: Fix whitespace. (check-%): Look for tests under /contrib/tests. Explicitly require all needed test libs. * contrib/inferior-slime.el: cleanup whitespace. * contrib/slime-repl.el: Split off tests. Don't use `eval-and-compile' * contrib/slime-presentations.el: Idem. * contrib/slime-parse.el: Idem. * contrib/slime-mdot-fu.el: Idem. * contrib/slime-fontifying-fu.el: Idem. * contrib/slime-enclosing-context.el: Idem. * contrib/slime-c-p-c.el: Idem. * contrib/slime-autodoc.el: Idem. * test/slime-presentations-tests.el: New file. * contrib/test/slime-parse-tests.el: New file. * contrib/test/slime-mdot-fu-tests.el: New file. * contrib/test/slime-fontifying-fu-tests.el: New file. * contrib/test/slime-enclosing-context-tests.el: New file. * contrib/test/slime-c-p-c-tests.el: New file. * contrib/test/slime-autodoc-tests.el: New file.
-
- 10 Feb, 2014 1 commit
-
-
Joao Tavora authored
* contrib/slime-autodoc.el (define-autodoc-tests): Use `define-slime-ert-test' to automatically set the correct test tags.
-
- 19 Jan, 2014 1 commit
-
-
Joao Tavora authored
* .travis.yml (env): check less emacs 23 combinations. Pin tests to sbcl32 for now. * contrib/slime-autodoc.el (cerror "Foo"): test no longer fails for sbcl. (foo-inside-labels-2): test also fails on cmucl. * contrib/ swank-arglists.lisp (print-decoded-arglist): for already provided args, print strings literally. (print-arg): New keyword arg LITERAL-STRINGS
-
- 02 Jan, 2014 2 commits
-
-
Joao Tavora authored
* *slime-*.el: require 'slime when loading and byte-compiling (Closes #42).
-
Joao Tavora authored
* .travis.yml (script): Skip slime-fancy tests for now. * test.sh (cmd): Test slime-fancy by default, -C skips it. * slime-enclosing-context.el: require 'slime-tests. Remove trailing whitespace. * slime-fontifying-fu.el: require 'slime-tests. Remove trailing whitespace. * slime-mdot-fu.el: require 'slime-tests. Remove trailing whitespace. * slime-parse.el: require 'slime-tests. Remove trailing whitespace. * slime-autodoc.el (slime-check-autodoc-at-point): not needed anymore. (define-autodoc-tests): new macro for defining autodoc-specific tests. (top-level): fix tests based on swank functions and add some :fails-for specifications for sbcl
-
- 10 Jan, 2013 1 commit
-
-
Helmut Eller authored
Suggested by Raymond Toy. (slime-autodoc): Fix long lines.
-
- 05 Oct, 2011 1 commit
-
-
Stas Boukarev authored
(slime-autodoc-global-at-point): Remove, unused.
-
- 18 Sep, 2010 1 commit
-
-
Tobias C. Rittweiler authored
* slime-autodoc.el (slime-canonicalize-whitespace): New helper. Extracted out of `slime-format-autodoc'. (slime-autodoc-to-string): New helper. (slime-check-autodoc-at-point): Use it. (autodoc.1): Add test case for above fix.
-
- 13 May, 2010 1 commit
-
-
Tobias C. Rittweiler authored
* slime-autodoc.el, slime-c-p-c.el, slime-compiler-notes-tree.el, slime-enclosing-context.el, slime-fancy.el, slime-fuzzy.el, slime-hyperdoc.el, slime-mdot-fu.el, slime-mrepl.el, slime-parse.el, slime-presentations.el, slime-repl.el, slime-snapshot.el, slime-tramp.el, slime-xref-browser.el: Use newly added `define-slime-contrib' macro to specify slime and swank dependencies, and to specify what should happen on contrib load/unload.
-
- 05 May, 2010 1 commit
-
-
Stas Boukarev authored
Patch by Leo Liu.
-
- 12 Apr, 2010 1 commit
-
-
Helmut Eller authored
-
- 05 Apr, 2010 3 commits
-
-
Stas Boukarev authored
function, when in the REPL prompt, narrow the search to the prompt, otherwise stray " from the previous prompts or outputs may confuse slime-inside-string-or-comment-p. * slime-autodoc.el (slime-autodoc): Use slime-repl-inside-string-or-comment-p when fbound.
-
Stas Boukarev authored
slime-autodoc-full. Like slime-autodoc, but when called twice, or after slime-autodoc was already automatically called, display multiline arglist.
-
Stas Boukarev authored
displays multiline arglists. Bound to C-c C-d a. (slime-make-autodoc-rpc-form): Don't send :print-lines to autodoc, always use the actual width for :print-right-margin, remove newlines on formatting when needed. (slime-autodoc): Add optional parameter multilinep defaulted to slime-autodoc-use-multiline-p, pass it to slime-format-autodoc. * swank-arglists.lisp (autodoc, decoded-arglist-to-string): remove print-lines parameter, it's not used anymore. * slime.el (slime-doc-bindings): Move slime-apropos to C-c C-d A, C-c C-d a will be bound to slime-autodoc-full.
-
- 03 Apr, 2010 2 commits
-
-
Stas Boukarev authored
princ again.
-
Stas Boukarev authored
(print-arg): Renamed from princ-arg. (prin1-arg): Removed. * slime-autodoc.el (autodoc.1): Add test-case for method qualifiers.
-
- 23 Mar, 2010 2 commits
-
-
Tobias C. Rittweiler authored
-
Tobias C. Rittweiler authored
actually inside a form. * slime-autodoc.el (slime-make-autodoc-rpc-form): Return nil if not inside a form. (slime-autodoc): Adapted accordingly to propagate nil to eldoc.
-
- 07 Mar, 2010 1 commit
-
-
Tobias C. Rittweiler authored
`(labels ((foo (x) ...)|'. * slime-autodoc.el (autodoc.1): Add test cases.
-
- 15 Feb, 2010 1 commit
-
-
Tobias C. Rittweiler authored
asynchronously, if host Lisp uses :SPAWN that may result in the attempt to load in code concurrently -- the host Lisp may not support that. * slime-asdf.el, slime-autodoc.el, slime-c-p-c.el, slime-clipboard.el, slime-fancy-inspector.el, slime-fuzzy,el, slime-indentation.el, slime-motd.el, slime-presentation-streams.el, slime-presentations.el, slime-sbcl-exts, slime-snapshot.el, slime-sprof.el: Make sure that contrib code does not try to load in swank code asynchronously but use `slime-require' instead; also make sure to move the `slime-require' into the contribs' init function.
-
- 06 Jan, 2010 3 commits
-
-
Tobias C. Rittweiler authored
from being candidates for "display variable content" autodoc feature. (print-decoded-arglist): Slightly better arglist printing if `slime-autodoc-use-multiline-p' is true. (parse-raw-form): Make it able to parse strings. * slime-autodoc.el (autodoc.1 [test]): Add more cases.
-
Tobias C. Rittweiler authored
`slime-autodoc-use-multiline-p' to nil for normalized test results.
-
Tobias C. Rittweiler authored
* swank-backend (declaration-arglist): Normalize declaration specifiers to contain `variables' rather than `vars'. * swank-arglists.lisp (arglist-dispatch ['declare]): Normalize `vars' to `variables'. (arglist-for-type-declaration): Ditto. * slime-autodoc (autodoc.1 [test]): Reorganize test, add comments, add cases to test declarations.
-
- 03 Jan, 2010 1 commit
-
-
Tobias C. Rittweiler authored
"enabled"/"disabled" message if called interactively.
-