Sample Header Ad - 728x90

How do I open a file at specific line in a running emacs?

4 votes
2 answers
1106 views
emacs can be run from the command line to open a file at line n with a +n command line argument like so : $ emacs +n file I'd like to do the same from a running emacs instance, either via find-file or other means. Is that possible ?
Asked by ychaouche (1033 rep)
Feb 20, 2022, 03:02 PM
Last activity: Dec 1, 2022, 04:51 PM