[slime-devel] Sayoonara command doesn't close repl buffer

Bill_Clementson at peoplesoft.com Bill_Clementson at peoplesoft.com
Thu Oct 28 17:03:10 UTC 2004


This patch I sent doesn't appear to have been put into CVS.

- Bill



                                                                                                                                              
                      Bill_Clementson at peopleso                                                                                                
                      ft.com                          To:       slime-devel at common-lisp.net                                                   
                      Sent by:                        cc:       (bcc: Bill Clementson/PeopleSoft)                                             
                      slime-devel-bounces at comm        Subject:  [slime-devel] Sayoonara command doesn't close repl buffer                     
                      on-lisp.net                                                                                                             
                                                                                                                                              
                                                                                                                                              
                      10/26/2004 07:04 PM                                                                                                     
                                                                                                                                              
                                                                                                                                              





I just upgraded from a late-September SLIME (yes, I know that's pretty
slack :) ) to CVS and noticed something different. The Sayoonara REPL
command (when you type ",s<enter>" in the repl buffer) closes the CL
implementation but not the slime repl buffer. I did notice that the repl
buffer now no longer has a numeric sufffix - instead it's If it's suffixed
with the CL implementatin name. Since I haven't been following the mailing
list very closely lately, I'm not sure whether this behaviour is
intentional or not. If it is not intentional, the following patch should
fix the problem:

 *** c:/DOCUME~1/BC1886~1/LOCALS~1/Temp/slime-orig.el Tue Oct 26 19:02:52
2004
--- c:/DOCUME~1/BC1886~1/LOCALS~1/Temp/slime.el Tue Oct 26 19:02:52 2004
***************
*** 3108,3113 ****
--- 3108,3114 ----
      (when (or (string= (buffer-name buf) slime-event-buffer-name)
                (string-match "^\\*inferior-lisp*" (buffer-name buf))
                (string-match "^\\*slime-repl\\[[0-9]+\\]\\*$" (buffer-name
buf))
+               (string-match (concat "^\\"(format "*slime-repl %s*"
(slime-connection-name))) (buffer-name buf))
                (string-match "^\\*sldb .*\\*$" (buffer-name buf)))
        (kill-buffer buf))))

--
Bill Clementson



_______________________________________________
slime-devel site list
slime-devel at common-lisp.net
http://common-lisp.net/mailman/listinfo/slime-devel









More information about the slime-devel mailing list