[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "emacs --daemon" does not load init file
From: |
Richard Riley |
Subject: |
Re: "emacs --daemon" does not load init file |
Date: |
Tue, 25 Nov 2008 14:59:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Richard Riley <rileyrgdev@gmail.com> writes:
> "Chengqi(Lars) Song" <songcq@gmail.com> writes:
>
>> Hi,
>>
>> I'm using emacs23 snapshot, now it has a fancy function "emacs
>> --daemon" to run emacs in background. But when I use "emacsclient -c"
>> to connect to the daemon, I found that my ~/.emacs is not
>> loaded. That's so bad, is there anyone experienced in emacs daemon?
>> Thanks.
>>
>> best
>> lars
>
> using CVS emacs, I use "emacs -daemon" and it executes the .emacs or
> init fine. "--" or "-" both seem to work from a bash shell btw.
>
> Are you sure there is no error in your .emacs? Did you run emacs -daemon
> from the command line where you can see any error output?
>
> Just to be sure - you dont expect emacs -c to run the .emacs?
^^^^^^^^^^^^^^^^^^^^^
I meant : "emacsclient -c"
And if Debian based Linux : And did you be sure to run "sudo
update-alternatives --config" for emacs
and emacsclient?