I have a buffer in which the pressed keys echo, and I want the cursor in it always be at the very end. How can I accomplish this?

1 Answer 1


I found my answer: https://stackoverflow.com/questions/12663061/emacs-auto-scrolling-log-buffer

Then do a (set (make-local-variable 'window-point-insertion-type) t) inside this log buffer. If the cursor is then placed at the end of the buffer, it should stay there (at the end) when text is appended, thus causing scrolling as needed.

PS: This solution needs evil insert mode and the cursor at the end, so it isn't very satisfactory. An elisp minor mode would be much better, if someone knows how to write it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.