From: "Chengqi(Lars) Song" <songcq@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: "emacs --daemon" does not load init file
Date: Wed, 26 Nov 2008 00:08:26 +0800 [thread overview]
Message-ID: <20081125160826.GA5457@lars-x200s> (raw)
In-Reply-To: <ggguhg$48i$1@news.motzarella.org>
Hi,
Yeah, when I run "emacs --daemon" in console it shows this error
message:
error: Fontset `tty' does not exist
But if run "emacs" there is no such message. Note that my emacs is
emacs-gtk.
The font setting script in my .emacs is:
;; font setting
(set-default-font "Bitstream Vera Sans Mono-10")
(set-fontset-font (frame-parameter nil 'font)
'chinese-gbk '("Microsfot Yahei-10" . "unicode-bmp"))
Is there anything wrong?
Best
Lars
On Tue, 25 Nov 2008, Richard Riley wrote:
>
> "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?
next prev parent reply other threads:[~2008-11-25 16:08 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
2008-11-25 16:08 ` Chengqi(Lars) Song [this message]
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=20081125160826.GA5457@lars-x200s \
--to=songcq@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).