> > I suppose this happens because signal_after_change > is called with arguments `opoint' and `PT - opoint' where opoint = 1090 > and PT = 1090 + 52 + 1. > > Can you find the line number of the call to signal_after_change? > We need to determine why its argument FROM is incorrect.
It's the call in `insert_and_inherit' around line 770 of insdel.c in the particular example. However, if some before-change-function inserts or deletes text before the position where the change happened, you will get an "incorrect" FROM for any insert using the "opoint" / "PT - opoint" concept. _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
