I am looking for a way to insert a formatted text into a specific buffer (not the active buffer).
As it seems to me, the only way to do so is to use a snippet as shown below:
(insert (propertize (format-time-string "%H:%M:%S")
'face
'(:height 4.0 :inverse-video t)))
The above inserts it into the active/current buffer.
There are ways to insert strings to a specific buffer but then they do not support formatting.
I am starting to wonder if what I intend to do is even possible...
with-current-buffer
macro.