From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2Br7DCDmmGNecgEAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 21:52:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +HT5DCDmmGNYIgAA9RJhRA (envelope-from ) for ; Tue, 13 Dec 2022 21:52:48 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E717A37755 for ; Tue, 13 Dec 2022 21:52:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5CFl-000257-2r; Tue, 13 Dec 2022 15:51:53 -0500 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 1p5CFj-00024w-9H for emacs-orgmode@gnu.org; Tue, 13 Dec 2022 15:51:51 -0500 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5CFh-0005Lc-A7 for emacs-orgmode@gnu.org; Tue, 13 Dec 2022 15:51:50 -0500 Received: by mail-pf1-x431.google.com with SMTP id k79so3053088pfd.7 for ; Tue, 13 Dec 2022 12:51:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=HnOi32zU+hma2B/v2UeKzrqsopc7mUbUMemqJxLN/fE=; b=jrcYe3RzBcO2O4DkZ93+OdaF1ew8WJlsRhu7lmghiJrk6RKR4CXz0uzpuI8eqXpn1x uZjR3xJH7kpclm5NaOpTspbfBcGLKpSg7yFDU8cgsNdcqnNSumQ0FMvwDz1OpM5oODGo ptWG9vwN4oJwySghDgEB2yUut8zDCGWqROdSiq4qwA0UernBuLgBCVSsYLmv5VVJXHmJ zPqpcEiPeIQV6OmFNtDzRNcRnupA0H1Bn/Uo/5AZXSskcu2PxoejED5nEcrlomlAoVdX YZK49Jthn4Q4FjoDo6pgwwGvSBBW5qGYjaRR2+F4IeTLFEcJMjnhYKZrVDwmBzeu3RbC LmnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HnOi32zU+hma2B/v2UeKzrqsopc7mUbUMemqJxLN/fE=; b=poO9+5C1GDhLVdoOB+uKtDUKGV9GlhRLB0UebjuKAg6BXUcld/66zNWGMJPWQBB1rT bMhBAMkg9TYvoL4FJolKUumTmusmZvaIZM+MJYYTOxYSt2vnovzJmdvXMpWvRqbPk1FQ vvnBHv2RxcLF+P3MHzjGuiA2Ol27XHgfC5PytRUA5OWn79gyadApkGlHcEZweYxzxn7U OQT62oeThK3sXIpTyD0Vf3t45M/lIwr/yOBsy+Xsu3mOn8KzQn0KsgDoVc/cl1WZ9U39 t/bsV6WozLabOWcg+sCr1rDSy4J9PIIad8rAXfCzKOcOF5IiTDbjSZ4auqNTgS6+prEW 7VEQ== X-Gm-Message-State: ANoB5pmgKrEu70u4KVwqCHX4VzFO1dEKcrYq1T0Rz2gROq9B8OnBwOfJ FCHpElk1LBWbKBSvzkrF6oSckJWKJSgIP3Wqmhw= X-Google-Smtp-Source: AA0mqf5+NOOFnr396d41xDTx1oPds5mEc4tr3mp2UNSODMyC/UrKOJCs6C+1ZbpSwODgNy64TharXpvFRpqHtbrZCPQ= X-Received: by 2002:a62:e802:0:b0:578:2cce:c33e with SMTP id c2-20020a62e802000000b005782ccec33emr977892pfi.8.1670964707682; Tue, 13 Dec 2022 12:51:47 -0800 (PST) MIME-Version: 1.0 References: <87sfhjele4.fsf@localhost> In-Reply-To: <87sfhjele4.fsf@localhost> From: Kaushal Modi Date: Tue, 13 Dec 2022 15:51:11 -0500 Message-ID: Subject: Re: Incorrect numbering of tables (and other elements like figures) [Org 9.6] To: Ihor Radchenko Cc: emacs-org list Content-Type: multipart/alternative; boundary="000000000000d56e0905efbbc99d" Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=kaushal.modi@gmail.com; helo=mail-pf1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670964767; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HnOi32zU+hma2B/v2UeKzrqsopc7mUbUMemqJxLN/fE=; b=R5XsDFVjAQ4bqxyRh+JyhVtm70ILOWdd9WvdnPY6Pbf3dZ+EsTFk5oLxNVhU0W+EtmBjA+ qLE8E92dFT3L+m+YRrqMGS9y2PTuYEkRtTGUOP4S/tOC//Myn7jumdIvjd+SE41l9kJIbp 9M4ovZnQ9u8hjL3Our05G69EIpmBofFnimRhUeBDzSEJNDW/uZ1KSMjqJ60/Lg1+0YJMrW HWRVMCS0YPXurRs+sMxDeTBOJRCnQ7ZiHYos5nAhjp6LVmxHSASvDQVUGl3zEJeG/uSYM3 D7ltUQKrcDuBUDSt89N8FmqsIBHpYdUtvjrXSnvR3Ss7MBvuLWHJlMGh2qMUvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jrcYe3Rz; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670964768; a=rsa-sha256; cv=none; b=WaEPkh2sYXfZHuSQNoe/2sqIgE+OdccDUbBZ8jge48ImAOtIyMmfx9zC/lu9ySUPU++6cT mrBj+gKVSCJafDS9bSqszZYr2v+i1iReC99pkwhBQIjQlAKmid3anGYGhy0O/ZmnDA/jJy b4/gWgY68+UjxezHH+h3Nyh4/H+3PQpEPOgpSZ+KI16q9YEUCBAlbqYGX9xbTJz79RntLl vOVGRr/CbxCmpi4b0CxyzWG7sEly3MBaxIg6GFYj+LDaRfhTp3FJv1h7qOLkWWk+G5A91r a6Gn7eaKAXX8YIxfdUNQBGgK8pX+2m/QsyzeD6+OnySij0YaFIoAks/AsdnVKA== X-Migadu-Spam-Score: -6.24 X-Spam-Score: -6.24 X-Migadu-Queue-Id: E717A37755 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jrcYe3Rz; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-TUID: HWBN5NtxNY7J --000000000000d56e0905efbbc99d Content-Type: text/plain; charset="UTF-8" On Tue, Dec 13, 2022 at 3:52 AM Ihor Radchenko wrote: > Kaushal Modi writes: > > > Since Org 9.6, I am seeing that the numbering of tables (and other > elements > > like figures) resets to 1 and stays so, thought I cannot see a pattern of > > why that happens. > > > > Org version: Org mode version 9.6 (release_9.6-40-g49cf3e ..) > > > > Here's a small reproducible example that shows the problem in any > exporter > > (ox-ascii, ox-html, ..) > > ... > > Thanks for reporting! > Fixed on bugfix. With a test now. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=bdb4c4c66 > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=02909fe37 > > Thank you! I confirm the fix. Also thanks for adding the test. --000000000000d56e0905efbbc99d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Dec 13, 2022 at 3:52 AM Ihor Radchenko <yantar92@posteo.net> wrote:
Kaushal Modi <kaushal.modi@gmail.com> w= rites:

> Since Org 9.6, I am seeing that the numbering of tables (and other ele= ments
> like figures) resets to 1 and stays so, thought I cannot see a pattern= of
> why that happens.
>
> Org version: Org mode version 9.6 (release_9.6-40-g49cf3e ..)
>
> Here's a small reproducible example that shows the problem in any = exporter
> (ox-ascii, ox-html, ..)
> ...

Thanks for reporting!
Fixed on bugfix. With a test now.
https://git.savannah.gnu= .org/cgit/emacs/org-mode.git/commit/?id=3Dbdb4c4c66
https://git.savannah.gnu= .org/cgit/emacs/org-mode.git/commit/?id=3D02909fe37


Thank you!

I = confirm the fix. Also thanks for adding the test.
--000000000000d56e0905efbbc99d--