unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: "emacs --daemon" does not load init file
Date: Tue, 25 Nov 2008 14:59:01 +0100	[thread overview]
Message-ID: <ggh0cf$onm$1@news.motzarella.org> (raw)
In-Reply-To: ggguhg$48i$1@news.motzarella.org

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?



  reply	other threads:[~2008-11-25 13:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1212.1227617005.26697.help-gnu-emacs@gnu.org>
2008-11-25 13:27 ` "emacs --daemon" does not load init file Richard Riley
2008-11-25 13:59   ` Richard Riley [this message]
2008-11-25 16:08   ` Chengqi(Lars) Song
2008-11-25 19:45     ` Tassilo Horn
2008-11-26  2:42       ` Chengqi(Lars) Song
2008-11-26  7:43         ` Adding toolbar buttons Maindoor
2008-11-26 13:18           ` Maindoor
2008-11-25 22:44     ` "emacs --daemon" does not load init file Peter Dyballa
2008-11-25  8:51 Chengqi(Lars) Song
2008-11-25 14:07 ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ggh0cf$onm$1@news.motzarella.org' \
    --to=rileyrgdev@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).