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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Joost Kremers <joostkremers@HIDDEN>; dated Tue, 30 Apr 2024 09:32:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 70664 <at> debbugs.gnu.org:


Received: (at 70664) by debbugs.gnu.org; 2 May 2024 06:52:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 02:52:43 2024
Received: from localhost ([127.0.0.1]:41936 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2QJ8-0007O8-P5
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 02:52:43 -0400
Received: from fout4-smtp.messagingengine.com ([103.168.172.147]:52421)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joostkremers@HIDDEN>) id 1s2QJ7-0007O2-KO
 for 70664 <at> debbugs.gnu.org; Thu, 02 May 2024 02:52:42 -0400
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47])
 by mailfout.nyi.internal (Postfix) with ESMTP id CD9571380394;
 Thu,  2 May 2024 02:52:14 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute6.internal (MEProxy); Thu, 02 May 2024 02:52:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h=
 cc:cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:subject
 :subject:to:to; s=fm3; t=1714632734; x=1714719134; bh=n8RxCg8pPf
 tVdzP2DxwkxH8bje5bxWOzBXJ1y0NrtZA=; b=Ki6h5KvV+mpfo7DPKuGjTOODzg
 MddQtwMKyTpTf0xuKDPwatW45/QCpP1wT5b8VUjnx5U/Z334/IJwRlI14xBcQFUt
 n/KwLm4vpK3J/Vr5NIwIDGmulBgIg41RZPHc52fYFhn95BDRUZEWBGCVuDxTXbDv
 8kZ/1v1TsHqpNLRIc33LD1bkJ2KuWtvU6q6pRmtzvm1aYgZ0J41xR/q3xG7pA5v2
 kWj2HI11Tyy1Wyd6jx/RpdHaxCqplyeLVyC1ukctTP+eUQP34xYikXGIsZNeSa5M
 AxAZLjpwwxLwyB2RD2I0ZMakuDJMJb+2TzeRCSQVTK9V06sLiQNQA+UGYw9A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm3; t=1714632734; x=1714719134; bh=n8RxCg8pPftVdzP2DxwkxH8bje5b
 xWOzBXJ1y0NrtZA=; b=ORysdkSpwmVBjXDCk+zblkK+6YUKDVhoHwr0UYETqw50
 KeKxgVwYruKpW7JSOmsJ7wGF979nuRu7cB0E5wRxat+fbNMyHdQIcRaTc8gzV1xz
 g7weJ+PdIHYFKC1IgvQf6XQd1znZiqypO4d/QmpnbI5epWUttTLFHf5RfL4s6PrF
 0o130hRFUbVux1UgIHPZqNYKv3oqPUCRTmePM9KJ8KC+RMd/6hP0yS4DZ7evodeu
 xUa4f8aqSOdPDHqBPDJYQHoFegz3HJxafb2LDIjs+9yPlRC2IP7N84sGdqzZ8FZt
 QxRA64fSmXybFxpoT0laYKbZbMKVVBGIqMUWYbfvdQ==
X-ME-Sender: <xms:HjgzZvKR5UWlMoBRIRcyDlEB36EMtUpEOaMfWLRDqKlDno7dA2FfaQ>
 <xme:HjgzZjKs7LKkSn_gQlXxB_irwE6eSuckswcvKZtGMXNT2MPxjlSK4mL7xBW_AnC3i
 8_pjVCS7xyguw>
X-ME-Received: <xmr:HjgzZnuV8uKzbCrgZiYAf-1la-euPeoUnIiehCC5MLUYQN1zS8ztJv5zw1BV_-X4vgXRoDVSktx28O9SRNSKwQDskLY9g_m-7nI0vn46LO4ysqKsDxM0T6lgzHKofRwTK64b5zaAbfW6KpbWNkIGKUmhBK-0GffdS-3X>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddujedgudduudcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvfevufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpeflohho
 shhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfh
 hmqeenucggtffrrghtthgvrhhnpeefkeejgffftdfgffejudeukeetheduhfevtefhhfeh
 iefhledtgffhgeekiedvheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh
 grihhlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh
X-ME-Proxy: <xmx:HjgzZoaT3U9E4qCp0LY9lwYvFzT0ZxP7zv4gZ0_6w2QYPB8FvU8P_Q>
 <xmx:HjgzZmb4rYMQGyO0sNV_I-j34mqrRUv_SY9p_95En95WyvfdKe-qaQ>
 <xmx:HjgzZsADLVEX6aAi8fmTZZ0NjM4prM6YAfjuOQQaLaegHKS8kEp7kw>
 <xmx:HjgzZkaqJml5VmZ3m7p1JPtIN7VF4OiBV0itRWCYjooaqVQb0g1V3g>
 <xmx:HjgzZmEhihyWofw74x4qzte2L0v9Tmb7tIpQmnlY0n_HJuC5Yw0V3IjS>
