Provided you've run server-start in your Aquamacs session (either via your init file, or manually) you can then do /Applications/Aquamacs.app/Contents/MacOS/bin/emacsclient -c +22 ~/myfile.txt I should add that Aquamacs does come with an associated emacsclient that works just fine. If you already have Aquamacs running, and try do open -A Aquamacs my_other_file.txt -args +39Īquamacs will open my_other_file.txt in a new bufer, but it will not move to line #39. Note, that because of the way that open works, this will only work when starting a fresh Aquamacs session. That is, open myfile.txt and move the cursor to line #22. Assuming you have Aquamacs.app properly installed open -a Aquamacs myfile.txt -args +22 (I believe it's fixed on trunk.)Īquamacs is basically a wrapper around macOS's open, so you can just do by hand what aquamacs is doing. As mentioned by Aquamacs command line helper aquamacs is broken.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |