From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime Newsgroups: gmane.emacs.help Subject: Re: Inserting background colour at column Date: Sat, 03 Dec 2022 03:54:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25425"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime via Users list for the GNU Emacs text editor To: Eduardo Ochs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 03 04:55:00 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p1JcC-0006QK-Ba for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 03 Dec 2022 04:55:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1Jbl-00073g-V0; Fri, 02 Dec 2022 22:54:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1Jbk-00073L-Co for help-gnu-emacs@gnu.org; Fri, 02 Dec 2022 22:54:32 -0500 Original-Received: from mail-4325.protonmail.ch ([185.70.43.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1Jbi-0005oc-4e for help-gnu-emacs@gnu.org; Fri, 02 Dec 2022 22:54:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1670039666; x=1670298866; bh=0pedX4jgeajmL6zpVlSNsqaXLbRgrNm3jy1w5SlfAdg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=iUG+o2K/4Kx/VIN8TDZqGRjJlDg0Vb+8lzxPDppWRmvH7JhGA71+i55Zq/J8LCPtk OLs5mmEJGkur9zteCSv+DAFwl53yQrSwaOdtoVuVFvTIcT14X5lkk3QSdpsQW5pDFd UE8MtNZjTAB/s/pqCfw3MsJ3h4pXNJDe751ERCa7hFjLnzn1Xthg3uRu08H1dxljWN 27Wv2tuG8mt+5B3qVcjCp2JJ0IfrDyz9YHOldRIkKkuYDVY+MEizlnocqwcSdPPZRj WMUDJaZXj9E7ueEeTL3KWBb70wGSkd/LlN2TooPsi3rqgH/3TRcRqobDWsKVTimfX0 Q2TizagAFsTuQ== In-Reply-To: Feedback-ID: 57735886:user:proton Received-SPF: pass client-ip=185.70.43.25; envelope-from=heimeborgia@protonmail.com; helo=mail-4325.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141304 Archived-At: Sent with Proton Mail secure email. ------- Original Message ------- On Saturday, December 3rd, 2022 at 3:46 AM, Eduardo Ochs wrote: > On Sat, 3 Dec 2022 at 00:37, Heime heimeborgia@protonmail.com wrote: >=20 > > The following did not colourise the letter "T". > >=20 > > (insert (propertize "T" 'face '(:foreground "green" :background "blue")= )) >=20 >=20 > This >=20 > (insert (propertize "T" 'face '(:foreground "green" :background "blue"))) >=20 > works in fundamental mode for me. Did you try it in fundamental mode? I have also tried this one (insert (format (propertize "%s" 'face '(:foreground "green" :background "blue"))) "T") =20 > Jean Louis was discussing something similar to that here on the list a > few weeks ago, and I sent this detailed answer to him: >=20 > https://lists.gnu.org/archive/html/help-gnu-emacs/2022-11/msg00368.html >=20 > Look at the last lines of my message... >=20 > In emacs-lisp-mode the "Hello" had this among its text properties, >=20 > (face font-lock-comment-face) >=20 > and this took precedence over the face from the category. >=20 > Does that help? > Cheers, > Eduardo Ochs > http://angg.twu.net/eepitch.html