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. 13 Mar, 2014 2 commits
    • Joao Tavora's avatar
      All autodoc'ing uses contrib/slime-autodoc.el · 488cea6a
      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.
      488cea6a
    • Joao Tavora's avatar
      Removed sly-cheat-sheet. There are alternatives, like the manual. · 52a09dde
      Joao Tavora authored
      * sly.el (sly-cheat-sheet-table): Removed.
      (sly-cheat-sheet): Removed.
      52a09dde
  2. 12 Mar, 2014 4 commits
  3. 10 Mar, 2014 7 commits
    • Joao Tavora's avatar
      Ignore ChangeLog files · 7d98fde9
      Joao Tavora authored
      7d98fde9
    • Joao Tavora's avatar
      Officially drop Emacs 23 support and other minor tweaks · 29135a50
      Joao Tavora authored
      * .travis.yml (env): Remove emacs23 check target
      
      * swank-loader.lisp (sly-version-string): Greps for version in
      sly.el.
      
      * sly.el: Rename existing "Slime" references to SLY. Just require
      `cl-lib' normally. Error out on Emacs versions <= 24.3.
      
      * contrib/sly-asdf.el (fboundp): Simplify fbound tricks for
      earlier Emacs version.
      
      * contrib/sly-fuzzy.el (sly-fuzzy-complete-symbol): Don't need to
      use `comint-filename-completion'.
      
      * doc/slime.texi (Platforms): Remove Emacs 23 support.
      29135a50
    • Joao Tavora's avatar
      Delete unused nregex.lisp · 71bdbca6
      Joao Tavora authored
      71bdbca6
    • Joao Tavora's avatar
      Version string is found in sly.el · bd855f1d
      Joao Tavora authored
      * sly.el: SLY's version is upcoming version is 1.0
      (sly-version): Renamed from `sly-changelog-date', greps for version
      in sly.el.
      (sly-protocol-version): use `sly-version'
      
      * swank-loader.lisp (sly-version-string): Greps for version in
      sly.el.
      bd855f1d
    • Joao Tavora's avatar
      SLDB debugger reuses previous windows · 7415878a
      Joao Tavora authored
      No more jumping debuggers around if you have more than 3 windows and
      choosing a restart pops another debugger.
      
      * sly.el: Only works with Emacs >= 24.3
      (sldb-setup): Use `sldb--display-in-prev-sldb-window'
      (sldb--display-in-prev-sldb-window): New function
      (sldb-exit): Remve Emacs23 hack
      7415878a
    • Joao Tavora's avatar
      Get rid of Changelog files · e8c3d74c
      Joao Tavora authored
      e8c3d74c
    • Joao Tavora's avatar
      Mass renamed SLIME -> SLY · e5f7cd82
      Joao Tavora authored
      e5f7cd82
  4. 09 Mar, 2014 3 commits
    • João Távora's avatar
      Merge capitaomorte/slime-el-cleanup · 284d8a32
      João Távora authored
      284d8a32
    • Joao Tavora's avatar
      Save and restore windows popping up debuggers in Emacs23 · 1ab1a406
      Joao Tavora authored
      * slime.el (sldb-setup): Save previous window.
      (sldb-exit): Restore.
      1ab1a406
    • João Távora's avatar
      Corrections after refactoring window-managing code · 17373f5a
      João Távora authored
      * slime-tests.el (narrowing): Use `quit-window'.
      
      * slime.el (slime-with-popup-buffer): Restore `mode' keyword arg,
      defaults to `fundamental-mode'. Compute package and connection in
      calling buffer.
      (slime-with-popup-buffer): Bind q to `quit-window'
      (slime-popup-buffer-quit): Remove it.
      (slime-show-compilation-log, slime-edit-value-callback)
      (slime-show-apropos, slime-with-xref-buffer)
      (slime-create-macroexpansion-buffer, slime-list-threads)
      (slime-list-connections, slime-inspector-buffer): Restore mode
      arg.
      (slime-goto-note-in-compilation-log): Fix search and recenter
      (slime-edit-value-commit, slime-goto-xref, sldb-exit)
      (sldb-close-step-buffer, slime-quit-threads-buffer)
      (slime-inspector-quit): Use `quit-window'
      (slime-show-source-location): Fix it.
      (sldb-show-frame-details): Fix it (sldb-recenter-region was gone).
      (slime-list-threads): Don't `local-set-key'.
      (slime-thread-control-mode-map): Bind `q' here.
      (slime-inspector-mode): Restore docstring.
      
      * contrib/slime-trace-dialog.el (slime-trace-dialog--open-detail): Restore
      `:mode' argument to `slime-with-popup-buffer'.
      
      * contrib/slime-clipboard.el (slime-clipboard-display-entries): idem
      
      * contrib/slime-compiler-notes-tree.el (slime-list-compiler-notes): idem
      
      * contrib/slime-sprof.el (slime-sprof-report): idem
      17373f5a
  5. 08 Mar, 2014 3 commits
    • Joao Tavora's avatar
      Redesign and simplify some window-managing code in slime.el · 92be40bc
      Joao Tavora authored
      * slime.el (slime-popup-restore-data): Delete it.
      (slime-with-popup-buffer): Remove `mode' arg. Redesign.
      (slime-make-popup-buffer,slime-init-popup-buffer)
      (slime-display-popup-buffer, slime-close-popup-window)
      (slime-save-local-variables): Remove these functions.
      (slime-popup-buffer-mode-map): Define this existing map
      separately.
      (slime-popup-buffer-mode): Don't use :keymap arg.
      (minor-mode-alist): Remove XEmacs hack
      (slime-popup-buffer-quit-function): Remove it
      (slime-popup-buffer-quit): Use `quit-window'
      (slime-show-compilation-log, slime-edit-value-callback)
      (slime-show-apropos, slime-with-xref-buffer)
      (slime-create-macroexpansion-buffer, slime-list-threads)
      (slime-list-connections, slime-inspector-buffer): Don't pass :mode
      arg to `slime-with-popup-buffer'.
      (slime-goto-note-in-compilation-log): Redesign and use `recenter'
      instead of `slime-show-buffer-position'.
      (slime-goto-next-xref): Don't use `slime-show-buffer-position'
      (sldb-setup): Use just `pop-to-buffer'
      (slime-show-buffer-position): Remove it.
      (sldb-recenter-region): Remove it.
      (slime-show-source-location): Use `select-window' and `recenter'.
      (slime-saved-window-config): Removed.
      (slime-inspector-quit): Don't use `slime-saved-window-config'
      (slime-inspector-mode): Enters `slime-popup-buffer-mode' minor
      mode.
      (slime-inspector-mode-map): Bind `q' to `slime-inspector-quit'.
      92be40bc
    • Joao Tavora's avatar
      Remove XEmacs portability layer and fix some FIXMEs · b9dfcba7
      Joao Tavora authored
      * slime.el (require): Don't require features active by default on
      GNU emacs.
      (slime-underline-color): Removed
      (slime-error-face, slime-warning-face, slime-note-face): Don't use
      `slime-underline-color'
      (slime-map-alist): Removed it
      (slime-indulge-pretty-colors): Removed it. Font locking done all
      in one place.
      (slime-rex, slime-start, sldb-in-face): Fix indentation.
      (slime-recompute-modelines, slime-xemacs-recompute-modelines)
      (slime-run-when-idle, minor-mode-alist)
      (slime-minibuffer-respecting-message)
      (slime-push-definition-stack, slime-pop-find-definition-stack):
      (slime-recompile-bytecode, slime-safe-encoding-p)
      (slime-connection-port, slime-xref-mode-map)
      (define-slime-contrib): Remove XEmacs hacks.
      (slime-define-channel-type, slime-define-channel-method)
      (when-let, slime-define-keys, with-struct)
      (slime-propertize-region, slime-with-rigid-indentation)
      (slime-with-connection-buffer, slime-def-connection-var)
      (slime-rex, slime-eval-async, slime-point-moves-p): Use`declare'
      form for indentation.
      (slime-connection): Use `slime-auto-start'.
      (slime-auto-connect): Renamed to `slime-auto-start'. Provide
      obsolete alias.
      (slime-dispatch-event): Don't use `slime-recompute-modelines'
      (slime-kill-all-buffers): Moved to contrib/slime-repl.el
      (slime-compile-file-options): Make `defcustom'
      (slime-file-name-merge-source-root)
      (slime-highlight-differences-in-dirname): Don't use
      `slime-split-string'
      (slime-complete-delay-restoration,slime-setup-command-hooks): Use
      `add-hook'
      (slime-complete-restore-window-configuration)
      (slime-xref-recompilation-cont): Add FIXME note.  note.
      (slime-xref-mode-map): Don't use interactive lambdas in keymap.
      (slime-xrefs): Rewrite to not use `slime-map-alist'
      (sldb-debugged-continuations): Simplify.
      b9dfcba7
    • Luís Oliveira's avatar
      slime-autodoc: don't print newline after the operator · 14114560
      Luís Oliveira authored
      Avoid adding a newline after things like with-open-file when
      doing multiline display. Fixes issue #7.
      
      * swank-arglists.lisp (print-decoded-arglist): Don't
        pprint-newline when adding a space after the operator.
      14114560
  6. 07 Mar, 2014 2 commits
    • Joao Tavora's avatar
      A fix and a tweak to the trace dialog · 89528e79
      Joao Tavora authored
      * contrib/slime-trace-dialog.el (slime-trace-dialog--open-detail): Fix
      "read-only" error when navigating to the trace details.
      (slime-trace-dialog--insert-trace): Nudge non-parent trace entries
      one "-" to the right to line up with others at the same level.
      89528e79
    • Joao Tavora's avatar
      Auto-update trace dialog when toggling traces · 741a3dc6
      Joao Tavora authored
      When toggling trace on a definition, automatically update the
      trace dialog if it is open already. Idea by Luís Oliveira.
      
      * contrib/slime-trace-dialog.el (slime-trace-dialog--get-buffer): split
      into reusable functions.
      (slime-trace-dialog--buffer-name): new function
      (slime-trace-dialog--live-dialog): new function
      (slime-trace-dialog--ensure-buffer): new function
      (slime-trace-dialog--update-existing-dialog): new function for
      added to `slime-trace-dialog-after-toggle-hook' by default.
      (slime-trace-dialog): Use `slime-trace-dialog--ensure-buffer'.
      
      * doc/slime.texi (SLIME Trace Dialog): Correct typos.
      741a3dc6
  7. 05 Mar, 2014 6 commits
  8. 04 Mar, 2014 4 commits
    • Helmut Eller's avatar
      Avoid batch-byte-recompile-directory. · 3a923a00
      Helmut Eller authored
      * Makefile (compile): Seems prudent not to use
      batch-byte-recompile-directory as it may pollute the compile-time
      environment.
      (ELFILES): Include lib/*.el
      3a923a00
    • Helmut Eller's avatar
      Don't rely so much internals of hyperspec.el. · 301cee96
      Helmut Eller authored
      * slime.el (slime-hyperspec-lookup): Use
      common-lisp-hyperspec-read-symbol-name.
      301cee96
    • Helmut Eller's avatar
      Use hashtables instead of obarrays; that's less confusing. · b64a38ba
      Helmut Eller authored
      * lib/hyperspec.el: (common-lisp-hyperspec--symbols): Renamed from
      common-lisp-hyperspec-symbols. It's now a hashtable.
      (common-lisp-hyperspec--insert): Renamed from intern-clhs-symbol.
      (common-lisp-hyperspec--strip-cl-package): Renamed
      from common-lisp-hyperspec-strip-cl-package.
      (common-lisp-hyperspec-read-symbol-name): New helper.  This one
      can used by SLIME.
      (common-lisp-hyperspec): Use helpers and hashtable.
      (common-lisp-hyperspec--get-one-line): Renamed from
      hyperspec--get-one-line.
      (common-lisp-hyperspec--parse-map-file): New helper.
      (common-lisp-hyperspec--reader-macros): Renamed from
      common-lisp-hyperspec-reader-macros.
      (common-lisp-hyperspec--format-characters): Renamed from
      common-lisp-hyperspec-format-characters. It's also hashtable now.
      (common-lisp-hyperspec--read-format-character): New helper.
      (common-lisp-hyperspec-format): Use it,
      (common-lisp-hyperspec--insert-format-directive): Renamed
      from intern-clhs-format-directive.
      (common-lisp-hyperspec--issuex-symbols): Renamed from
      common-lisp-hyperspec-issuex-symbols event though issue index is
      not actually used.
      (hyperspec-lookup, hyperspec-lookup-reader-macro)
      (hyperspec-lookup-format): Moved to end of file and remove
      odd-looking (eval-when (load eval) ...).
      b64a38ba
    • Helmut Eller's avatar
      * lib/hyperspec.el: Cleanup whitespace. · 6a6f75cb
      Helmut Eller authored
      6a6f75cb
  9. 03 Mar, 2014 3 commits
    • Helmut Eller's avatar
    • Joao Tavora's avatar
      Check slime-indentation contrib in Travis CI · f834171c
      Joao Tavora authored
      * .travis.yml: Check slime-indentation contrib in travis, but allow
      failures for now. Notice that tests pass for now (Emacs 24.3), but at
      least 5 will fail on upcoming Emacs 24.4.
      f834171c
    • Joao Tavora's avatar
      Closes #105: Port indentation tests to use ERT · 3f68b661
      Joao Tavora authored
      * contrib/test/slime-cl-indent-test.txt: Moved to from previous file and
      changed test names from numbers to symbols.
      
      * contrib/test/slime-indentation-tests.el: New file. Defines ERT
      indentation tests from specs in `slime-cl-indent-test.txt'.
      
      * contrib/slime-cl-indent.el: Moved tests to
      test/slime-indentation-tests.el. In file comments, explain the
      legacy cl-indent.el situation. Provide `slime-cl-indent'.
      
      * contrib/slime-indentation.el (slime-cl-indent): `require' instead of
      `load'.
      3f68b661
  10. 02 Mar, 2014 6 commits
    • Joao Tavora's avatar
      Solve remaining byte-compilation problems · 3467ebc9
      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.
      3467ebc9
    • Luís Oliveira's avatar
      339891ec
    • Luís Oliveira's avatar
      Minor improvements to the documentation · 1c132026
      Luís Oliveira authored
      * doc/slime.texi: Use @SLIME{} throughout.
      (Git Incantations): remove reference to the FAIRLY-STABLE tag
      which is hopefully replaced by release management. Tweak the link
      to CONTRIBUTING.md.
      
      * .gitignore: ignore the temporary output of doc/Makefile's
      publish target.
      1c132026
    • João Távora's avatar
      bb17ce73
    • Joao Tavora's avatar
      Closes #116: Deal with file-names with spaces for inferior-lisp-program · fcbc48f4
      Joao Tavora authored
      * slime.el (slime-read-interactive-args): Use
      `split-string-and-unquote' (closes #116). Spotted by Mirko Vukovic.
      fcbc48f4
    • Luís Oliveira's avatar
      Make sure the SWANK port file is an absolute path · c3767021
      Luís Oliveira authored
      ... and free of shell-isms like ~ that not all Lisps know how
      to parse. Bug reported by Mirko Vukovic.
      
      * slime.el (slime-swank-port-file): Use expand-file-name.
      c3767021