> Regarding Re: vc-checkin: with headers always begin of buffer
(rcs); Julian Bradfield <jcb+xeb(a)jcbradfield.org> adds:
> Any idea why good old save-excursion does not work in your code?
I don't have a save-excursion.
If your question is, why don't I have save-excursion, the answer
probably that I didn't understand save-excursion when I wrote that
quick hack decades ago.
I don't know whether it would work.
I think it wouldn't; because probably checkin/out deletes all the
existing text from the buffer (thereby pushing both point and mark to
the beginning) before inserting the new text.
Well but this behavior only happens if there are keywords in the
buffer so I am not sure about your explanation.
I have the feeling there is a (goto-char (point-min)) call
in the code, if there are keywords in the buffer. However I
have failed to find such a line.
XEmacs-Beta mailing list