[OS X Emacs] command line

Peter Dyballa Peter_Dyballa at Web.DE
Sat Feb 9 04:16:27 EST 2019


> Am 8.2.2019 um 22:40 schrieb Stephen Anderson <sra.linguist at gmail.com>:
> 
> Would it be possible to get more information on the command line invocation of Aquamacs?

Something like this should help on the command line: /Applications/Emacs.app/Contents/MacOS/bin/emacs --help

Inside Emacs you could invoke the info facility, C-h i, and then go to the Emacs entry (type: m emacs). There is the node "Entering Emacs."

Here you might find a hint to "Emacs Server" which is a more efficient concept than launching Emacs every time you need it for some small work. (And then quitting.) Once Emacs is launched and runs, load the TeX file into some buffer and start the server mode (M-x server-start). Then you can use the following command to make Emacs go to the faulty line:

	/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -e '(goto-line $1 "$2")'

Your file paths might be different.

--
Greetings

  Pete

Clovis' Consideration of an Atmospheric Anomaly:
        The perversity of nature is nowhere better demonstrated than by the fact that, when exposed to the same atmosphere, bread becomes hard while crackers become soft

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2606 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20190209/07b50838/attachment.p7s>


More information about the MacOSX-Emacs mailing list