[slime-devel] Possible menu patch for slime-repl

Robert P. Goldman rpgoldman at sift.info
Fri Oct 29 14:55:03 UTC 2010


Would the following patch be acceptable?  It would make obvious --- for people
like me who use the menu as a crutch to learn the keybindings --- that the
previous and next commands in the repl don't just yank the immediately previous
(next), but also do matching.  Possible (more wordy) alternative would be to
replace (matching) with (matching current)...

cheers,
r


Index: contrib/slime-repl.el
===================================================================
RCS file: /project/slime/cvsroot/slime/contrib/slime-repl.el,v
retrieving revision 1.52
diff -b -u -F '^(def' -r1.52 slime-repl.el
--- contrib/slime-repl.el	26 Sep 2010 18:10:33 -0000	1.52
+++ contrib/slime-repl.el	29 Oct 2010 14:42:20 -0000
@@ -1567,8 +1567,8 @@ (defvar slime-repl-easy-menu
       [ "Close and Send Input "  slime-repl-closing-return ,C ]
       [ "Interrupt Lisp process" slime-interrupt ,C ]
       "--"
-      [ "Previous Input"         slime-repl-previous-input t ]
-      [ "Next Input"             slime-repl-next-input t ]
+      [ "Previous (matching) Input"         slime-repl-previous-input t ]
+      [ "Next (matching) Input"             slime-repl-next-input t ]
       [ "Goto Previous Prompt "  slime-repl-previous-prompt t ]
       [ "Goto Next Prompt "      slime-repl-next-prompt t ]
       [ "Clear Last Output"      slime-repl-clear-output t ]






More information about the slime-devel mailing list