It seems to me as if set-window-point and goto-char don't do the same thing.
set-window-point basically executes the following statements:
--- snip ---
if (w == XWINDOW (selected_window)
&& XBUFFER (w->buffer) == current_buffer)
Fgoto_char (pos);
else
set_marker_restricted (w->pointm, pos, w->buffer);
--- snip ---
This is right--they are not the same. set-window-point sets
the point value of the window you specify, whether or not
it is selected, and regardless of what buffer it is displaying.
I thought this was clearly documented, but if you did not
find it clear enough, can you show me the specific places
in the manual which I should clarify?
_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug