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
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to