Changes http://wiki.axiom-developer.org/AxiomEmacsMode/diff
--

??changed:
 \begin{document}
-\title{\$SPAD/src/emacs/axiommode.el\\Version 16-06-2007} 
+\title{\$SPAD/src/emacs/axiommode.el\\Version 19-06-2007} 
 \author{Jay Belanger, Fran\c{c}ois Maltey, Martin Rubey and Cliff Yapp}

??changed:
 (defun axiom-reset ()
-   "Remove read-only properties from everything after the last prompt."
+   "Remove read-only properties from everything after the last prompt. Set
+process-mark so we can continue."
    (interactive)

??changed:
    (interactive)
-   (save-excursion
-     (let ((inhibit-read-only t))
-       (goto-char (point-max))
-       (remove-text-properties (axiom-previous-prompt) 
-                               (point-max) 
-                               (list 'axiom-output nil 'axiom-prompt nil 
-                                     'face nil 'field nil 'front-sticky nil
-                                     'rear-nonsticky nil 'read-only nil))
-       (axiom-make-prompt (re-search-backward axiom-prompt nil t) (point)))))
+   (let ((inhibit-read-only t))
+     (goto-char (point-max))
+     (delete-region (axiom-previous-prompt) (point-max))
+     (comint-set-process-mark)
+     (axiom-make-prompt (re-search-backward axiom-prompt nil t) (point))
+     (comint-goto-process-mark)))
 

??changed:
 
-Emacs comint mode uses a marker called process-mark to control the layout of
-input and output in such a way that it looks correct.  This variable is set
+Emacs comint mode uses a marker called [[process-mark]] to control the layout
+of input and output in such a way that it looks correct.  This variable is set
 with a function called [[comint-set-process-mark]].

--
forwarded from http://wiki.axiom-developer.org/[EMAIL PROTECTED]

Reply via email to