From: Ergus <spacibba@aol.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: "\"T.V Raman\" via \"Emacs development discussions.\""
<emacs-devel@gnu.org>
Subject: Re: Setting rectangle-preview face in init.
Date: Fri, 11 Oct 2019 16:10:22 +0200 [thread overview]
Message-ID: <20191011141022.jqcc4d6ic4qvstvl@Ergus> (raw)
In-Reply-To: <jwvlftr4c4n.fsf-monnier+emacs@gnu.org>
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
>
next prev parent reply other threads:[~2019-10-11 14:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-11 12:45 Setting rectangle-preview face in init Ergus
2019-10-11 14:00 ` Stefan Monnier
2019-10-11 14:10 ` Ergus [this message]
2019-10-11 14:22 ` Stefan Monnier
2019-10-11 15:44 ` Ergus
2019-10-11 16:13 ` Daniele Nicolodi
2019-10-11 16:41 ` Stefan Monnier
2019-10-11 18:50 ` Yuri Khan
2019-10-11 14:08 ` Eli Zaretskii
2019-10-11 14:11 ` Ergus
2019-10-11 14:35 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191011141022.jqcc4d6ic4qvstvl@Ergus \
--to=spacibba@aol.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.