help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "emacs --daemon" does not load init file


From: Chengqi(Lars) Song
Subject: Re: "emacs --daemon" does not load init file
Date: Wed, 26 Nov 2008 00:08:26 +0800
User-agent: Mutt/1.5.18 (2008-05-17)

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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]