[climacs-devel] M-q issues: undo doesn't work after, DREI-BUFFER:OFFSET-AFTER-END during

Nikodemus Siivola nikodemus at random-state.net
Tue May 19 09:33:10 UTC 2009


in foo.lisp:

(defun foo ()
  "Line one.

Line two."
  (bar))

hit M-q on the start of `Line two.' in the docstring. Result is

(defun foo ()
  "Line one.  Line Two."
  (bar))

C-_ move the `Line two.' part back and forth, but does not restore the
original before running out of undo.

Add following forms in the the same file after FOO, and try the
reindent again: Climacs lands in the debugger with OFFSET-AFTER-END
error.

(defmacro qx-macro (type n)
   `(let ((n ,n))
      (declare (,type n))
      (decf n)))

 (defun qx (a)
   (declare (optimize speed))
   (qx-macro fixnum a))

Cheers,

 -- Nikodemus




More information about the climacs-devel mailing list