From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa Newsgroups: gmane.emacs.help Subject: Re: Colouring a cell within a table Date: Mon, 19 Sep 2022 13:15:39 +0000 Message-ID: References: <_RIolNjRicqtmZ5wXvQohcSz55X29e7seWZzaeofeaem-xa2J0_V5U7Vs715AYF7GrecbrcSSZNYxd3y9H5IwYnCU9H-xBcuLYhsBD_2t14=@proton.me> 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="20321"; mail-complaints-to="usenet@ciao.gmane.io" Cc: uzibalqa via Users list for the GNU Emacs text editor To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 19 15:18:09 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 1oaGf2-00054c-AY for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 19 Sep 2022 15:18:08 +0200 Original-Received: from localhost ([::1]:55512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaGf1-00076f-4V for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 19 Sep 2022 09:18:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaGcs-00074w-C4 for help-gnu-emacs@gnu.org; Mon, 19 Sep 2022 09:15:54 -0400 Original-Received: from mail-40138.protonmail.ch ([185.70.40.138]:15515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaGco-0005ym-MO for help-gnu-emacs@gnu.org; Mon, 19 Sep 2022 09:15:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1663593345; x=1663852545; bh=SqZ5TKwXZ88qvdbbIAftbkx7ejprDVdUk60Kt0/W4Yc=; 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; b=DB/KlKkisoIXaVplHxOD3kza4clnnnuT2Px//tF/DD7VPE65128r+g7wj5cMidsAH b7xwcPWb2UnaiEAzAkiZ7Y90LUZ0MMfptWxgS5jR1o9LW1C3QLM3tElcHBquj39yvc eKXgtHn18v90ty8kmkHCBnbDTY7i+O12lsgAWeugIa+rTRR9Wav1+4mfL1dI1bA/X1 RHFkUUfriSEnwFplyRQ48azd5Rc/+QhzmWabTTZhivTfsUJhns4gggkKIUgJilJqlq vsSD/yJFafsjqOOqaBcsI9b/+s6w7bWZj7SEFu8WAv09/lq/Cm5dd6hAdA+/DvaTHZ UZfTVVt4EqVLw== In-Reply-To: Feedback-ID: 52887082:user:proton Received-SPF: pass client-ip=185.70.40.138; envelope-from=uzibalqa@proton.me; helo=mail-40138.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, 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" Xref: news.gmane.io gmane.emacs.help:139575 Archived-At: ------- Original Message ------- On Monday, September 19th, 2022 at 7:42 AM, Jean Louis w= rote: > * uzibalqa uzibalqa@proton.me [2022-09-18 17:34]: >=20 > > ------- Original Message ------- > > On Sunday, September 18th, 2022 at 7:54 AM, Jean Louis bugs@gnu.support= wrote: > >=20 > > > I can think of using enriched mode for that, as if you want to rememb= er those cookies across sessions, that is one way. > > >=20 > > > Other way of to use HTML tables. I just don't know if Emacs package t= hat visually edits HTML. > > >=20 > > > Then I can think of local variables that could keep information how t= o highlight some pieces of text, during work. That will not make representa= tion highlighted. > > >=20 > > > Maybe SES spreadsheet supports take colors. > > >=20 > > > On September 17, 2022 12:35:19 PM UTC, uzibalqa uzibalqa@proton.me wr= ote: > > >=20 > > > > Am looking for information to see how I can colour a cell within a > > > > table. Ideally I would like > > > > to have a keybinding so that when I an in a cell its background in > > > > changed to a different colour. > >=20 > > I did not realise it was not so straightforward. As you rightly pointed= out, > > emacs has to keep track of the specific table and what colouring option= s were > > applied by the user. > >=20 > > Perhaps we can think into some more depth about this, because such func= tionality > > could have fantastic capability. >=20 >=20 > Find attached enriched mode text file, and open it with Emacs, you should= see colors in the table. =20 The result is as I would like. But how did you add the colours. After dis= abling enriched-mode, I did not see the text defining the colour. Have also changed the major mode to = latex-mode and org-mode, and the colours are not displayed even though I am still in enriched-mode.