Command recall in Emacs 22.0.97.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Command recall in Emacs 22.0.97.1

Nick Gasson
Whenever I use the M-P command recall inside a GST buffer in GNU  
Emacs 22 (on OS X) the previous command is pasted in front of the  
prompt. Also, comint-bol doesn't move the cursor over the prompt  
either. Hunting around a bit it seems that comint-use-prompt-regexp  
needs to be non-nil for comint-prompt-regexp to take effect.

I don't think this problem affects earlier versions of GNU Emacs (it  
may even just be OS X specific).

A tiny patch to gst-mode.el to fix things:

*** gst-mode.el Sat Jul  7 15:41:57 2007
--- gst-mode.el.mine    Sat Jul  7 15:44:47 2007
***************
*** 191,196 ****
--- 191,197 ----
     (require 'comint)
     (comint-mode)
     (setq comint-prompt-regexp smalltalk-prompt-pattern)
+   (setq comint-use-prompt-regexp t)
     (use-local-map gst-mode-map)
     (make-local-variable 'mode-status)
     (make-local-variable 'smalltalk-command-string)




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Command recall in Emacs 22.0.97.1

Paolo Bonzini-2

> A tiny patch to gst-mode.el to fix things:

Applied, thanks!

Paolo



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk