From: Alan Mackenzie <acm@muc.de>
To: Daniel Colascione <dancol@dancol.org>
Cc: emacs-devel@gnu.org
Subject: Re: Difficulties with `purecopy' discarding text properties from strings
Date: Fri, 19 May 2017 20:04:30 +0000 [thread overview]
Message-ID: <20170519200430.GC5330@acm.fritz.box> (raw)
In-Reply-To: <2e0ed491-fc1a-dc45-db54-d5773a4375f6@dancol.org>
Hello, Daniel
On Fri, May 19, 2017 at 12:11:58 -0700, Daniel Colascione wrote:
> On 05/19/2017 11:55 AM, Alan Mackenzie wrote:
[ .... ]
> > Presumably there are good reasons for discarding text properties when
> > purecopying strings. Or, maybe, there was just no particular reason to
> > amend the workings of `purecopy' when text properties came into
> > existence.
> > How does this sound for a solution to the problem? In `defcustom',
> > introduce a new keyword `impure:' which, when placed early enough in the
> > defcustom would inhibit the `purecopy' action.
> > Or should I work at amending `purecopy' also to copy text properties?
> When we move to the new dumper (whatever it is), I don't think we'll
> have a conventional purespace at all anymore. In my system, text
> properties are just automatically preserved along with everything else
> and don't get special treatment.
OK. Less (or should that be "fewer"?) data will be shared between Emacs
instances, partly because a machine with < 4 GB RAM now counts as tiny.
It looks like any work I do here will be for the short term only,
assuming either your or the other solution to the death of dumping will
shortly take its place in master.
But I'm impatient, I'm looking for a solution over the weekend. ;-)
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2017-05-19 20:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-19 18:55 Difficulties with `purecopy' discarding text properties from strings Alan Mackenzie
2017-05-19 19:11 ` Daniel Colascione
2017-05-19 20:04 ` Alan Mackenzie [this message]
2017-05-19 19:22 ` Stefan Monnier
2017-05-19 19:54 ` Alan Mackenzie
2017-05-19 21:04 ` Eli Zaretskii
2017-05-20 10:29 ` Alan Mackenzie
2017-05-20 2:58 ` Stefan Monnier
2017-05-20 10:40 ` Alan Mackenzie
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=20170519200430.GC5330@acm.fritz.box \
--to=acm@muc.de \
--cc=dancol@dancol.org \
--cc=emacs-devel@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.