From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Setting rectangle-preview face in init. Date: Fri, 11 Oct 2019 17:08:38 +0300 Message-ID: <83o8ynpe6x.fsf@gnu.org> References: <20191011124530.kzj7ucywfeysxbty@Ergus> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="125361"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 11 16:11:00 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 1iIvdD-000WSr-Uc for ged-emacs-devel@m.gmane.org; Fri, 11 Oct 2019 16:11:00 +0200 Original-Received: from localhost ([::1]:51030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIvdC-0005X0-Lo for ged-emacs-devel@m.gmane.org; Fri, 11 Oct 2019 10:10:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42192) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIvbA-0003VD-BF for emacs-devel@gnu.org; Fri, 11 Oct 2019 10:08:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iIvbA-0005JE-4Y; Fri, 11 Oct 2019 10:08:52 -0400 Original-Received: from [176.228.60.248] (port=1704 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iIvb8-0007An-So; Fri, 11 Oct 2019 10:08:51 -0400 In-reply-to: <20191011124530.kzj7ucywfeysxbty@Ergus> (message from Ergus on Fri, 11 Oct 2019 14:45:30 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:240884 Archived-At: > Date: Fri, 11 Oct 2019 14:45:30 +0200 > From: Ergus > > I am trying to set the rectangle-preview face in my init.el (to set it > different to region) but I get an error that rectangle-preview is not > a valid face. I see it is not documented, but it is supposed to be > customizable in the customize dialog. > > What I am missing here?? > > Is it possible that rect.el is loaded lazily, so when the init.el is > executed it has not been loaded yet? How do you cause rect.el to be loaded in your init.el?