Gunnar Evermann <ge204(a)eng.cam.ac.uk> writes:
(switch-to-buffer "FOO")
(insert "123456")
(defun acf (start end len)
(widen)
(goto-char 4)
(delete-char 1))
(let ((after-change-functions '(acf)))
(save-restriction
(narrow-to-region 4 4)
(transpose-lines 1)))
this instantly triggers the assertion.
Note that it triggers this even in a non-mule emacs...!
For me it triggers on
Fatal error: assertion failed, file insdel.c, line 1117, ( retval) >= BI_BUF_BEG (buf)
&& retval <= BI_BUF_Z (buf)
which is not surprising given that we are messing with the
narrowing...
Jan