In Emacs, how do I set a label to refer to a certain position in the file and return to that point using that label?
-
For e.g. I want to label the position 3rd column in line 2 using say "l2c3" and then from any position in the file, be able to invoke something like "goto l2c3" to get me back at that position. I remember using this in the past but am unable to recall how I did it. Something to do with markers?
-
Answer:
What you're looking for is bookmarks. C-x r m <RET> to set-up a bookmark and C-x r b <name of the bookmark> to go back to it. http://www.gnu.org/software/emacs/manual/html_node/emacs/Bookmarks.html
Eric Arnal at Quora Visit the source
Related Q & A:
- How do I convert a PDF file to PDF/A in Delphi?Best solution by softwarerecs.stackexchange.com
- How do I set a Gtk.StatusIcon as Text?Best solution by stackoverflow.com
- How do I upload a picture instead of using a generic avatar?Best solution by answers.yahoo.com
- How do I set up windows 03 server as a server?Best solution by Yahoo! Answers
- How do I set a video as a picture?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.