From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Setting rectangle-preview face in init. Date: Fri, 11 Oct 2019 16:10:22 +0200 Message-ID: <20191011141022.jqcc4d6ic4qvstvl@Ergus> References: <20191011124530.kzj7ucywfeysxbty@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="141716"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: "\"T.V Raman\" via \"Emacs development discussions.\"" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 11 16:14:56 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIvh1-000am9-ML for ged-emacs-devel@m.gmane.org; Fri, 11 Oct 2019 16:14:55 +0200 Original-Received: from localhost ([::1]:51140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIvh0-00021T-Et for ged-emacs-devel@m.gmane.org; Fri, 11 Oct 2019 10:14:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42573) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIvcx-0006dw-9q for emacs-devel@gnu.org; Fri, 11 Oct 2019 10:10:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIvcv-00065x-NI for emacs-devel@gnu.org; Fri, 11 Oct 2019 10:10:42 -0400 Original-Received: from sonic302-20.consmr.mail.ir2.yahoo.com ([87.248.110.83]:45744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIvcu-000659-Qa for emacs-devel@gnu.org; Fri, 11 Oct 2019 10:10:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1570803038; bh=ozQuNQSc+QMCcXuskJrSIX7mU9X/+MsSMFTtkT0+4Q0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=U3iW6uLDEajnNOsfFL4qJRq3KSfa7MjvVUPb84turTBNds58v84WRbZNVc8d1NvBwWtevY2FGKNFpfFu5JJli+1483hYqJHvgZlF48VztslIgcCVLtsXFeJKScASxxv4F6v38s7xyJMfRX1VwwXlDlqjLnHAwRabftCfErBBkhzglGDgSUqTtp8mIXyTGHx/K1VDLPfKT/1RR4INozfy/k8feEEgZ+fSovJNbJvz/KxJxOZaldLJLM+tJH/FWdHAPS/hAeBJ6T+s5LfA9ljfM4zEBSdKwHX+q//D7zkYL1+wg2dsC36pY1BjbwZIsq1lHmv5De+8p875I5EHDUyhbw== X-YMail-OSG: XoOIKAgVM1lHqZPg.GHQZ3_Iu7QnJOXe3cy8U627ddQJXWN5MHxJb4Mxsicdrx. vWbaizeQOvvhhb4FH439xoyxInJEHmK5lCQPgBS486__ljbXoBdbaFUTMfvLpot8S765YziJKA_C QJaEmKnr6VkWOp8oYyoRu7gX22fJhizkIumd.KMBUhoSA2HyeBse40WJLcMMUUve5argbYBfB1jV IDETLeqF9Au27qdkhGpGQeZ__vimRQa_kKC6g2rgsAscD4ZBkoksi_uzmXbYD0OyZOm14Zs7LmR2 MXDRFSkdUnDInbvSZzZRRYSpQTX4PVlzKb93xXpUcSCb5QRNxmSnKjUIc5jnw6VqoiFMFpGFjTxk .f0rkoCUAxGqJ6aVm7XdaGkcDta9V3r0J52QO_FhkivuKibS40pWA458CbF85dh_2OzAyiI4Izi2 t678wVLS0O_ZXXKc0iutue10ZsHsTu3upWpORMlmyiYxQhamH4q9UDBe.ZH7ILawyHRAafldJP.3 .gQCOgErSHmSvgZGZsVrwCictg.lKyA1xW2WCQhClF1wQCksDw0Jg2Fnuld8LVrwDB3Se0EhWAcC Hez1vrYnsfIAdWGf5QtAVHH5JwwheLN5Gxct6SEyCR6GUqZ46rw3ZoXaHAyvOONimDmobp_gXKlx ZeZOJAQEOS2k8_mxEUV6Ynp0S0XEdfosoI7YSETrspIuyxb8b2aRPJ7INj91kIZrCHPdJt38WCyS JysdFcWHWPsqcchY0xlblFxyrBIk64SfwJ.TLOz.CJm5Pqy2AtIn2salZtk3nYhsgZmbILuFqtiC 9oVpsSC4QcUEgN_rB1Kbm5GXv2P1T.9.8IT7sy3pdl Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Fri, 11 Oct 2019 14:10:38 +0000 Original-Received: by smtp416.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID b6264adeb94d77edee21ad90ed0f098b; Fri, 11 Oct 2019 14:10:35 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 87.248.110.83 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240886 Archived-At: On Fri, Oct 11, 2019 at 10:00:16AM -0400, Stefan Monnier wrote: >> I am trying to set the rectangle-preview face in my init.el > >How? > (set-face-attribute 'rectangle-preview nil :background "#cd0000") And I get: ============================== Warning (initialization): An error occurred while loading ???/home/ergo/.emacs.d/init.el???: error: Invalid face, rectangle-preview To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ???--debug-init??? option to view a complete error backtrace. ============================= >> Is it possible that rect.el is loaded lazily, so when the init.el is >> executed it has not been loaded yet? > >It's perfectly normal and a common occurrence for custom-set-faces to be >used before some of the faces are defined, so it's seems unlikely to be >the source of the problem. > > > Stefan >