Feedback-ID: ie15541ac:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 2 May 2024 02:52:13 -0400 (EDT)
From: Joost Kremers <joostkremers@HIDDEN>
To: Adam Porter <adam@HIDDEN>
Subject: Re: bug#70664: 29.3; vtable-insert-object cannot insert at top of
 table
In-Reply-To: <d55f9a57-c9aa-439e-b8e1-004f445f1a24@HIDDEN> (Adam
 Porter's message of "Tue, 30 Apr 2024 18:27:26 -0500")
References: <86o79rb3js.fsf@HIDDEN>
 <864jbjqc0n.fsf@HIDDEN>
 <d55f9a57-c9aa-439e-b8e1-004f445f1a24@HIDDEN>
User-Agent: mu4e 1.12.2; emacs 29.3
Date: Thu, 02 May 2024 08:52:08 +0200
Message-ID: <8634r0yacn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 70664
Cc: Eli Zaretskii <eliz@HIDDEN>, 70664 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70664; Package emacs. Full text available.

Message received at 70664 <at> debbugs.gnu.org:


Received: (at 70664) by debbugs.gnu.org; 30 Apr 2024 12:19:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 30 08:19:24 2024
Received: from localhost ([127.0.0.1]:59420 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s1mSC-0002gf-EB
	for submit <at> debbugs.gnu.org; Tue, 30 Apr 2024 08:19:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40340)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1s1mS8-0002gZ-2Z
 for 70664 <at> debbugs.gnu.org; Tue, 30 Apr 2024 08:19:23 -0400
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 <eliz@HIDDEN>)
 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==;
Date: Tue, 30 Apr 2024 15:18:48 +0300
Message-Id: <864jbjqc0n.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Joost Kremers <joostkremers@HIDDEN>, Adam Porter <adam@HIDDEN>
In-Reply-To: <86o79rb3js.fsf@HIDDEN>
 (message from Joost Kremers on Tue, 30 Apr 2024 11:30:47 +0200)
Subject: Re: bug#70664: 29.3;
 vtable-insert-object cannot insert at top of table
References: <86o79rb3js.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70664
Cc: 70664 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Joost Kremers <joostkremers@HIDDEN>
> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70664; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Apr 2024 09:31:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 30 05:31:23 2024
Received: from localhost ([127.0.0.1]:59279 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s1jpa-0000co-W4
	for submit <at> debbugs.gnu.org; Tue, 30 Apr 2024 05:31:23 -0400
Received: from lists.gnu.org ([2001:470:142::17]:59974)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joostkremers@HIDDEN>) id 1s1jpZ-0000ci-1F
 for submit <at> debbugs.gnu.org; Tue, 30 Apr 2024 05:31:21 -0400
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 <joostkremers@HIDDEN>)
 id 1s1jp7-0002Gp-NP
 for bug-gnu-emacs@HIDDEN; Tue, 30 Apr 2024 05:30:53 -0400
