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 06:45:15 +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="23925"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eduardo Ochs , Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 03 07:46:28 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 1p1MI7-00061X-UW for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 03 Dec 2022 07:46:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1MHS-0006O0-8O; Sat, 03 Dec 2022 01:45:46 -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 1p1MHO-0006NA-J2 for help-gnu-emacs@gnu.org; Sat, 03 Dec 2022 01:45:44 -0500 Original-Received: from mail-40135.protonmail.ch ([185.70.40.135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1MHD-0002O2-RU for help-gnu-emacs@gnu.org; Sat, 03 Dec 2022 01:45:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1670049927; x=1670309127; bh=trWgw81jvuj8a3TFKibLpi5CNOHD6OMdLmrGs6A4Ezw=; 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=M2iFQYPbXq8KTXe+urd02cWiHyjRMu9W3g6baF3fPVITO5Rm1Ax3B8nOJ2AcCKpMe dk88sq/KP7Mvzyb5ljff9bimbYYXbrQlI+cDnKhcCvdFPShzWt8MYwoaje8epYRo90 vyqr5tLl6Z2ZzaJxJqmpOetQE/p6x+tV1wlOuLFbVAuj5SyNjvrI4EGFfuqC9Mq5OA tAQFpvCg6hraxtex88TZbcnJGqxVGJwGmNOzQ4OBUZVzgM4E9FLz+1J7DBsGGFkAHD /cpquUPJX1axxKpMzJE8gi+sdxdr/CKXiR5k6CppL9Wofs2+IXQyKRCwHZUFD60/42 6A0Vop4C/rEnQ== In-Reply-To: Feedback-ID: 57735886:user:proton Received-SPF: pass client-ip=185.70.40.135; envelope-from=heimeborgia@protonmail.com; helo=mail-40135.protonmail.ch X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, TO_EQ_FM_DIRECT_MX=1 autolearn=no 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:141309 Archived-At: ------- Original Message ------- On Saturday, December 3rd, 2022 at 4:23 AM, Heime wrote: >=20 >=20 >=20 >=20 >=20 > Sent with Proton Mail secure email. >=20 >=20 > ------- Original Message ------- > On Saturday, December 3rd, 2022 at 4:08 AM, Eduardo Ochs eduardoochs@gmai= l.com wrote: >=20 >=20 >=20 > > On Sat, 3 Dec 2022 at 00:54, Heime heimeborgia@protonmail.com wrote: > >=20 > > > I have also tried this one > > >=20 > > > (insert (format > > > (propertize "%s" > > > 'face '(:foreground "green" :background "blue"))) "T") > >=20 > > Try to run this in a shell, > >=20 > > cat > /tmp/foo <<'%%%' > >=20 > > (insert (propertize "T" 'face '(:foreground "green" :background "blue")= )) > > %%% > > emacs -Q /tmp/foo > >=20 > > and then execute the (insert ...) with C-e C-x C-e. > > [[]], Eduardo >=20 >=20 > That works good. Managed to get things working with=20 (insert (propertize "B" 'font-lock-face '(:background "blue" :foreground "red")))