+2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * term.el (term-set-scroll-region, term-handle-ansi-escape):
+ Undo last change, which didn't fix the problem and introduced others.
+
2009-09-24 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-mi.el: Don't require speedbar.
((eq char ?r)
(term-set-scroll-region
(1- term-terminal-previous-parameter)
- (1- term-terminal-parameter))
- (term-goto 0 0))
+ (1- term-terminal-parameter)))
(t)))
(defun term-set-scroll-region (top bottom)
(or (term-using-alternate-sub-buffer)
(not (and (= term-scroll-start 0)
(= term-scroll-end term-height)))))
- (term-move-columns (- (term-current-column))))
+ (term-move-columns (- (term-current-column)))
+ (term-goto 0 0))
;; (defun term-switch-to-alternate-sub-buffer (set)
;; ;; If asked to switch to (from) the alternate sub-buffer, and already (not)