From: Christopher Dimech <dimech@gmx.com>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: uzibalqa <uzibalqa@proton.me>,
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 18:33:58 +0200 [thread overview]
Message-ID: <trinity-4b43de72-754a-479b-ab93-cfe7e77b1d9c-1663605238379@3c-app-mailcom-bs10> (raw)
In-Reply-To: <CAP_d_8Up3phLUJnTBYrBqCRKC7kSUzWmCU0EyBQANzUU4EBYKw@mail.gmail.com>
> Sent: Tuesday, September 20, 2022 at 3:29 AM
> 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
>
> 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.
I can see how your system can be much more powerful. A fantastic approach
to implement and see other capabilities it might offer. I was thinking
of a minor-mode that would work when a major mode is also active. But perhaps
there are downsides that I cannot clearly see right now. Have not done a major
mode yet, so this may be the right time to do it.
prev parent reply other threads:[~2022-09-19 16:33 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
2022-09-19 16:13 ` Emanuel Berg
2022-09-22 13:40 ` uzibalqa
2022-09-19 16:33 ` Christopher Dimech [this message]
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=trinity-4b43de72-754a-479b-ab93-cfe7e77b1d9c-1663605238379@3c-app-mailcom-bs10 \
--to=dimech@gmx.com \
--cc=help-gnu-emacs@gnu.org \
--cc=uzibalqa@proton.me \
--cc=yuri.v.khan@gmail.com \
/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).