all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: uzibalqa <uzibalqa@proton.me>
Cc: uzibalqa via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Subject: Re: Colouring a cell within a table
Date: Mon, 19 Sep 2022 22:29:23 +0700	[thread overview]
Message-ID: <CAP_d_8Up3phLUJnTBYrBqCRKC7kSUzWmCU0EyBQANzUU4EBYKw@mail.gmail.com> (raw)
In-Reply-To: <_RIolNjRicqtmZ5wXvQohcSz55X29e7seWZzaeofeaem-xa2J0_V5U7Vs715AYF7GrecbrcSSZNYxd3y9H5IwYnCU9H-xBcuLYhsBD_2t14=@proton.me>

On Sat, 17 Sept 2022 at 19:35, uzibalqa <uzibalqa@proton.me> wrote:

> 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.

Why do you want to do this?

In general, coloring parts of a document in predefined colors is a bad
thing to want. Users with a different color theme than yours will have
trouble reading the document.

A better direction is to define a major mode for your class of
documents, a few faces, and fontification rules that find fragments
your users would want colored and apply those faces. The user will be
able to customize the faces to their liking.



  parent reply	other threads:[~2022-09-19 15:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-17 12:35 Colouring a cell within a table uzibalqa
2022-09-18  7:54 ` Jean Louis
2022-09-18 14:33   ` uzibalqa
2022-09-18 21:22     ` uzibalqa
2022-09-19  7:46       ` Jean Louis
2022-09-19  9:39         ` Emanuel Berg
2022-09-19  7:42     ` Jean Louis
2022-09-19 13:15       ` uzibalqa
2022-09-19 16:51       ` Christopher Dimech
2022-09-19 15:29 ` Yuri Khan [this message]
2022-09-19 16:13   ` Emanuel Berg
2022-09-22 13:40     ` uzibalqa
2022-09-19 16:33   ` Christopher Dimech

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP_d_8Up3phLUJnTBYrBqCRKC7kSUzWmCU0EyBQANzUU4EBYKw@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=uzibalqa@proton.me \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.