From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Daniele Nicolodi Newsgroups: gmane.emacs.devel Subject: Re: Setting rectangle-preview face in init. Date: Fri, 11 Oct 2019 10:13:57 -0600 Message-ID: <1bb29fd0-73e3-8370-a666-e9fa8c7de787@grinta.net> References: <20191011124530.kzj7ucywfeysxbty@Ergus> <20191011141022.jqcc4d6ic4qvstvl@Ergus> <20191011154429.dcoogy5kqzdhdhh7@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="40265"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 11 19:56:33 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 1iIz9V-000ANy-A2 for ged-emacs-devel@m.gmane.org; Fri, 11 Oct 2019 19:56:33 +0200 Original-Received: from localhost ([::1]:55012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIz9T-000794-Ku for ged-emacs-devel@m.gmane.org; Fri, 11 Oct 2019 13:56:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38890) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIxYP-000889-Sf for emacs-devel@gnu.org; Fri, 11 Oct 2019 12:14:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIxYM-0001s2-K5 for emacs-devel@gnu.org; Fri, 11 Oct 2019 12:14:09 -0400 Original-Received: from zed.grinta.net ([109.74.203.128]:51804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iIxYM-0001mI-3I for emacs-devel@gnu.org; Fri, 11 Oct 2019 12:14:06 -0400 Original-Received: from 688dnmac.campus.nist.gov (unknown [132.163.81.39]) (Authenticated sender: daniele) by zed.grinta.net (Postfix) with ESMTPSA id A8CFCE0CA6 for ; Fri, 11 Oct 2019 16:13:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=mail; t=1570810439; bh=P4c6o7bPhEviR4pXbA/MGJQMdHic9HLS5Nyl506x2/E=; h=Subject:To:References:From:Date:In-Reply-To:From; b=nI8/bhc0bYnWoEKVTbo1h+7XlSb20K0vVHnP121zntl+OvFJ8VxZ2HhRCBB+5EFeF EN9AELhoLnOJn/OdqFeXoH4jw20sLQ5HRu7gXXlUVamw3z1OyXN5TR0GykJOksljws +mdLqa07WBW+K2HxPQMNk4FDaAWkfJ+XpV65/1L8= In-Reply-To: <20191011154429.dcoogy5kqzdhdhh7@Ergus> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 109.74.203.128 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:240892 Archived-At: On 11-10-2019 09:44, Ergus wrote: > On Fri, Oct 11, 2019 at 10:22:29AM -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") >> >> Why?=C2=A0 Use Customize instead.=C2=A0 It really works much more sane= ly for faces. >> > Thanks for the answer. I will find another way in any case. But this is > the first time this happens to me. >=20 > Just to comment: >=20 > I don't like to use Customize interfaces because: [snip] I think Stefan was trying to point you to `custom-set-faces`. Cheers, Dan