Mike Kupfer <mike.kupfer(a)sun.com> wrote:
Suppose I start a shell buffer and start a command that generates
continuing output:
$ while true; do date; sleep 5; done
Mon Jul 3 11:28:05 PDT 2006
Mon Jul 3 11:28:10 PDT 2006
Mon Jul 3 11:28:15 PDT 2006
Mon Jul 3 11:28:20 PDT 2006
If, during the 5-second pause, I move point to the first date output, I
expect point to stay there, and for each successive "date" command to
append its output to the end of the buffer. And that's the behavior I
get with the xemacs-base 2.03 package.
But if I use the xemacs-base 2.06 package, point is forced back to the
bottom of the buffer the next time "date" runs.
I assume that this has something to do with the new version of
comint. I took a quick look at the customizable comint variables, and
I see that comint-move-point-for-output is nil.
This means that my recent workaround for the 21.5 insert-before-markers
bug was not quite right. I need to add a (goto-char opoint) at the end.
Unfortunately, doing so uncovered yet another bug ...
I'll submit a patch for the two problems you identified as soon as I
figure out how to fix the unnamed bug I alluded to above. Thanks for
the reports.
--
Jerry James, Assistant Professor james(a)xemacs.org
Computer Science Department
http://www.cs.usu.edu/~jerry/
Utah State University