Emacs opens files in a new frame when opened with "open -a"
Fresh3 days ago
Mar 15, 20268926 viewsConfidence Score0%
0%
Problem
I want to be able to invoke Emacs from the command-line, and either start graphical Emacs if it isn't running or visit a file in an already running Emacs. I tried to do this with which I know is the "right" way to do this, but I had a lot of problems with it on OS X, it would randomly crash, or the…
Error Output
$ open -a Emacs file.txt
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Emacs opens files in a new frame when opened with "open -a"
Low Risk
Answer is here: emacs variable to "open with" in original frame It's a change to the default settings in newer versions of emacs. Add: to .emacs file. Very happy to have found this.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix