1

This issue might be related.

I have a SQL process viewed in a buffer in a frame.

When I send SQL-statements from another window in frame to the SQL-process in the another frame, I have to scroll my SQL buffer to see the details of output. When I'm in an another buffer, emacs stops "following" the SQL buffer, i.e., scrolling to automatically display new output.

Any idea how I can "reattach" or encourage Emacs to follow the SQL buffer?

UPDATE: As noted in the replies below, you can set up Emacs to follow the tail of the output again, with to set up the point to the end of the buffer with M->

6
  • Just put point at the end again...
    – wasamasa
    Commented Feb 6, 2016 at 13:49
  • @wasamasa what do you mean? I couldn't understand what you mean.
    – ReneFroger
    Commented Feb 6, 2016 at 14:05
  • Put the cursor at the end of the buffer, like with M->. Any further scrolling should keep it at the end.
    – wasamasa
    Commented Feb 6, 2016 at 15:22
  • The following link contains some ideas that can be borrowed to create a solution to this answer -- In emacs, can I set up the Messages buffer so that it tails? -- stackoverflow.com/questions/4682033/…
    – lawlist
    Commented Feb 6, 2016 at 16:51
  • @wasamasa thanks for your reply! Could you add it as answer, so I can mark it as the correct answer, in order to be findable for other users?
    – ReneFroger
    Commented Feb 6, 2016 at 22:06

1 Answer 1

1

To make buffers scroll along with newly appended contents, position point at their end (like with M->).

Your Answer

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

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