Received: from fout8-smtp.messagingengine.com ([103.168.172.151])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <joostkremers@HIDDEN>)
 id 1s1jp5-0003yL-OQ
 for bug-gnu-emacs@HIDDEN; Tue, 30 Apr 2024 05:30:53 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailfout.nyi.internal (Postfix) with ESMTP id 5038A1380E2D
 for <bug-gnu-emacs@HIDDEN>; Tue, 30 Apr 2024 05:30:50 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Tue, 30 Apr 2024 05:30:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h=
 cc:content-type:content-type:date:date:from:from:in-reply-to
 :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3;
 t=1714469450; x=1714555850; bh=5Bgmi9XsETm/LrH8OdOtGJf4jklHCtqK
 ufMR8d0FV4A=; b=w3jP2zxjRq7sgml8f/s38H6jaRmHXzHadNdYEQaYBK0qPlWT
 IqZj8Ffx4VKOsv0g1l9FaicJEp/UnVygYxGwMYSKGB2VnhiJyR0UwaktOvd1TDA4
 oaVo4G6Dl7ynnxDnYpsFIHIx/+xVNC54XDA0Mdc0+465EtWdQUc2/Ft8KPHQBcbw
 Aj3glUE1YfPZO6pcIspafrW2GlQu6HkilneU7N8wpTDZODwi7sRyvoeAbiomLvCy
 msCzx4vI2IIu7JLLwTt1aE6KC1GEv83arzFE4bjUIWbHS3Ah16WRH/8SV+mrAG+D
 /xzJ1FtwTDlclh38EFD8vSB0IVUPTieTjdax/g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:message-id
 :mime-version:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=
 1714469450; x=1714555850; bh=5Bgmi9XsETm/LrH8OdOtGJf4jklHCtqKufM
 R8d0FV4A=; b=MA/YjIfzJeeIL0gdh3Bb6F+RW2Q+3/nQSnJCZp0MMG/jFnAe59J
 pab3FE1NIC9iO1yliZyHGvmF5aYNmfrKfeQJFtOFRTDOnYbgDMKSnYLVq1vg+Q1j
 pxJsp8utZThZMtTrh8RYvPEH7Iy46VYP+h0OmQguVi7H/9nG+zIJGDKylXAB2vzC
 vAB32shi1DyKdWdgk0ZjcPH8KumyEupyFFu2CFMP7DBNRabJjJFrL/n8yw7gXV2c
 a8J2D5yNqGAnKuIW0N6QsbLQLLPAf9d2fn4sPnKLBaSCGF2dDP9OriUh4Y62zezr
 ZNHTKUm2JHftOLtsTXtum+S2vBY3PydH/GQ==
X-ME-Sender: <xms:SrowZheq-zNpdPKC0UMUGzw8gwRO88qKyjGeDAdvZ-SMIE-WqOGKXQ>
 <xme:SrowZvMxIkTExLmgKmqoKyjAlEa_80o_IRP9rFAM0FuZqkdVF92gHUi4X0PoxUL54
 sS5Pf4AZUi_3Q>
X-ME-Received: <xmr:SrowZqju03hJG6G8RriOgPul1iUVsqNoCyddGlXBwBOSdEitNr7grgbaLxi9zBH8aqx0ekHEg9H3x1L5ki6-EymVh5LfH4Db2xsqWzfyqj-ugbc_yxgpsd5gFbzpjSUAVScaoHQn-cI2gpbgRO6OJNapAmKnqDXem6-PHQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddufedgudeiucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufgffkfggtgesthdtredttd
 ertdenucfhrhhomheplfhoohhsthcumfhrvghmvghrshcuoehjohhoshhtkhhrvghmvghr
 shesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhephfevffejhfegueffge
 eivdehheefudehudffgedtjedujeehveehffffkefhffeknecuvehluhhsthgvrhfuihii
 vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhoohhsthhkrhgvmhgvrhhssehfrg
 hsthhmrghilhdrfhhm
X-ME-Proxy: <xmx:SrowZq_5atK09EjBOcUqgp5MlljAHmk2y_7edEQK0CdR_fW515UnIQ>
 <xmx:SrowZttNd9_CGLcmmgcaf9cBbOHVet3NSkP8o_ABQ-LscXQQSrJ7Ew>
 <xmx:SrowZpGEiYaak_zcByTz8i4X39pSGpWmMxdrrRG7YxarMEFOkoym8w>
 <xmx:SrowZkNJ8TsbtS1moVHjZAAtZDPaVdAdZlzPfiFR61mF63qAx3Ww1w>
 <xmx:SrowZuXrf3ObVVaW3j7RGkKdA0PWNwzrv0_DVG_zKmKlBKZ7lqhP7y6Z>
Feedback-ID: ie15541ac:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-gnu-emacs@HIDDEN>; Tue, 30 Apr 2024 05:30:49 -0400 (EDT)
From: Joost Kremers <joostkremers@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.3; vtable-insert-object cannot insert at top of table
User-Agent: mu4e 1.12.2; emacs 29.3
Date: Tue, 30 Apr 2024 11:30:47 +0200
Message-ID: <86o79rb3js.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=103.168.172.151;
 envelope-from=joostkremers@HIDDEN; helo=fout8-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

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.

[All the diagnostic info that `M-x report-emacs-bug` usually gathers should
appear here, but there was a problem with the buffer being read-only. I'll have
to look into that, but for this report, this info isn't relevant, I think.]

TIA

-- 
Joost Kremers
Life has its moments




Acknowledgement sent to Joost Kremers <joostkremers@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#70664; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 2 May 2024 07:00:01 UTC

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