Open GoogleCodeExporter opened 8 years ago
An alternative way to do this is to use the following command, you can add
these definition in .bashrc file and then source .bashrc
# emacs client for fast launching emacs
em () { emacsclient -t -a "" $1; }
emc () { emacsclient -c -a "" $1; }
So you can launch several emacsclients sharing the same emacsdaemon. And when
you launch your first emacsclient, it will detect the existing emacsdaemon, if
the daemon does exist, emacsclient will create a new one. Next time it will
launch the emacsclient very fast.
I am not sure if this is what you want.
Original comment by WeiDong....@gmail.com
on 10 Dec 2010 at 9:14
I forgot to say
em is used to load the emacs in the terminal text mode. And emc will launch a
X11 emacs. In the X11 emacs mode, if you found the color-theme of emacs changes
a lot, you can use M-x color-theme-ahei to load ahei's configuration.
Good luck to you.
Original comment by WeiDong....@gmail.com
on 10 Dec 2010 at 9:17
Dear WeiDong,
Actually, the function of the script which was added to .bashrc you mentioned
above, was the same which the command "emacs -daemon", and then use command
"emacsclient -c" to new a emacsclient in current terminal.
However, the error message was popped up when running command "emacs --daemon"
...
It can not solve the issue.
Original comment by wxjea...@gmail.com
on 10 Dec 2010 at 9:42
Original issue reported on code.google.com by
wxjea...@gmail.com
on 4 Dec 2010 at 6:48