From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Modify a font colour that has no colour name Date: Mon, 02 Dec 2019 17:41:07 +0100 Message-ID: References: <20191201181505.62c1ab34@mistral> <20191202102352.38dc1362@mistral> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="89126"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs mailing list To: jonetsu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 02 17:41:30 2019 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ibolO-000N4y-37 for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Dec 2019 17:41:30 +0100 Original-Received: from localhost ([::1]:38360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibolM-0007Uq-Ui for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Dec 2019 11:41:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58897) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibol5-0007SZ-MC for help-gnu-emacs@gnu.org; Mon, 02 Dec 2019 11:41:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibol4-0006gK-Kk for help-gnu-emacs@gnu.org; Mon, 02 Dec 2019 11:41:11 -0500 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:46256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ibol4-0006g9-EO for help-gnu-emacs@gnu.org; Mon, 02 Dec 2019 11:41:10 -0500 Original-Received: by mail-wr1-x431.google.com with SMTP id z7so41688015wrl.13 for ; Mon, 02 Dec 2019 08:41:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=2Mvzj5z7u0HOpz2xVitXAyW77TI2P6VNk6uMOt+4ZEQ=; b=O5slaa7M36D4q3Z1gDTqCguuk9BXtQmGuA656q3edglA159SvqhR1GzPM/AR4VhPyg RiOhQZf+Ckl5BnVP/he3IveSX4YHJtdsZp7da8AaBaDyovo5qzTyhLpV/fmIdfqfT6m+ VJzhKbp83xfgVHATZON8jf0MuDrfbll/MkfOJ58Jik29S4qKJM/q6BCPvZXHnUFPfPFX +XtCZZmIVuiwQcylQ80t+lZMnKVj/gMrY05qDn5BK1UuyUQEYPxJPJIFIBXdk9DtjxNl lIkH1i86NHzfJC90ZfeDM2shONwA0lV9U0174juyDDgirIudPoz1aiVPhHwW3a5CNnph urrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=2Mvzj5z7u0HOpz2xVitXAyW77TI2P6VNk6uMOt+4ZEQ=; b=Mxbq27eCmf6U8iiaHglG59z73djfq5V65+96c3ioU/gOAfZEiosVcn6jGHUSTow21G veh0BWex1+ISMorGHj0OejRsZXFFuttpLQ21iBOwQS8anqne3kgTg8FFS9fUvTpSRP0A tRklHDKxcXZgkFsu7VGc18SCYMGibnzLjTnq3oZ8mg/TyU/nyX0ujAJ5MVEL5xju8eMp e8yQmqore9SqqdZE8OFsv9Ohe64ZSv2Sj34crp0htLtKF89fnMzzYnL4FWTlZJCbEiQ9 xPI5D0R4f6+fTZXoL+3i1FvuAz0W/GAWKpdz7fPlTQm6rho4CdiQk6l9RnG4GWbqeLAD ypvA== X-Gm-Message-State: APjAAAV4ikxSFtQniOCp5nlkRDeKRh/XNsTtF42Thx8B4PoIwKiHc1V0 1lFMNV0ei0+LkYJ5ljQLUvtwTBYi X-Google-Smtp-Source: APXvYqzFdBhPpJ2+o0K/2yvFCnIua2wQMHmMUuLp27ioWK2lxaK4i1e74LBDlWpzNx/W2YWLhSAtdw== X-Received: by 2002:a5d:6b45:: with SMTP id x5mr1907952wrw.16.1575304868825; Mon, 02 Dec 2019 08:41:08 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id 16sm442260wmf.0.2019.12.02.08.41.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2019 08:41:07 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <20191202102352.38dc1362@mistral> (jonetsu@teksavvy.com's message of "Mon, 2 Dec 2019 10:23:52 -0500") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121982 Archived-At: >>>>> On Mon, 2 Dec 2019 10:23:52 -0500, jonetsu said: jonetsu> On Mon, 02 Dec 2019 15:13:42 +0100 jonetsu> Robert Pluim wrote: >> No code needed: C-u C-x = will tell you which face is being used by >> the character under point. jonetsu> On the first screen, yes. Where it shows: jonetsu> There are text properties here: jonetsu> face org-link jonetsu> 'org-link' is a link itself. Clicking it gives another screen, with jonetsu> two links at the top: jonetsu> Face: org-link (sample) (customize this face) jonetsu> Clicking 'customize this face' gives another screen which shows the jonetsu> well-known field where to enter the colour name. On that screen jonetsu> 'Inherit' is enabled and in lieu of the colour the following is shown: jonetsu> Face: (sample) link jonetsu> 'link' is where the colour name would be. Changing 'link' for an jonetsu> actual colour name it does not give good results. Hence my question. 'Inherit' means 'inherit everything from this named face'. If you want to set the colour directly, you should click on 'Show All Attributes', and then set the 'Foreground' attribute as desired. Robert