When you debug code that edits the text of a buffer, the window of that editable buffer is open. Interested in consistently displaying the position of a point in this window relative to the buffer being edited. When instrumenting code, traps are used so that windows do not close when the evaluation buffer is run

(defun zpskEdbg()
  (eval-defun t) 
  (add-hook 'edebug-setup-hook 'ustnxkPrmnnh)

(defun ustnxkPrmnnh()
  (setq edebug-save-windows t)
  (setq edebug-save-displayed-buffer-points t)

In the evaluation buffer, the position of the point of the editable buffer changes, how do I get the window to show a change in this position? Thank you.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.