From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: multi line text in the margins
Date: Fri, 20 May 2022 14:05:30 +0300 [thread overview]
Message-ID: <83czg8bh1h.fsf@gnu.org> (raw)
In-Reply-To: <YodW4W0Frm1HHdre@kurosawa.casa.net> (message from cage on Fri, 20 May 2022 10:52:49 +0200)
> 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, ...
next prev parent reply other threads:[~2022-05-20 11:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 8:52 multi line text in the margins cage
2022-05-20 11:05 ` Eli Zaretskii [this message]
2022-05-20 12:03 ` cage
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83czg8bh1h.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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.
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.