can the point have a longer history

Posted by stevejb on Stack Overflow See other posts from Stack Overflow or by stevejb
Published on 2010-04-26T17:49:53Z Indexed on 2010/04/26 17:53 UTC
Read the original article Hit count: 183

Filed under:

Hello,

I often find myself in the following situation. Say I was editing a file with this contents

\begin{itemize}
\item
\end{itemize}

I really like http://stackoverflow.com !

And say the point was after the word \item. What I want to do is select http://stackoverflow.com , C-w it, and go back to \item, and yank it there. What I would do is C-s htt and that would bring the point to the 2nd t of http, and from there I would go backwards, C-SPC on h, then select the rest of the word. Now, I would like to use something like C-x C-x to bring me back to \item, but it will instead bring me back to the h of http. Is there a command like C-x C-x which brings the point back through its history of location?

Thanks,

© Stack Overflow or respective owner

Related posts about emacs