From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: saving/restoring text and overlays Date: Mon, 30 Mar 2020 02:14:55 +0200 Message-ID: <87ftdq7l6o.fsf@web.de> References: <86zhc3iwg1.fsf@x201.butler.org> <87zhc2eowk.fsf@web.de> <86h7y6hpyk.fsf@x201.butler.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="54685"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Leo Butler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 30 02:16:59 2020 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 1jIi6r-000E6a-DV for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 02:16:57 +0200 Original-Received: from localhost ([::1]:42926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIi6q-0008O4-73 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 Mar 2020 20:16:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39947) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIi50-0008Ny-8p for help-gnu-emacs@gnu.org; Sun, 29 Mar 2020 20:15:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIi4z-0003VC-71 for help-gnu-emacs@gnu.org; Sun, 29 Mar 2020 20:15:02 -0400 Original-Received: from mout.web.de ([212.227.17.11]:53687) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIi4y-0003RF-QZ for help-gnu-emacs@gnu.org; Sun, 29 Mar 2020 20:15:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1585527295; bh=mp0HrTNRSiMjqWIReQHlp6x6WFef1B0/6/4oBW3PNCk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=rsh3dloAC0lVkQljDGYzqenHJjUWD6n0F3f730i9CG9uTOppbtGTaA1pC7Oq3XENR QHNoI72eNOLdk9RaqJaUSau6P2U1q2N8ohgU7cVm/5oILucNI4Ygcb8jRqgtJ+ktWi gUyCyage2DaaP4AUi6246p3yscJq8pm2j/qhUEMY= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([188.98.99.7]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MA5v3-1jTOFC1am1-00BIva; Mon, 30 Mar 2020 02:14:55 +0200 In-Reply-To: <86h7y6hpyk.fsf@x201.butler.org> (Leo Butler's message of "Sun, 29 Mar 2020 15:21:39 -0500") X-Provags-ID: V03:K1:N/njLqlfrIyDQ0KQWxAiVJlWIwQ+rZmcMPRn567gc3I6Z0Lrx8v Xc1QI+bEtlQCwhogvL7zr8ikVcih1HZ/e2QvUPUIXFFLJliRADZGu2dhc/8iQ/OYMRsEn1V +ZTa5bY7h24lwQhXgQmqncxS6VpCqhqOK49rjSJhthvnHFW4AGtRwmjPdFGGBwdLM0sECeD LtuTrmuAymXcsu+ZoLWTg== X-UI-Out-Filterresults: notjunk:1;V03:K0:FIKWaxA0c9Q=:u+di3IIPV7bFU82yEm/0LS kS6q9fhZGebhNoe76uAXB0CZGtY8EqyB9bPZB426l8yYwDa4Z+8m5/xTsMW1PPDiumA/hmy87 Stt4oFgHQIhK+egyznO7Mu29YX2E9C9BTwRrP2vx9t0kziImQ3oIVjD4LJebmOLC5mC/8Z9cQ WpAaQh5NaqhIk8os3snvj4GuVNKESUW9F44YG8gojFWyHsAhRmllftUDYw9EstBb6r6B5marB nfsPEUsSk6pVbxAznhmObFZt7w0nB9jgv/v95Fi6yWbt889ltjf9oU/mv6ed1MJQ03AOeRahd iEHOO30/JBMWsv5zH9iwf0WiCGBSoIehHpOFuQGDwn9b61znkLZpOLJbHQwz7MKEbP4M7800w QN2sPia/NHLicdmRWld6+vGLrGoKC5Rj/gEXHresH/+fITwFfo6PtwspvLygXNENBP+kIhjlS lkhvTyfE267FtAlbg2Dm3+lc9/Mjx+7eQHAj4MD67q+BAtRDZZcNRNjMad+FbhjHJef0Xartk 0r1VFHFAo1Q9DsOMPPVYPyQmTY4oDsxihAjd+P72C1OvcJpVIeto94ovdI6hY1nMkPtftZkGM iiMACmq2EhnwGhioJD/4MlUsTrqtnIvcG+JtKDr1fCwFBmI6PSqE96+5RxXl8GCJZQfe64Lw+ KwZpFfP69hTY5vPay5XTOM53KaHcupqx5gtY+K51UBOY8AyqL9b11xLzXuTeSaZTwlhT0235U 28G/i+LmBlAIJA5GWdMXUa7gWvGfK9AAYhp8MvpLqnlr8GJUCFmMK3zKSod+6ws3EKAQJiFv X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.11 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:122709 Archived-At: Leo Butler 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.