[OS X Emacs] command line

Jamie Taylor Jamie.Taylor at pobox.com
Fri Feb 8 18:29:34 EST 2019

On Fri, Feb 08, 2019 at 04:40:00PM -0500, Stephen Anderson wrote:
> Would it be possible to get more information on the command line invocation of Aquamacs?

> $ /Applications/Aquamacs.app/Contents/MacOS/Aquamacs --help

In particular, you want these options
> FILE                    visit FILE using find-file
> +LINE                   go to line LINE in next FILE
> +LINE:COLUMN            go to line LINE, column COLUMN, in next FILE

For example:

> $ /Applications/Aquamacs.app/Contents/MacOS/Aquamacs +3:15 ~/.emacs

Note that this will open a new instance of Aquamacs, even if one is
already running.  You may want to use emacsclient instead if you generally
have an emacs session already running and want to open the file in the
existing session.  See
> $ /Applications/Aquamacs.app/Contents/MacOS/bin/emacsclient --help
for emacsclient usage.

More information about the MacOSX-Emacs mailing list