From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Liang Wang Newsgroups: gmane.emacs.devel Subject: Re: emacs --daemon and X faces becoming "unspecified" Date: Sat, 7 Feb 2009 15:45:59 +0800 Message-ID: References: <87ocxg6ko9.fsf@bar.jrock.us> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233992776 31986 80.91.229.12 (7 Feb 2009 07:46:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Feb 2009 07:46:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jonathan Rockway Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 07 08:47:31 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LVhuU-0006dh-UE for ged-emacs-devel@m.gmane.org; Sat, 07 Feb 2009 08:47:31 +0100 Original-Received: from localhost ([127.0.0.1]:44070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVhtB-0007Nm-JM for ged-emacs-devel@m.gmane.org; Sat, 07 Feb 2009 02:46:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVht6-0007Nh-0W for emacs-devel@gnu.org; Sat, 07 Feb 2009 02:46:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVht4-0007NV-DW for emacs-devel@gnu.org; Sat, 07 Feb 2009 02:46:03 -0500 Original-Received: from [199.232.76.173] (port=47171 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVht4-0007NS-9E for emacs-devel@gnu.org; Sat, 07 Feb 2009 02:46:02 -0500 Original-Received: from wa-out-1112.google.com ([209.85.146.180]:25185) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVht3-0002KI-KT for emacs-devel@gnu.org; Sat, 07 Feb 2009 02:46:02 -0500 Original-Received: by wa-out-1112.google.com with SMTP id k17so560938waf.26 for ; Fri, 06 Feb 2009 23:46:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=710cZ2RF5B/aHNVKwxxD8xRAm3gE8YmqB6Rm5HwI0fM=; b=xT0TuWLH/Oh3tgeG2eDKcEEBuVqSCVtrnEpIvTJCHCacZdohaEN7H32IZ5KUiqgOTG HzKZvnvT7SN14gZ29sE/wDYxyXN1UilQ0tjGfNrhGiHZox7BrOEOvI4jXK7pkx6fksBw czAxQa0VN+EdzOH9LLYezDRx9gJuPjLZzmJzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZcIn7id5rcF1nADQSqUQQ/mr2QO9BtjPmTP+hd5gn5/NIz+cBeBFB1MwVhmbqlsuoJ C3MsRDOSMQG5GSGAthhlnDTVnGJsG8ODRDxyGPz+YCks+laoTlgDWmXh67vq29Nq05fC PLatmtNUbqPm4pCJ6FBjkUg8FjoyJglrTaF/o= Original-Received: by 10.114.211.17 with SMTP id j17mr1846697wag.61.1233992759953; Fri, 06 Feb 2009 23:45:59 -0800 (PST) In-Reply-To: <87ocxg6ko9.fsf@bar.jrock.us> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108848 Archived-At: On Fri, Feb 6, 2009 at 4:20 PM, Jonathan Rockway wrote: > > Hi all, > > I've recently started using emacs --daemon + emacsclient -c as my > primary means of interacting with emacs. Generally, it works great, but > I have noticed that I can no longer set the default face via custom. > > In my custom-set-faces section, I have a line that looks like: > > '(default ((default (:stipple nil :background "black" :foreground > "gray90" :inverse-video nil :box nil :strike-through nil :overline nil > :underline nil :slant normal :weight normal :height 72 :width normal > :foundry "bitstream" :family "Bitstream Vera Sans Mono")) (nil nil))) > > The key is that "background" is black. I do indeed get a black > background, but if I view the default face in custom, custom thinks the > background is "unspecified-bg". If I change this to something else and > set or save the custom face, emacs goes into an infinite loop. (I can > provide more details about this; C-g doesn't kill it, though.) > > Everything else generally works OK, except occasionally I get > messages like ``Unable to load color "unspecified-bg" [6 times]'' in > *Messages*. This doesn't seem to be causing any malfunction, though. > > Finally, if I just run "emacs" normally (not emacsclient -c), everything > works fine. The color is "black" in customize, I don't get warning > messages, and I can change the color and set/save. > > Anyway, any pointers on where to look for the cause of this would be > appreciated. It doesn't seem to be a very critical problem, but it > would be nice to understand what's causing it. > > Regards, > Jonathan Rockway > > -- > print just => another => perl => hacker => if $,=$" > > > I had same issue before. After I move almost all of other customization below custom-set-faces in .emacs file, this problem is gone. I don't know why. :-) Liang