From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eo+kCcei8GacWAAAe85BDQ:P1 (envelope-from ) for ; Sun, 22 Sep 2024 23:05:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eo+kCcei8GacWAAAe85BDQ (envelope-from ) for ; Mon, 23 Sep 2024 01:05:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=lfOmiLlo; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727046311; 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=5YXCYYBRPyjVhEgvw7wdpEXmnqKorzRa48DFmh2DS2I=; b=ZC0J/fAxm7cxGcGlZFQ7FM0+SqjG5998INQYZ+bol9Jx0wjFnUiKYRPT7Qy5zajLQNHb2F sz/zYhl77MemSn2VZ5VWp3LHXPlB8ujWmdew/ToxXgKR3JMrvKb8b4EZ/WzCSeZnHLocHJ lOVQmZ6IT+DDZ6gaXzRhKt+xDuUCcwM+MMznS1JgfwczqlYD12KNNJC558YNNgaG8kqta8 7GCsXSndN/9OpTTz+GmoWM/Ntls8+o9RlTkObMY7Ycd/XRCzbzucCgR86uIshaT45T/Zvy NC7U8Tz8H9XNuO39SUy6NWokEf+c/zShtxUjQ0uw9DBBixBIrLGilXpZ3pY+tA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=lfOmiLlo; 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=1727046311; a=rsa-sha256; cv=none; b=Vf8MdWpk3p6ZSLuIbydSjyqWiJ9qqSogezxHokuiOK7xlswYpqSnZ2h3uZtfqIkk3SdwJ1 w8fzV9Op3JUIJWrwtURetq+ql1+UuX9nQeEXmKZwv37nolfc8VrViW9e+PZ4XoXUUBZx33 HpVqGKRSnklo6jWXLtpVlWfUteg2oHekdd6HOKckxXZAzUIyzJlcvhRxkVPwPzMtAPu2+E nbi4UYbJcZ1gjEo16AI3Ra9vZkT+SOOAcghruJktWTL+Y1t1Duaw5KBaMRZ6ZKmsVijUsa 0CI+NaP3XmT0+uNxSMFqLv4eQG95c9wa+5eSZZF3BY9FN5Yf9uF1IyisDkiQBg== 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 B469C7837C for ; Mon, 23 Sep 2024 01:05:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssVcy-0003Ju-R3; Sun, 22 Sep 2024 19:04:29 -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 ) id 1ssVcs-0003JV-37 for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 19:04:23 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ssVcq-0008CB-OM for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 19:04:21 -0400 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-2068acc8b98so34329805ad.3 for ; Sun, 22 Sep 2024 16:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727046259; x=1727651059; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=5YXCYYBRPyjVhEgvw7wdpEXmnqKorzRa48DFmh2DS2I=; b=lfOmiLloPCjuj320L/mFNfjpptI4qlXDx7ISXE2rtKR1eoO38F28bOeIFOvEeiWIrD TmFjFqqwOxHGzaoc0I5z525wCz/ShsmC1WS5ezw2QTlea/Nty/obWNdmp+hRGHrE67WZ +jlCR67FSBv4kVp/xWhPNBgDHwvJtZlnDoqOHBFRMukGFbGFF1ZURZe/ZQZLbbtp2Lrx wUuBxyjdeHoQRDFk+6m90WecjFrxR32EFRTPtAQLoGeTle1JZ3QjyYJcjcYXwqWdwB2I 1Cufxdlw7OgEN7M7ruBRAhEcs9mUu/dL3U7Ovopp/aK+qoo6yTpsNTdVRhgpzDSmDA6Y XqFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727046259; x=1727651059; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5YXCYYBRPyjVhEgvw7wdpEXmnqKorzRa48DFmh2DS2I=; b=m9SSC/kOcS7UpWPEcPOYqmyDZQOkYASTzjopIL2i/QbvRd3uxw+aswvaRNNMABnCxV KDdYkIJcsQoPQHdD78Hyt4eTVc69tCYh/VpEdCHGAjeJICWx4I75mU08n8nxggaq5EYc KducbSU+0G0K+pgoAP3GadsOgxJHASUSEp6kXY7hkpsVkkPRUT+dZHLRZIFkFxC325CQ lixrSGLSXingvF1WcppQkWGAgSnyBPBRaKHFGBCURLuVhoL1e6717YYbqJyFASKkoa56 GBW8hw3ggN/h+uxpZzdj5AF+ruAb5Cu3i2KS8puc8T05bkADy0vgdXXsHzxpAkfIa5PW 0CTw== X-Gm-Message-State: AOJu0YwjelVMiL2vz1gZK47PT6DUboanjBPC905ibxkbDNnkb1NRzMwP klcP2YCv/GBd4DZPGe84iciQn0/dblL8SkPvcYVqMEM64+gFdd72 X-Google-Smtp-Source: AGHT+IH0UnKCTnN8CPu9YkNKSfP4pWf4j++pJIKAwLSS2djjRaA7b0UaHHU2fErX2P/Bh/kIHkGO/g== X-Received: by 2002:a17:902:d48d:b0:206:a3a9:197c with SMTP id d9443c01a7336-208d854e66bmr131902565ad.49.1727046259120; Sun, 22 Sep 2024 16:04:19 -0700 (PDT) Received: from localhost ([169.231.69.110]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2079460327bsm123074965ad.103.2024.09.22.16.04.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Sep 2024 16:04:18 -0700 (PDT) From: Karthik Chikmagalur To: Ihor Radchenko , lra@phdk.org Cc: Emacs Orgmode Subject: Re: [PATCH] Fixing a regression in org-persists ability to handle non-list container arguments. In-Reply-To: <87zfo0qchb.fsf@localhost> References: <87zfo0qchb.fsf@localhost> Date: Sun, 22 Sep 2024 16:04:17 -0700 Message-ID: <87r09bwary.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pl1-x634.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, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: B469C7837C X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -9.83 X-Migadu-Spam-Score: -9.83 X-TUID: NuqoKGOCMzqG LRA, thanks for the fix. Ihor, `org-persist--find-index' is singularly confusing. I've been over it with edebug a few times and still can't figure out what it's doing, because `container' means different things at different points in the function because of the macro `org-persist-collection-let'. Could it be simplified in some way? Karthik