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.
- 22 Aug, 2014 3 commits
-
-
João Távora authored
This fixes an apparently buggy `accept-process-output' on Windows which sometimes leads to mixed output and return values in the mREPL.
-
João Távora authored
-
João Távora authored
-
- 21 Aug, 2014 3 commits
-
-
João Távora authored
* lib/sly-buttons.el (sly-button-define-part-action): Use the `(menu-item :filter)` trick to disable keybindings on parts that don't implement the actions.
-
João Távora authored
* sly-autoloads.el (sly-contribs): Default this variable to a list with `sly-fancy' as the sole argument. * sly.el (sly-inspectable-value-face): Removed. (define-sldb-faces): Removed unused faces (sly-mode-line): Better face inheritance. (sly--mode-line-format): Switch connection and package information. (sly-message): Protect against message bodies with format constructs. (sly-minibuffer-respecting-message): Resurrect. Needed by sly-fuzzy and sly-c-p-c contribs. (sly-apropos-symbol): Better face. (sly-apropos-insert-symbol): Better face. (sly-xref-face): Removed. (sly-xref): Use a proper `sly-part-button' (sly-insert-xrefs): Pass more args to `make-text-button' (sly-inspector-topline-face, sly-inspector-label-face) (sly-inspector-action-face, sly-inspector-type-face): Removed. * contrib/sly-c-p-c.el (sly-complete-symbol*): Don't call `sly-maybe-complete-as-filename'. It has been removed. * contrib/sly-fuzzy.el (sly-fuzzy): Insinuate into `sly-complete-symbol-function' on load. * contrib/sly-fuzzy.el (sly-fuzzy-insert): Don't error here, it's annoying. * contrib/sly-mrepl.el (sly-mrepl--insert-output): Use a face. (sly-mrepl--insert-prompt): Include "> " in the propertized prompt. (sly-mrepl-output-face): New face. (sly-mrepl-prompt-face): Better face. * contrib/sly-trace-dialog.el (sly-trace-dialog-part-button): Use a better label. (sly-trace-dialog--insert-trace): Use the normal face for `sly-part' buttons. * lib/sly-buttons.el (sly-action-face, sly-part-button-face): New faces. (sly-action): Use `sly-action-face'
-
João Távora authored
* contrib/sly-fancy.el (sly-fancy): Include sly-tramp.
-
- 20 Aug, 2014 9 commits
-
-
João Távora authored
-
Leo Liu authored
From https://github.com/slime/slime/pull/145 * contrib/sly-package-fu.el (sly-export-symbols): Handle strings. (sly-defpackage-exports): Use `sly-export-symbols' and strip double quotes. (sly-frob-defpackage-form): Don't skip package name in case (:export ...) is immediately following. (sly-determine-symbol-style): Support double quoted styles. (sly-search-exports-in-defpackage): Handle strings. (sly-remove-export): Avoid trailing whitespace. (sly-find-possible-package-file): Use cl-dolist to catch cl-return. (cherry picked from SLIME commit c8f64ef1313df24db7cde8fbf6e35e24438e2d28) Conflicts: contrib/ChangeLog contrib/sly-package-fu.el
-
Bart Botta authored
From https://github.com/slime/slime/pull/175 * sly.el (sly-recompile-locations): pass full filenames to swank:compile-multiple-strings-for-emacs (cherry picked from SLIME commit 0249a079921b29ceb720c6524c30a7ee8d60a848) Conflicts: ChangeLog slime.el
-
João Távora authored
* sly.el (sly-warning): Renamed from `sly-display-warning' * contrib/sly-fontifying-fu.el (sly-search-suppressed-forms) (sly-extend-region-for-font-lock): Use new `sly-warning' * contrib/sly-mrepl.el (sly-mrepl--commit-buffer-name): Use new `sly-warning'.
-
João Távora authored
* contrib/swank-mrepl.lisp (package-prompt): Removed. (send-prompt): Use SWANK:PACKAGE-STRING-FOR-PROMPT * lib/lisp/swank.lisp (:compile-toplevel): Export PACKAGE-STRING-FOR-PROMPT
-
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.
-
João Távora authored
Also remove mention of sly-selector.
-
João Távora authored
* lib/lisp/swank.lisp (make-plain-matcher): Return search result indexes. (apropos-symbols): Improve CL-PPCRE fallback logic. * lib/lisp/backend/swank-allegro.lisp (describe-symbol-for-emacs): Ignore errors when calling DOCUMENTATION.
-
João Távora authored
* lib/lisp/swank-backend.lisp (make-cl-ppcre-matcher) (make-plain-matcher): Removed. (make-apropos-matcher): Tweak docstring. No default implementation. * lib/lisp/swank.lisp (make-cl-ppcre-matcher) (make-plain-matcher): Moved here from swank-backend.lisp (*try-cl-ppcre-for-apropos*): New parameter. (apropos-symbols): Control apropos matcher to use here.
-
- 19 Aug, 2014 2 commits
-
-
João Távora authored
-
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 3 commits
-
-
João Távora authored
Experimental. * swank.lisp (invoke-nth-restart): Bind *QUERY-IO* and its input stream to one that reads from minibuffer in Emacs, when invoking restart interactively.
-
João Távora authored
* sly.el (sly-make-note-overlay) Removed. (sldb--guess-frame-function): Renamed from misnamed `sldb--guess-frame-name'. (sldb-frame-button): use it.
-
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.
-
- 17 Aug, 2014 4 commits
-
-
João Távora authored
-
João Távora authored
Also in /lisp/backend
-
João Távora authored
New sophisticated in-buffer navigation of compilation notes. Perhaps too sophisticated... * sly-tests.el (compile-defun) (compile-defun-with-reader-conditionals): Restore `sly-previous-note' call and make slightly more readable. * sly.el (sly-next-note): New variable. (sly--note-buttons-at, sly--search-note): New functions. (sly-next-note, sly-previous-note, sly-goto-first-note): Unbreak them. (sly--add-in-buffer-note): Simplify: in-buffer notes are not merged. (sly--compilation-note-group-button): Must return the string for Emacs 24.3
-
João Távora authored
* sly.el (sly-apropos-symbol): New button type. (sly-apropos-designator-string, sly-apropos-insert-symbol): New function. (sly-print-apropos): Rewritten. Uses more buttons. (sly-insert-xrefs): Add `sly-location' property to area near xref button. * lib/lisp/swank-backend.lisp (make-cl-ppcre-matcher) (make-plain-matcher): New functions. (make-apropos-matcher): Redesigned. * lib/lisp/swank.lisp (apropos-list-for-emacs): Rewrittern with for new retval of APROPOS-SYMBOLS. (briefly-describe-symbol-for-emacs): Designator is now a triplet. (apropos-symbols): Rewrite. Returns a list of lists.
-
- 16 Aug, 2014 7 commits
-
-
João Távora authored
* sly.el (sly-simple-completions): Ressurected.
-
João Távora authored
* sly-tests.el (compile-defun) (compile-defun-with-reader-conditionals): Pass mandatory arg to `sly-previous-node'
-
João Távora authored
-
João Távora authored
* sly.el (sly-move-to-source-location): Document NOERROR and return nil in that case. (sly--display-source-location): New optional NOERROR param. (sly-xref-mode): Enter sly-mode and make buffer read-only (sldb-frame-map): RET bound to `sldb-toggle-details'. (sldb-frame-menu-map): Simpler menu. (sldb-local-variable-button, sldb-frame-button): Simpler label. (sly-inspector-mode-map): Bind D, not d, to `sly-inspector-describe-inspectee' (sly-inspector-part): Implement `sly-button-describe' (sly-inspector-part): Pass `noerror' to `sly--display-source-location' (sly-inspector-part-button): Simpler label. (sly-inspector-describe-inspectee): Add docstring and rename from `sly-inspector-describe' * sly-mrepl.el (sly-mrepl--make-result-button): Simpler button label. * lib/sly-buttons.el (sly-button-popup-part-menu): Fix label. * lib/lisp/swank.lisp (describe-inspector-part): New slyfun. (pprint-inspector-part): Fix docstring.
-
João Távora authored
(sldb-frame-menu-map): Use a little macrolet sugar.
-
João Távora authored
-
João Távora authored
* sly.el (sly-most-severe): Removed. (sly-merge-notes): Removed. Done in `sly--add-in-buffer-note'. ("pretty colors"): Remove reference to two macros which are gone. (sly--add-in-buffer-note): Consider note severity.
-
- 15 Aug, 2014 6 commits
-
-
João Távora authored
* sly.el (sly-read-package-name): Don't use `sly-bogus-completion-alist' (sly-completions-buffer-name) (sly-complete-saved-window-configuration, sly-completions-window) (sly-complete-delay-restoration) (sly-complete-forget-window-configuration) (sly-complete-restore-window-configuration) (sly-complete-maybe-restore-window-configuration) (sly-completion-window-active-p, sly-display-completion-list) (sly-display-or-scroll-completions, sly-scroll-completions): Removed. (sly-simple-complete-symbol): Much simplified (sly-complete-symbol): Use `completion-at-point-functions' (sly-maybe-complete-as-filename): Removed, seems useless. (sly-minibuffer-respecting-message): Removed. (sly-indent-and-complete-symbol): Call `indent-for-tab-command' (sly-bogus-completion-alist): Removed. (sly-simple-completions): Removed.
-
João Távora authored
* sly.el (sly-compilation-finished-hook): Remove option `sly-list-compiler-notes'. (sly-load-failed-fasl): Change default to a saner option 'NEVER. (sly-highlight-notes): Use `sly--add-in-buffer-note'. (sly-note-overlays, sly-remove-old-overlays, sly-filter-buffers): Removed. (sly-merge-notes-for-display, sly-merge-notes) (sly-notes-in-same-location-p): Removed. (sly-create-compilation-log): Enter `sly-mode' as well. (sly-compilation-log--notes): New variable. (sly-insert-compilation-log): Use buttons and fields. (sly-overlay-note, sly-goto-note-in-compilation-log): Removed. (sly-create-note-overlay, sly-merge-note-into-overlay): Removed. (sly-choose-overlay-for-sexp, sly-choose-overlay-region) (sly-choose-overlay-for-read-error): Replace `cl-values' with plain `list' (sly-severity-face-plist): Fix indentation. (sly-visit-source-path): Removed. (sly-next-note): Simplify. (sly-previous-note): Simplify. (sly-goto-first-note): Simplify. (sly-remove-notes): New function. (sly-merge-notes): New function. (sly-show-note): Redone. (sly-temporarily-highlight-note): Removed. (sly-note-at-point, sly-note-overlay-p) (sly-note-overlays-at-point, sly-find-next-note) (sly-find-previous-note): Removed. (sly-note, sly-in-buffer-note, sly-compilation-note-group): New button types. (sly--in-buffer-note-modification, sly--add-in-buffer-note) (sly--compilation-note-group-button): New functions. (sly-filter-buffers): Moved to SLDB section where it's used. (sly-menu): Replace `sly-list-compiler-notes' with `sly-show-compilation-log'
-
João Távora authored
* sly.el (sly-mode-map): `sly-next-location' and `sly-previous-location' unbound. (sly-xref-face, sly-xref, sly-xref-button): New button type, face and constructor. (sly-insert-xrefs): Insert buttons. (sly-xref-prev-line, sly-xref-next-line): Use buttons. (sly-next-location-function, sly-previous-location-function) (sly-goto-next-xref, sly-goto-previous-xref, sly-next-location) (sly-previous-location): Remove. (sly-xref--show-buffer): Don't set `sly-next-location-function' or `sly-previous-location-function'
-
João Távora authored
-
João Távora authored
* sly-mrepl.el (sly-mrepl--insert-prompt): Helper function for :prompt method. (define-channel-method :write-values): Don't `accept-process-output' here. (sly-mrepl-return): Do it here.
-
João Távora authored
* contrib/sly-mrepl.el (define-channel-method :prompt): Insert a button to the associated debugger. (sly-mrepl--prompt-face): Removed. (sly-mrepl-prompt-face): Renamed from `sly-mrepl-normal-prompt-face' (sly-mrepl-errored-prompt-face): Removed.
-
- 14 Aug, 2014 3 commits
-
-
João Távora authored
-
João Távora authored
* contrib/sly-mrepl.el (sly-mrepl-mode): Overlay should be pushed on insertion before. (sly-mrepl--insert-output): Another case for a "\n" isnertion. (sly-mrepl--stacked-errors, :freeze-prompt, :unfreeze-prompt): Delete. (:prompt): Takes new `error-level' and `condition' args. (sly-mrepl--prompt-face): Take `error-level' arg. * contrib/swank-mrepl.lisp (declass mrepl): New PENDING-ERRORS slot. (swank::drop-unprocessed-events): Don't SEND-PROMPT from here. (mrepl-eval): Redesigned and simplified (hopefully). (mrepl-eval-1): Renamed from MREAD-EVAL-1 (which was a typo)
-
João Távora authored
* sly.el (sldb--guess-frame-name): New function. (sldb-frame-button): Use it. * contrib/sly-mrepl.el (define-sly-contrib sly-mrepl): Better keydindings.
-