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->

5
  • Just put point at the end again... Commented Feb 6, 2016 at 13:49
  • @wasamasa what do you mean? I couldn't understand what you mean. 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. 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/… 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? 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->).

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.