From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: cage Newsgroups: gmane.emacs.help Subject: multi line text in the margins Date: Fri, 20 May 2022 10:52:49 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5178"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 20 10:58:23 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nrySl-0001B1-Ie for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 10:58:23 +0200 Original-Received: from localhost ([::1]:57502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrySk-0001cb-7s for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 04:58:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nryNj-0001b0-Cs for help-gnu-emacs@gnu.org; Fri, 20 May 2022 04:53:15 -0400 Original-Received: from smtpcmd10101.aruba.it ([62.149.156.101]:39937) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nryNg-000261-KW for help-gnu-emacs@gnu.org; Fri, 20 May 2022 04:53:10 -0400 Original-Received: from kurosawa.casa.net ([78.13.243.253]) by Aruba Outgoing Smtp with ESMTPSA id ryNbn8IV2cKJdryNbnrOJa; Fri, 20 May 2022 10:53:04 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1653036784; bh=jFJFaUg4/f2BLTOEUg6V7rW8KzOPnQ6XlU08edjiW1Y=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=CTtbmSTPdPKWNXK0d3+rt7owr+UrO3SVncAn8/BmORAd8k9oYTvhCr9jnitc8cpS9 KLhclkzF9RLsL6BeGbQCgkJDN3SfwPs7RI0LjFnnKLIyf6tBLl3kkZ89iWrdrJ6hwv UAp2UfHgrJmdDD+ImF/KU1j6q6+dQK+wX2LWbmYN5v7CJONlu+wUNBgeTOP5WYoxSJ I00LmVXcOWo8BW2lzPcg9HOvafruYDm/Lw5OJkCPaQ5t0/LG8L1Zw6BN+VT/RtgJAk HIp1jhTmCT7SMUbT71Ixr6WZrzh4CtlrDMhhGPZzgD+9SJ8QdZfr5vbaAhbs2/CJMF T5M16Nb4UharA== Original-Received: by kurosawa.casa.net (Postfix, from userid 1000) id 22CF91840341; Fri, 20 May 2022 10:52:49 +0200 (CEST) Content-Disposition: inline X-CMAE-Envelope: MS4xfB9LFH1HR5yQE+4XuY5T3UQ3DSFfEUV4wckSK19Bsj8Xe6wdrKCE3SuEjdT5isy0SMf5JcoDyjI3DxpsjcZfqOecrZ03jguHv4ZHHROxLiWOOX7Tait4 RpYYefIWyQJ4s8arrTwNvy7Ji7Ruh4gZr2Cv7K5MBT5eWtG24YO6DZ+hPhEP8DPbQO+mvDJzNBvOZvQS3oNgp0ZjRVKLa3FxLpU= Received-SPF: none client-ip=62.149.156.101; envelope-from=cage-dev@twistfold.it; helo=smtpcmd10101.aruba.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137323 Archived-At: 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.