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


Message #8 received at 70664 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Joost Kremers <joostkremers <at> fastmail.fm>, Adam Porter <adam <at> alphapapa.net>
Cc: 70664 <at> debbugs.gnu.org
Subject: Re: bug#70664: 29.3;
 vtable-insert-object cannot insert at top of table
Date: Tue, 30 Apr 2024 15:18:48 +0300
> From: Joost Kremers <joostkremers <at> fastmail.fm>
> Date: Tue, 30 Apr 2024 11:30:47 +0200
> 
> The current implementation of `vtable.el` provides the function
> `vtable-insert-object` to add an object to the vtable. Its signature is this:
> 
>     vtable-insert-object table object &optional after-object
> 
> The doc string says that if AFTER-OBJECT is not provided, the new object is
> added to the end of the table. This makes it impossible to add an object as the
> first element of the table.
> 
> Note that although this e-mail is written from Emacs 29.3, the version of
> `vtable.el` in master has the same problem.

Adam, WDYT?  You did something similar with vtable-update-object,
AFAIR.




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

Previous Next


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