[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28587: 26.0.60; Don't write object name strings in object-write meth
From: |
Eric Abrahamsen |
Subject: |
bug#28587: 26.0.60; Don't write object name strings in object-write method |
Date: |
Wed, 08 Nov 2017 12:01:45 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
On 10/21/17 23:29 PM, Stefan Monnier wrote:
[...]
> This is more problematic since data generated with this hunk will be
> incompatible with an Emacs which doesn't have the other hunk applied.
> So I think this should be conditional on a defcustom and by default this
> defcustom should cause the code to still behave as before.
So where we're at now is, the previous chunk has gone into both master
and emacs-26. The next patch (below) would only go into master, so as to
be more conservative about what's emitted. Everything defaults to
current behavior.
This patch does two things: permits omission of the object name strings,
and permits shutting off indentation (which helps a lot for shrinking
the file size). In a previous version I had `eieio-print-depth' do
double duty as a boolean and an integer; this version has a separate
defvar for controlling whether indentation is printed at all.
`eieio-print-depth' still gets incremented; someone might find that
useful.
Eric
0001-Provide-more-control-over-writing-of-objects-in-obje.patch
Description: Text Data
- bug#28587: 26.0.60; Don't write object name strings in object-write method,
Eric Abrahamsen <=