.emacs I have
.bashrc I have:
export ALTERNATE_EDITOR="emacs-snapshot" export VISUAL="emacsclient-snapshot -c"
When I run
emacsclient -c EXISTING-FILE on the command line, I start a new Emacs, rather than connecting to the existing one. What am I doing wrong, and how can I change it so that emacsclient finds the existing Emacs?
To confirm that there really are two processes: in a shell within the original Emacs:
$ ps -A | grep emacs 24646 tty2 00:00:03 emacs-snapshot 24658 ? 00:00:00 emacsql-sqlite
In the new one launched by emacsclient:
$ ps -A | grep emacs 24646 tty2 00:00:03 emacs-snapshot 24658 ? 00:00:00 emacsql-sqlite 24839 pts/0 00:00:03 emacs-snapshot 24897 ? 00:00:00 emacsql-sqlite
pts/0 a clue?