>> martin rudalics >> on Fri, 21 Dec 2012 15:25:07 +0100 wrote: [...] >> So the point is clearly moved in select-window. Moreover the (point) >> equals (window-end) just before select-window is called, so it is >> visible. Consequently, the following (comint-adjust-point selected) is >> completely screwed because it relies on point *not* being moved! [...] >> >> The variable `comint-scroll-show-maximum-output' is the default t, this >> is why comint runs `comint-postoutput-scroll-to-bottom' in its >> `comint-output-filter-functions'. >> >> I can propose a patch for commit to reset the point, [...] Here is a patch of the comint-postoutput-scroll-to-bottom to circumvent resetting the point on select-window. Thanks, Vitalie