Would-be Speaker McCarthy can learn from predecessors' strug