From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70664: 29.3; vtable-insert-object cannot insert at top of table Date: Tue, 30 Apr 2024 15:18:48 +0300 Message-ID: <864jbjqc0n.fsf@gnu.org> References: <86o79rb3js.fsf@p200300d6272f17850b27304eb886326a.dip0.t-ipconnect.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11144"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70664@debbugs.gnu.org To: Joost Kremers , Adam Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 30 14:19:59 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s1mSk-0002gU-SS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Apr 2024 14:19:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1mSU-0004SZ-PL; Tue, 30 Apr 2024 08:19:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1mST-0004S2-Fo for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2024 08:19:41 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s1mST-0008VW-72 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2024 08:19:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1mSn-0002gz-O3 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2024 08:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Apr 2024 12:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70664 X-GNU-PR-Package: emacs Original-Received: via spool by 70664-submit@debbugs.gnu.org id=B70664.171447956410337 (code B ref 70664); Tue, 30 Apr 2024 12:20:01 +0000 Original-Received: (at 70664) by debbugs.gnu.org; 30 Apr 2024 12:19:24 +0000 Original-Received: from localhost ([127.0.0.1]:59420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1mSC-0002gf-EB for submit@debbugs.gnu.org; Tue, 30 Apr 2024 08:19:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1mS8-0002gZ-2Z for 70664@debbugs.gnu.org; Tue, 30 Apr 2024 08:19:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1mRi-0008Ls-3P; Tue, 30 Apr 2024 08:18:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=L8YA71mss3hfHOSkAw8covAO0sjQQYSGAVP16WjFfKk=; b=B97S3gQasfZs M8jkpUsRBJXyM52sDgZ+CGBPvAYB2ZniRzco+xsMblgMo0k9N/cYFndZHdC7GnbgjFHDxyvnQvZgB 9gr0rDLhVhxieWY535Y6f/Ytt9gtjWjfwMZRiSJcezqFuONWuV4fm4GRgM+sHHdeOgy+eNeLOgliZ AD0enfOPlEnE77wDG8Ec3zxb3wSpRppkEiJ9jsLWvp6boFojnVBi0l5PKxeWkR7FrQSi4z4anufw0 ZR7+6/3daVuOGAzGvsHgEr/b1hxlbUA8ke5HyYaHJTMhnh2fEAIReOaF052CH0mhtolf/z1Jepjt7 7iex0hxe28xZjrFY1dXXKQ==; In-Reply-To: <86o79rb3js.fsf@p200300d6272f17850b27304eb886326a.dip0.t-ipconnect.de> (message from Joost Kremers on Tue, 30 Apr 2024 11:30:47 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284205 Archived-At: > From: Joost Kremers > 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.