From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wKNAJCdicWEFUwAAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 14:50:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yNfgHydicWH+dwAA1q6Kng (envelope-from ) for ; Thu, 21 Oct 2021 12:50:47 +0000 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 1788336106 for ; Thu, 21 Oct 2021 14:50:47 +0200 (CEST) Received: from localhost ([::1]:35468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdXWv-0001t8-R2 for larch@yhetil.org; Thu, 21 Oct 2021 08:50:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdXWA-0001mg-I6 for emacs-orgmode@gnu.org; Thu, 21 Oct 2021 08:49:58 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:38551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdXW7-0003gj-NH for emacs-orgmode@gnu.org; Thu, 21 Oct 2021 08:49:58 -0400 Received: by mail-pj1-x1034.google.com with SMTP id o4-20020a17090a3d4400b001a1c8344c3fso915622pjf.3 for ; Thu, 21 Oct 2021 05:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=4d+sZjWgYAtsalSUFS1X5lvibv2V3nfPrpXqqDhL1Uk=; b=F2ezEVw8foVwOrtj11Y/h0on54CgDAuU302Ig/txE8aCZ4ljcHwwYseSt0TMHRKpcB ECl4LnFLyHfxcQrhoRxJ78yX7TPqC13sH6qI3Y54eFkFoLNGfUr9qqn8E9ZqfHvkNgry lZ38A12A+0/ROcyfA+ub1/r0RB3afZsl4xU3Xco14YZWzSdI2N1LrDvqn8IkjSvhKzGS ZkhjaFdWDz91skoZ++RccJ2BUXQlP1T3vvhY72GIv4y38GdzWwiA11IudtU88REadHKE DLca6npmUWCBrxws+au+hSzQNBW8Djx/baXFbxSvt4erv+nCMdBnL/F2DshBy1tpm0Ky a0lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=4d+sZjWgYAtsalSUFS1X5lvibv2V3nfPrpXqqDhL1Uk=; b=kLchxWDLJLXfOyZoK/hDAOmczjg/FB1fzCt3HXqbb7Xc9LM3OZuYfzxFT0CBHi0Wr8 H+h53tgXxLGuVtEtnIzg7c0SVagNy83EmhShpi+GO9ymKXc7EVbtlSWPWZKfYtDzNB2A EWYkGFZyBraqWKYgbSVlOSoyoB+UJBo+nQwMtDyH9xqwwxS8jGp3AoFSuxEs4UMFMvws S3uQFmUczx88n9u7irt8nxkT7lCw/UF4qcycKmyrP4ikp8RoV1DN2Z/TyEg1V0Wm6UGu 289bO9KEzuSLjiHbB3aDe7Rpt3aIPBWjrR7c2on0mBnt1GD879jgvuJRHlR4rPgkIW2U 6SgA== X-Gm-Message-State: AOAM533H6jqNu/4nkXUcQ4jTfIVQykZjoFZtreEjbKgKVNueW7krFtqq FHwO3JQLGnAfw7oXZQ9Ga7o= X-Google-Smtp-Source: ABdhPJyNrfsUYGd8Ipwec6r+uDPwhsAPzOl9/O7H0cWIq2+EXdDJxJzWKk3OO+rOOHs9qijE+fQvcQ== X-Received: by 2002:a17:90b:368a:: with SMTP id mj10mr6414125pjb.201.1634820593098; Thu, 21 Oct 2021 05:49:53 -0700 (PDT) Received: from localhost ([103.125.234.111]) by smtp.gmail.com with ESMTPSA id p9sm5928080pfn.7.2021.10.21.05.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Oct 2021 05:49:52 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Subject: org-persist? error "Variable binding depth exceeds max-specpdl-size" (was: org-persist - bug report) In-Reply-To: References: <87ilxrdgnm.fsf@localhost> <87sfwvkctj.fsf@yandex.com> <877de7dazv.fsf@localhost> <877de71psg.fsf@yandex.com> Date: Thu, 21 Oct 2021 20:51:15 +0800 Message-ID: <87k0i6k0cc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634820647; 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=4d+sZjWgYAtsalSUFS1X5lvibv2V3nfPrpXqqDhL1Uk=; b=kn2OrlR4+ts6mbKi/nvqPuFQ3tviURwmRDx/fCi+ev6Ai6sOJW5C7Q7frpIUo8rPBhzuqw A9SBivo665WfCJF/EQYNPcTj3ZpNGyzlPSJgDfzmhXaLkGV/NZeBfsqSC+j2S7BZhCE1+B o9t0DktHNMk3fs5sUUVt6Z4i/BE5fMW398g+YuXDgsI0qEWMU7p5mg3a7XJs7qjX7bihk7 sbb9XJl0x7y69XxGK0y9qHRUaxl8dgjx/YkLJ23uxEN56VpZDbKr8ySpi0VEHgTW3IzpOj LA98t9pAIbSngpqrn/loCxkqNf6sb8ppuFy8WirNgRSjpRA+zrwxW9zNqBihJg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634820647; a=rsa-sha256; cv=none; b=KvT+fs7ElxWy8/TEryHQUfAIzwIcmewocS7FbaXhfw7qvkgNdz8Qk4pqQhvTF6ypHePjJX s2or8a4p0KoPinznGxw+Qd6lN+5nBbes/ZaWO9pHiRglnl0daDI44PEBPO1QD6GsXg6Gkn CvdHTIdwnW+5J6d/WugC9Jz5PJ2gzuGAlWeuZMkpKRh37wzoMrFRavXowr/VCttZyTnSFp O9d5dd2G5548juX/0p/dJ4aTslb6H2iLaA2Fq/j2CNbwcUAi1JnotQMakohvTiHfACc7Oo NVMcyW4B7czPVkUhGwXFkvDTR7UjycsVNX4WNNTcqr1AlivW0H4tItPBC85SzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F2ezEVw8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F2ezEVw8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1788336106 X-Spam-Score: -2.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: Z1DhA74HOVmX Max Nikulin writes: > Ihor, I have seen your instructions for more debug info, but I have not > tried them yet. In the meanwhile I have tracked my problem down to to > the following minimal file > > --- >8 --- > #+begin_example org > ,* H > #+end_example > --- 8< --- > > M-x org-lint > > Debugger entered--Lisp error: (error "Variable binding depth exceeds > max-specpdl-size") > ... > org-filename-concat I cannot reproduce with your minimal example, but the error indicates some issue with persistent cache. Can you: 1. Go to cache directory (~/.cache/org-persist) 2. Open "index" file and find the record for your minimal file and find :persist-file property. That property is relative cache file path. 3. Attach the contents of the :persist-file Then, can you delete your cache folder and try to reproduce again? By the way, did your Emacs crash recently? > Another observation: > > C-c * on a line to make it a header causes the following warning: > > Warning (emacs): org-element--cache: Unregistered buffer modifications > detected. Resetting > The buffer is: example.org > Current command: nil I cannot reproduce this as well. The fact that "Current command: nil" is suspicious. Is "C-c *" bound to org-ctrl-c-star for you? Best, Ihor