From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.help Subject: Re: saving/restoring text and overlays Date: Sun, 29 Mar 2020 21:23:56 -0400 Message-ID: References: <86zhc3iwg1.fsf@x201.butler.org> <87zhc2eowk.fsf@web.de> <86h7y6hpyk.fsf@x201.butler.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="61740"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , Help Gnu Emacs mailing list To: Leo Butler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 30 03:24:36 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 1jIjAJ-000Fwx-UI for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 03:24:35 +0200 Original-Received: from localhost ([::1]:43218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIjAI-0007D1-V0 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 Mar 2020 21:24:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47754) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIj9z-0007Cs-Rs for help-gnu-emacs@gnu.org; Sun, 29 Mar 2020 21:24:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIj9y-0002TI-Pm for help-gnu-emacs@gnu.org; Sun, 29 Mar 2020 21:24:15 -0400 Original-Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]:36774) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIj9y-0002PW-Lh for help-gnu-emacs@gnu.org; Sun, 29 Mar 2020 21:24:14 -0400 Original-Received: by mail-ot1-x32d.google.com with SMTP id l23so16369857otf.3 for ; Sun, 29 Mar 2020 18:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DNTHOnP0zDq4m+ny7yjOF8SbFAIvjLaj0eXG1RlXzS0=; b=o2K1kgYaXYdYK1oPub7RcB16mHgR8vlENVVRodNtoF/ehAaD1w5yBbrNSuq2Um6aFn zdy0WGkdJ0WSYuu31Y9/N7ohfrCU+lClzhtWyFgE+phEZSd0D110j+THA3+1wDB9O2Ys qlW/V0MYTgtmyLHA85FqFBf93clIzoKVTSW6Cq9p+YxkaUcaqJxrwfohTXb7oBo5ZpjO f7GdgRb30eZ3UXyAyjp2wOlQqNydKHxPcoG5fN1y4OqEQqgJK0NGMMH/nH7dAdPj6mgz F7U1Nd0fYFl7W17YReHZKogkqDdxIFAZkfXuaLhFpTQ8u5dbcMQaeLRKwpMJ4S+VNQCh aCfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DNTHOnP0zDq4m+ny7yjOF8SbFAIvjLaj0eXG1RlXzS0=; b=QXWwodRURkdmcsfpw43cVncN9l+uZBeZwci3jI6mVDOZBha1TU9T1UXMjy5lhSF9SX JIiC2heEliNRYat6udjOxBajtOgpDoGIo1Zu+MimmTM+8iRgyqx/SKAIR8t3l7q3oXIG uHXwEG+WiSk50/ylB4fQ1RU12Qbgp8lfUTWnEVeiam0Gqeyn6yXDKmrLvMx16vsrnz1k uLIuWbL4FzfyLo18cxbAe/gdwaSQ6mdOzclW1Vpu/nH37NtTlKZ4+mIItOh9APqcIcFx f/rjgPh+D9KaYSXUOyLcAc/qyuywkjlDkEBDEMDmq0hznFRsAdlS0zjg6CdevTFR2WtQ fXlA== X-Gm-Message-State: ANhLgQ2R/wvOhNROjAzorRUBPCdHBvlaXfbiMji/f5XQkRzjI7Yuq+CN 9YaoEU6M69auz8P0d/89C7IIyYqGoxlY7SFRvUM= X-Google-Smtp-Source: ADFU+vukAx0JUGZR78bRPvbJzbSS7keeh5SAuAAdfDmXE2AdiZ0YEIi/5+AdEOf1HHdPuOzz5/CU0ZIDj4LBVQp0EXU= X-Received: by 2002:a05:6830:1b64:: with SMTP id d4mr7175968ote.368.1585531452110; Sun, 29 Mar 2020 18:24:12 -0700 (PDT) In-Reply-To: <86h7y6hpyk.fsf@x201.butler.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::32d 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:122711 Archived-At: On Sun, 29 Mar 2020 at 16:21, Leo Butler wrote: > Well, after poking around a bit, I found this in NEWS.25: > *** Enriched Text mode has its support for decoding 'x-display' disabled. > So it appears that enriched text mode did do what I want, but the way > Emacs handles display properties is too permissive... > > 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). You might want to check NEWS for Emacs 26: * Changes in Emacs 26.1 ** Security vulnerability related to Enriched Text mode is removed. *** Enriched Text mode does not evaluate Lisp in 'display' properties. [...] decoded by Enriched Text mode is now disabled by default. Customize the new option 'enriched-allow-eval-in-display-props' to a non-nil value to allow Lisp evaluation in decoded 'display' properties.