From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: set-face-attribute when starting daemon Date: Mon, 02 Mar 2015 15:17:26 +0200 Message-ID: <83h9u3sfmh.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425302284 11128 80.91.229.3 (2 Mar 2015 13:18:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2015 13:18:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 02 14:17:55 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YSQEL-0006KS-Ir for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Mar 2015 14:17:53 +0100 Original-Received: from localhost ([::1]:57027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSQEK-00032d-VD for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Mar 2015 08:17:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSQE9-0002y3-C9 for help-gnu-emacs@gnu.org; Mon, 02 Mar 2015 08:17:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSQE6-0006Mm-4M for help-gnu-emacs@gnu.org; Mon, 02 Mar 2015 08:17:41 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:59689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSQE5-0006Mf-Sr for help-gnu-emacs@gnu.org; Mon, 02 Mar 2015 08:17:38 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NKL001005RKTA00@mtaout29.012.net.il> for help-gnu-emacs@gnu.org; Mon, 02 Mar 2015 15:13:30 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKL003QI62IKB00@mtaout29.012.net.il> for help-gnu-emacs@gnu.org; Mon, 02 Mar 2015 15:13:30 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102978 Archived-At: > Date: Mon, 2 Mar 2015 12:04:12 +0800 > From: Zhongwei Yao > > I run emacs --daemon into this error on mac os x: > Error: server did not start correctly > > and I find it is caused by my following configuration: > (set-face-attribute > 'default nil :font "Courier New 15")) Don't do that if daemonp returns non-nil. There are no frames when the daemon starts, and so no faces to change their attributes.