From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6NosC5LDBWZu5gAAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Mar 2024 20:22:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6NosC5LDBWZu5gAAqHPOHw (envelope-from ) for ; Thu, 28 Mar 2024 20:22:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fJlVdFro; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711653778; a=rsa-sha256; cv=none; b=SWBuedisLYphPU9nstnQQCisjcQTDhV/TDZg38MuGQd9D9drwAfaiVtndNBBwVOMdQ7XO2 /1eSOgAyASK3i2dSTs5naxArcOb5ll8XiWCg37HbA3Lkcz9HXXujS9ZMCUGwnJBra/6NCW Sve5s5G/Nx4IRQLNe9AUilh7LtkYqOQ3hKhKuUjxxkLdTk5jDGZvxDnTrx7XNQt9dec45j e/ySsILRPOoc4eEeFjsuLY7gceZ1/kak5O+NV8flY367DAuv9rTe6nGiJ0dutgg7yV86WF 2B3udpDmT38/dv1uNp6pPbIibInj46f4FfWhEtyTQnxNnBPGGmVe1iCUAn+rpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fJlVdFro; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711653778; 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=DCCW+OFRPsp3vgpZcEXbxD6PbG7FcZBHppKPVNE7Ryc=; b=oFqhz2fcxUaoS/yN1uQ6q4z8D2qAWL9Zn0gLSWm+k20Av9cmsBm1i8GQZT/i8+rtAkvz2c HGCkudfFVKSpnKGP0dah34l/lM3iHSjmsKnVHF+8VCVRzIxLJft/WVlUSJIoONu7B//nIa /mHDasje4kMnKCn6B/kHDP9Nx5/aTE+WSaDCLP4Oh3gOqkSThdXMLl8en9psACi1xucRsZ D0FaJNwewG1CP/U386Ow6MBfEDV2/9Bwz2r9Nusq8InwDuIGbC3VP52C3n+MOA34NkdqL7 rlGnKhWaZse+F6eyE2Kfyo62aiXXC8Cp2nHtm990ZxZhwzFLWVyUezyEHOgrzw== 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 C092436154 for ; Thu, 28 Mar 2024 20:22:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpvK2-0007l1-5m; Thu, 28 Mar 2024 15:21:58 -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 1rpvJz-0007km-Il for emacs-orgmode@gnu.org; Thu, 28 Mar 2024 15:21:55 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpvJx-0000vv-Ne for emacs-orgmode@gnu.org; Thu, 28 Mar 2024 15:21:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8EF7E240101 for ; Thu, 28 Mar 2024 20:21:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711653710; bh=mX0V5fFKCcVf1rfiXdv9jEr08y/T5HLAFD4M07DTk1c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=fJlVdFroYhmko7Te+XtTCAnboGxcwHuEd4XcLB/7hvjwAeRsHq0BbGd/UumLHZvZ2 yLcz9aRtYrnmQfwEmIbREjhFnIIZLTan6rqPSPur7MraRd/QPVs93svjJ1HQmO58e2 Wd16LX+fOnBcDz08iTyZGPCKfvNhgtaHlQYYBOWPGE5WwrJaHItTmIaP/eTafoqv4j hJvstCYbNaN/VtrALdC0kA7RbkgHcv/7PRsjWMO0r+wTsQEoUmdv5KyGXYjLkF+eVV bIZGnmT7DlUe50Vj/OqZcUn0nz2kX5fUkhOOGP1mVQFT0R/kGEZsRMwBHH6wAwiIIP ZnOxZT/fUlV1w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V5D1T5cHbz6tx7; Thu, 28 Mar 2024 20:21:49 +0100 (CET) From: Ihor Radchenko To: Akash Pal Cc: emacs-orgmode@gnu.org Subject: Re: [Bug?] Non-existent agenda file %s. In-Reply-To: References: Date: Thu, 28 Mar 2024 19:21:54 +0000 Message-ID: <87r0furwkt.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -8.83 X-Migadu-Queue-Id: C092436154 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.83 X-TUID: E69QxPXriXmH Akash Pal writes: > I came across this flow of execution while trying to export a ghost > org-file to pdf, meaning that the file is 'created' through #'find-file but > not saved. While export the following backtrace is noted: > > ``` > Debugger entered--entering a function: > * org-check-agenda-file("/home/akash/Desktop/test.org") > org-agenda-prepare-buffers(("/home/akash/Desktop/test.org")) > org-map-entries((lambda nil (org-set-tags (delete "attached" > ... > I have provisions to call #'org-map-entries before export this triggers > #'org-agenda-prepare-buffers which finally calls #'org-check-agenda-files > > This asks the user what to do with a non existent file > > Non-existent agenda file %s. [R]emove from list or [A]bort? > > *Problem* > > I think this should not be called unless the file is part of > 'org-agenda-files This has been fixed already, on main branch. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6223f20a6 Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at