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. 15 Sep, 2014 1 commit
    • João Távora's avatar
      Tweaks to the sly-stickers contrib · 9d3aa106
      João Távora authored
      * sly-stickers.el (sly-stickers-empty-face): New face.
      (sly-stickers-recordings-face): Renamed from `sly-stickers-lit-face'
      (sly-stickers-mode-map): Simplify keymap.
      (sly-stickers--arm-sticker): Use `sly-stickers--last-values-list'
      (sly-stickers--disarm-sticker): Don't remhash here.
      (sly-stickers--populate-sticker): Adapt to new fetched values.
      (sly-stickers--mark-empty-sticker): New function.
      (sly-stickers--bring-out-yer-dead): Actually bring out the dead.
      (sly-stickers--delete): Leave in hash table.
      (sly-stickers-dwim): Simplify.
      (sly-stickers-fetch): Adapt to new protocol.
      
      * slynk-stickers.lisp (sticker): New class.
      (record): No need for so many gensyms.
      (check-stickers): Return less info.
      (inspect-sticker-values): Sticker is now its own class.
      9d3aa106
  2. 14 Sep, 2014 5 commits
    • João Távora's avatar
      Implement `sly-button-inspect' for stickers and fix bugs. · 9d93bb7b
      João Távora authored
      * sly-stickers.el (sly-stickers--sticker): Implement `sly-button-inspect' action
      
      * slynk-stickers.lisp (find-sticker-or-lose): New function.
      (inspect-sticker-values): New function.
      (compile-for-stickers): Dead stickers are dead.
      9d93bb7b
    • João Távora's avatar
      Stabilize `sly-stickers-dwim' behaviour · 4e4b9e11
      João Távora authored
      Also fix a ton of bugs
      
      * sly-stickers.el (sly-stickers--stickers-exactly-at): New function.
      (sly-stickers--sticker-map): Get rid of
      `sly-stickers-operate-on-sticker'
      (sly-stickers--sticker): Error when trying to make a sticker for same coordinates
      (sly-stickers--sticker-substickers): Check invariants.
      (sly-stickers-clear-region-stickers): New interactive function.
      (sly-stickers-clear-buffer-stickers): Use -region variant.
      (sly-stickers-clear-defun-stickers): Use -region variant.
      (sly-stickers-dwim): Improve and document.
      (sly-stickers-operate-on-sticker): Remove.
      (sly-stickers--delete): Remove from hashtable too.
      (sly-stickers-commit-stickers): Temporary stickers buffer is hidden.
      (sly-stickers--set-tooltip): New function.
      (sly-stickers--sticker, sly-stickers--arm-sticker)
      (sly-stickers--disarm-sticker, sly-stickers--populate-sticker):
      Use it.
      
      * slynk-stickers.lisp (check-stickers): Correctly iterate value
      lists.
      4e4b9e11
    • João Távora's avatar
      Improve sly-stickers · c829afbb
      João Távora authored
      The single `sly-stickers-dwim' keybinding needs more work.
      
      * sly-stickers.el (sly-stickers--flash-sticker): Flash stickers.
      (sly-stickers--sticker): Behave correctly when setting stickers
      from region.
      (sly-stickers--set-sticker-piority): New helper.
      (sly-stickers--increase-prio, sly-stickers--decrease-prio): Use it.
      (sly-stickers-dwim): Deactivate mark after setting from region.
      (sly-stickers-operate-on-sticker): "No stickers at point" is an
      error.
      (sly-stickers-commit-stickers): Use a second set of overlays.
      (sly-stickers-fetch): Flash all stickers, but populate only the
      ones with values.
      
      * sly.el (sly-with-popup-buffer): New :hidden option for existing
      `select' parameter.
      (sly-with-popup-buffer): Add edebug spec.
      (sly-flash-region): Make into cl-defun, and can flash multiple times.
      (sly--highlight-line): Adjust call to sly-flash-region.
      c829afbb
    • João Távora's avatar
      sly-stickers uses sly-buttons like everything else · 0cd60e60
      João Távora authored
      * contrib/sly-stickers.el (sly-stickers-mouse-hover-face): Don't need this.
      (sly-stickers-mode-map): Bind "C-c C-s S" to `sly-stickers--fetch'
      (sly-stickers--stickers-between): New.
      (sly-stickers--sticker): New button type.
      (sly-stickers--set-face): New function.
      (sly-stickers--sticker): Create a sticker button.
      (sly-stickers--arm-sticker, sly-stickers--sticker-id)
      (sly-stickers--disarm-sticker, sly-stickers--populate-sticker): Use buttons.
      (sly-stickers--decrease-prio, sly-stickers--increase-prio): New
      fucntions.
      (sly-stickers--sticker-priority): New function.
      (sly-stickers--delete): Improve to understand priorities.
      (sly-stickers--sticker-modified): New hook.
      (sly-stickers-operate-on-sticker): The "operate on existing
      sticker" part is taken to the sticker's own keymap.
      (sly-stickers-fetch): Don't warn too much.
      (sly-stickers-commit-stickers): Ensure current package.
      (sly-stickers-commit-stickers): Ensure a good sorting.
      0cd60e60
    • João Távora's avatar
      WIP sly-stickers contribs · fef22304
      João Távora authored
      Still some way to go, but already workable.
      
      * sly.el (sly-compilation-position): Factor out of sly-compile-string.
      (sly-after-compile-functions): New variable.
      (sly-before-compile-functions): Change semantics slightly.
      (sly-compile-file): Call with current buffer.
      (sly-compile-region): Pass hook to `sly-compile-string' so
      `sly-after-compile-functions' can be called.
      
      * slynk.asd (:slynk-stickers): Add system.
      
      * contrib/sly-stickers.el (sly-stickers): Add slynk-dependencies.
      (sly-stickers-mode-map): Use C-c C-s as a prefix map.
      (sly-stickers--stickers, sly-stickers--sticker-keymap)
      (sly-stickers--make-sticker, sly-stickers--sticker-id)
      (sly-stickers--arm-sticker, sly-stickers--disarm-sticker)
      (sly-stickers--populate-sticker)
      (sly-stickers--bring-out-your-dead): New.
      (sly-stickers-dwim): Use `sly-stickers--make-sticker'
      (sly-stickers-fetch): New function.
      (sly-stickers-commit-stickers): Redesign.
      
      * contrib/sly-stickers.el (sly-stickers-mouse-hover-face): New face.
      fef22304
  3. 13 Sep, 2014 6 commits
  4. 12 Sep, 2014 5 commits
  5. 11 Sep, 2014 9 commits
  6. 10 Sep, 2014 14 commits