]> code.delx.au - gnu-emacs/commitdiff
(comint-mode): Don't set scroll-conservatively.
authorGlenn Morris <rgm@gnu.org>
Sun, 2 Sep 2007 01:29:35 +0000 (01:29 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 2 Sep 2007 01:29:35 +0000 (01:29 +0000)
lisp/comint.el

index 2abb362a157766afb250a36c7fbf9f8bfd5d0678..9f8fbd7a37aaea4b7c05c187d1ec759f3a388a5c 100644 (file)
@@ -643,9 +643,15 @@ Entry to this mode runs the hooks on `comint-mode-hook'."
   (make-local-variable 'comint-move-point-for-output)
   (make-local-variable 'comint-scroll-show-maximum-output)
   (make-local-variable 'comint-stored-incomplete-input)
+  ;; Following disabled because it seems to break the case when
+  ;; comint-scroll-show-maximum-output is nil, and no-one can remember
+  ;; what the original problem was.  If there are problems with point
+  ;; not going to the end, consider re-enabling this.
+  ;; http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00827.html
+  ;;
   ;; This makes it really work to keep point at the bottom.
-  (make-local-variable 'scroll-conservatively)
-  (setq scroll-conservatively 10000)
+;;;  (make-local-variable 'scroll-conservatively)
+;;;  (setq scroll-conservatively 10000)
   (add-hook 'pre-command-hook 'comint-preinput-scroll-to-bottom t t)
   (make-local-variable 'comint-ptyp)
   (make-local-variable 'comint-process-echoes)