GNU bug report logs - #32405
[PATCH] Turn misc objects into pseudovectors

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Thu, 9 Aug 2018 03:00:02 UTC

Severity: wishlist

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pip Cet <pipcet <at> gmail.com>
Cc: 32405 <at> debbugs.gnu.org
Subject: bug#32405: [PATCH] Turn misc objects into pseudovectors
Date: Thu, 9 Aug 2018 00:44:03 -0700
[Message part 1 (text/plain, inline)]
Pip Cet wrote:
> +      case PVEC_FINALIZER:
> +        VECTOR_MARK (ptr);
> +        mark_object (XFINALIZER (obj)->function);
> +        break;
> +
> 
> Isn't that precisely what the default code does?
> 
> Similarly for bool vectors, misc ptrs, and user ptrs.

Thanks for mentioning that opportunity for further simplification. Followup 
patch attached.

> I'm curious what ideas you have for the newly freed Lisp_Type tag.

I had been thinking of using it for immediate floats, if we want to insist on 
full IEEE double semantics for Emacs Lisp. But if there's something more 
important, we can use it for that instead.
[0001-Simplify-mark_object-for-pseudovectors.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.