Dear Jay, Cliff, Francois and all emacs experts!

I have the following two annoying problems with my emacs mode (private version
attached).

* after loading axiom.el, I cannot use shell mode anymore.  This is most
  annoying

* if one produces a lot of output, and presses M-p while the output is being
  written to the buffer, everything gets messed up.  In particular, point moves
  to the previous prompt and further output is written *before* that prompt
  instead of afterwards.  I don't understand this behaviour, since I defined

(defun axiom-scroll-previous-input (&optional arg)
  "Fetch the previous input."
  (interactive "p")
  (unless (axiom-output? (point))
    (axiom-previous-prompt)
    (comint-set-process-mark)
    (comint-previous-input arg)
    ;; delete the rest
    (delete-region (point) (axiom-end-of-input))))

  So, before doing anything, I check whether I am in the output region, in
  which case I do nothing.  Can anyone explain that behaviour?


Many thanks,

Martin


Attachment: axiom.el.pamphlet.gz
Description: Binary data

_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to