help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inserting background colour at column


From: Eduardo Ochs
Subject: Re: Inserting background colour at column
Date: Sat, 3 Dec 2022 01:08:02 -0300

On Sat, 3 Dec 2022 at 00:54, Heime <heimeborgia@protonmail.com> wrote:
> I have also tried this one
>
>   (insert (format
>            (propertize "%s"
>               'face '(:foreground "green" :background "blue"))) "T")

Try to run this in a shell,

cat > /tmp/foo <<'%%%'
(insert (propertize "T" 'face '(:foreground "green" :background "blue")))
%%%
emacs -Q /tmp/foo

and then execute the (insert ...) with C-e C-x C-e.
  [[]], Eduardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]