[OS X Emacs] Terminal loses focus when I use 'emacsclient -t'
Piet van Oostrum
piet-l at pietvanoostrum.com
Thu Sep 15 17:08:03 EDT 2016
Eamon Doyle <eamon at cornercase.net> writes:
> Hi all. I’m trying to set my EDITOR environment variable to ‘/Applications/Aquamacs.app/Contents/
> MacOS/bin/emacsclient -t’ so that when I run a git commit, I can type my commit message in the
> terminal using Aquamacs without having to open a new instance of emacs. However, when I do this,
> after the terminal opens the text client, the graphical Aquamacs window takes focus. Is this
> expected behavior? I would think that the terminal window should keep focus for the duration of
> the interaction.
I think it shouldn't do that. I have an older emacsclient in /usr/local/bin/ that doesn't have this behaviour, so i guess it is a bug. See if you can find an older one. On the other hand, with just Cmd-TAB you are back.
Why don't you just edit the file in the graphical aquamacs. Isn't that more comfortable?
--
Piet van Oostrum <piet-l at pietvanoostrum.com>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
More information about the MacOSX-Emacs
mailing list