From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Inserting background colour at column
Date: Sat, 03 Dec 2022 09:20:23 +0200 [thread overview]
Message-ID: <83fsdxdkco.fsf@gnu.org> (raw)
In-Reply-To: <wAJWfzWrr2ieDZu9hZxS1mzLhLXEoai8GpGQHIuDE0tLSysIJS4F83L7hDgVVQk0Jo2PK69cv7sh8Y9CdoSlmBWKF_exUebJlW94RPAnfGA=@protonmail.com> (message from Heime on Sat, 03 Dec 2022 03:36:27 +0000)
> Date: Sat, 03 Dec 2022 03:36:27 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
> The following did not colourise the letter "T".
>
> (insert (propertize "T" 'face '(:foreground "green" :background "blue")))
You cannot add faces in a buffer with font-lock-mode turned on, because
font-lock wants to control all faces. Use 'font-lock-face' instead of
'face' in that case.
next prev parent reply other threads:[~2022-12-03 7:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-03 3:28 Inserting background colour at column Heime
2022-12-03 3:36 ` Heime
2022-12-03 3:46 ` Eduardo Ochs
2022-12-03 3:54 ` Heime
2022-12-03 4:08 ` Eduardo Ochs
2022-12-03 4:23 ` Heime
2022-12-03 6:45 ` Heime
2022-12-03 7:20 ` Eli Zaretskii [this message]
2022-12-03 7:31 ` Heime
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83fsdxdkco.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).