code: def qteMoveToEndOfBuffer(self):
          
          tc = self.qteText.textCursor()
          tc.movePosition(QtGui.QTextCursor.End)
          self.qteText.setTextCursor(tc)
docs: Move cursor to the end of the buffer to facilitate auto
          scrolling.
  
          Technically, this is exactly the 'endOfBuffer' macro but to
          avoid swamping Qtmacs with 'qteRunMacroStarted' messages to no
          avail it was implemented here natively.