From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: "emacs --daemon" does not load init file Date: Tue, 25 Nov 2008 14:27:35 +0100 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227620961 810 80.91.229.12 (25 Nov 2008 13:49:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2008 13:49:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 14:50:24 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L4yJ3-00008Z-09 for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2008 14:50:21 +0100 Original-Received: from localhost ([127.0.0.1]:34414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4yHt-000619-HY for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2008 08:49:09 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!news.k-dsl.de!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-X-Trace: news.motzarella.org U2FsdGVkX1/3FIbFRoVEOZTctdq0A+amt7/76ICgdAa2AUsdYtx5iRmx2o9T7M4otblo9TH4g4SfXOhVQcHwsaGbZRMrpOI0ReYeZwRcfB7BrRA+K9fWPj4mrzpnzg1C+tGbV7QbaK8= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Tue, 25 Nov 2008 13:28:16 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1971By6704/9f1iWOmzsJ0eRS2avkdcsL9Kko8eg+G6TQ== Cancel-Lock: sha1:YuFIQu8U9QMZsXgelFQlGu1aIuA= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:164754 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60084 Archived-At: "Chengqi(Lars) Song" 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?