unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Leo Butler <leo.butler@umanitoba.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: saving/restoring text and overlays
Date: Mon, 30 Mar 2020 02:14:55 +0200	[thread overview]
Message-ID: <87ftdq7l6o.fsf@web.de> (raw)
In-Reply-To: <86h7y6hpyk.fsf@x201.butler.org> (Leo Butler's message of "Sun, 29 Mar 2020 15:21:39 -0500")

Leo Butler <leo.butler@umanitoba.ca> writes:

> So it appears that enriched text mode did do what I want, but the way
> Emacs handles display properties is too permissive...

Oh - indeed!  I tested quickly, and it even seems that simple stuff that
doesn't need to evaluate "arbitrary" Lisp still works out of the box.
Images at least work for me in emacs -Q, without changing any defaults.

> This leads me to ask why the feature was nuked rather than handling it
> like file variables
> (https://www.gnu.org/software/emacs/manual/html_node/emacs/File-Variables.html).

Doesn't using `enriched-allow-eval-in-display-props' (the option
mentioned in the text you cited but later) as file-local var work?


Michael.



  reply	other threads:[~2020-03-30  0:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26  4:14 saving/restoring text and overlays Leo Butler
2020-03-26 22:23 ` Michael Heerdegen
2020-03-29 20:21   ` Leo Butler
2020-03-30  0:14     ` Michael Heerdegen [this message]
2020-03-30  0:23       ` Michael Heerdegen
2020-03-30  1:23     ` Noam Postavsky
2020-03-30  2:25     ` Eli Zaretskii
2020-03-30 20:14       ` Leo Butler

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftdq7l6o.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=leo.butler@umanitoba.ca \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).