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.
  1. 22 Aug, 2014 3 commits
  2. 21 Aug, 2014 3 commits
    • João Távora's avatar
      Fix "p" keybinding clash in sly-xref-mode · 879ee846
      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.
      879ee846
    • João Távora's avatar
      Polish faces and fix many small bugs · 4862b62a
      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'
      4862b62a
    • João Távora's avatar
      Resuscitate sly-tramp.el, it's useful · 37a356bf
      João Távora authored
      * contrib/sly-fancy.el (sly-fancy): Include sly-tramp.
      37a356bf
  3. 20 Aug, 2014 9 commits
    • João Távora's avatar
      Start a bare-bones NEWS.md file · 62fc5412
      João Távora authored
      62fc5412
    • Leo Liu's avatar
      Improve support for strings in (:export ...) clause · 798a0bc6
      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
      798a0bc6
    • Bart Botta's avatar
      Fix source locations when recompiling from an xref buffer. · 00d1d6b9
      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
      00d1d6b9
    • João Távora's avatar
      Consolidate `sly-display-warning' into `sly-warning' · 79b7ccf8
      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'.
      79b7ccf8
    • João Távora's avatar
      Use SWANK:PACKAGE-STRING-FOR-PROMPT for sly-mrepl · 1060416d
      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
      1060416d
    • João Távora's avatar
      sly-autodoc is less noisy when there are no connections · 59d9835d
      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.
      59d9835d
    • João Távora's avatar
      * sly.el (sly-display-eval-result): Use `message' · d29be9e2
      João Távora authored
      Also remove mention of sly-selector.
      d29be9e2
    • João Távora's avatar
      More apropos adjustments · 1b60b387
      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.
      1b60b387
    • João Távora's avatar
      Tweaks to the regexp apropos logic · 3f987c4d
      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.
      3f987c4d
  4. 19 Aug, 2014 2 commits
    • João Távora's avatar
    • João Távora's avatar
      Redesigned mode-line fancyness · 40c64c95
      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'
      40c64c95
  5. 18 Aug, 2014 3 commits
  6. 17 Aug, 2014 4 commits
    • João Távora's avatar
    • João Távora's avatar
      * swank.asd (defsystem :swank): order matters in lib/lisp/ · cfe3ab5a
      João Távora authored
      Also in /lisp/backend
      cfe3ab5a
    • João Távora's avatar
      Unbreak compilation-note-related tests · 97b45f6c
      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
      97b45f6c
    • João Távora's avatar
      Improved and regex-capable apropos · f2e9ec02
      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.
      f2e9ec02
  7. 16 Aug, 2014 7 commits
    • João Távora's avatar
      Unbreak more tests · 2b3869b4
      João Távora authored
      * sly.el (sly-simple-completions): Ressurected.
      2b3869b4
    • João Távora's avatar
      Unbreak tests. · 27de7bc9
      João Távora authored
      * sly-tests.el (compile-defun)
      (compile-defun-with-reader-conditionals): Pass mandatory arg to
      `sly-previous-node'
      27de7bc9
    • João Távora's avatar
      bffbb530
    • João Távora's avatar
      Clean up context menus of some sly-part buttons · b8c58f73
      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.
      b8c58f73
    • João Távora's avatar
      * sly.el: Break long lines · 1329b20f
      João Távora authored
      (sldb-frame-menu-map): Use a little macrolet sugar.
      1329b20f
    • João Távora's avatar
      * swank.lisp (dispatch-event): Fix typo. · 4fbd6d03
      João Távora authored
      4fbd6d03
    • João Távora's avatar
      Restore severity-related faces for in-buffer compilation notes · ae56fb1c
      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.
      ae56fb1c
  8. 15 Aug, 2014 6 commits
    • João Távora's avatar
      Another 150 lines of useless window managing code gone · 44f59641
      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.
      44f59641
    • João Távora's avatar
      Compilation notes also use buttons · e217d0a2
      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'
      e217d0a2
    • João Távora's avatar
      Xref mode also uses buttons · 5483f0f6
      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'
      5483f0f6
    • João Távora's avatar
      47f1c951
    • João Távora's avatar
      Try to improve REPL prompt synchronization · 61424452
      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.
      61424452
    • João Távora's avatar
      Face tweaks in sly-mrepl and a shortcut to the debugger · 6c5296a2
      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.
      6c5296a2
  9. 14 Aug, 2014 3 commits
    • João Távora's avatar
    • João Távora's avatar
      Fix sly-mrepl's freezing/unfreezing logic · 9f2e8088
      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)
      9f2e8088
    • João Távora's avatar
      Fixes to the "Copy Call to REPL" interface · 3285e13d
      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.
      3285e13d