GNU bug report logs - #70664
29.3; vtable-insert-object cannot insert at top of table

Previous Next

Package: emacs;

Reported by: Joost Kremers <joostkremers <at> fastmail.fm>

Date: Tue, 30 Apr 2024 09:32:02 UTC

Severity: normal

Found in version 29.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Joost Kremers <joostkremers <at> fastmail.fm>
To: Adam Porter <adam <at> alphapapa.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 70664 <at> debbugs.gnu.org
Subject: bug#70664: 29.3; vtable-insert-object cannot insert at top of table
Date: Thu, 02 May 2024 08:52:08 +0200
Hi Adam,

On Tue, Apr 30 2024, Adam Porter wrote:
> Hm, yes, it seems that it's not possible with the current implementation.
>
> My first idea, requiring maybe the smallest change to the code and no change to
> the signature, would be to accept a special value as the AFTER-OBJECT argument
> to indicate that it should be inserted as the first element, e.g.
> `:insert-first'.

My initial thought as well.

> Alternatively, an additional BEFORE-OBJECT argument could be added, which would
> probably require more changes to the code.

I thought about this and a few other options that came to mind, but I don't
think there's any option that's worth the additional effort to implement it.


-- 
Joost Kremers
Life has its moments




This bug report was last modified 1 year and 61 days ago.

Previous Next


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