code: def focus_next(self):
          
          mid = self.get_selected_mid()
          newpos = self._tree.next_position(mid)
          if newpos is not None:
              newpos = self._sanitize_position((newpos,))
              self.body.set_focus(newpos)
docs: focus next message in depth first order