waipy / dea

Automatically exported from code.google.com/p/dea
0 stars 0 forks source link

while running emacs with daemon mode , error message showed up. #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run emacs with command "emacs --daemon"
2. check the output with this command
3. error message showed up in console

What is the expected output? What do you see instead?

no error message showed

What version of the product are you using? On what operating system?
dea-1.4
emacs23
fedroa 14

Please provide any additional information below.

ad-handle-definition: `moccur-grep-mode' got redefined
Connection file "/tmp/emacs500/server" deleted

Accessing directories in Dired will REUSE the buffer
Building list of manual directory expansions...
Building completion list of all manual topics...
Turned ON changing cursor when Emacs is idle.
Warning (initialization): An error occurred while loading `/home/Devil/.emacs':

Wrong type argument: sequencep, mew-icon-directory

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

Starting Emacs daemon.
Restarting server

Original issue reported on code.google.com by wxjea...@gmail.com on 4 Dec 2010 at 6:48

GoogleCodeExporter commented 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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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