all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* multi line text in the margins
@ 2022-05-20  8:52 cage
  2022-05-20 11:05 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: cage @ 2022-05-20  8:52 UTC (permalink / raw)
  To: help-gnu-emacs

Hi!

I am exploring the margin feature of Emacs. I tried to write some text
with a line break character inside, adding a text property like that:

(list :display (list '(margin margin-right) "foo\nbar"))


But the line break character is printed as "^J" instead to be interpreted.

Now i wonder if there is a way to split text in lines on the margin.

Any idea?

Thanks in advance!
C.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-20 12:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-20  8:52 multi line text in the margins cage
2022-05-20 11:05 ` Eli Zaretskii
2022-05-20 12:03   ` cage

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.