[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi line text in the margins
From: |
Eli Zaretskii |
Subject: |
Re: multi line text in the margins |
Date: |
Fri, 20 May 2022 14:05:30 +0300 |
> Date: Fri, 20 May 2022 10:52:49 +0200
> From: cage <cage-dev@twistfold.it>
>
> 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.
You can't. This is not supported (and will cause complications if we
did try supporting it, because margin text of line N could get in the
way of margin text of lines N+1, N+2, ...