From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Spurious "Non-existent agenda file" message? Date: Mon, 11 Jun 2018 10:56:38 +0200 Message-ID: <87wov5og55.fsf@hornfels.zedat.fu-berlin.de> References: <87a7s5budv.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSIdA-0004kE-0f for emacs-orgmode@gnu.org; Mon, 11 Jun 2018 04:56:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSId5-00068N-Tl for emacs-orgmode@gnu.org; Mon, 11 Jun 2018 04:56:52 -0400 Received: from [195.159.176.226] (port=43188 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSId5-00067z-LM for emacs-orgmode@gnu.org; Mon, 11 Jun 2018 04:56:47 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fSIav-0002T2-9O for emacs-orgmode@gnu.org; Mon, 11 Jun 2018 10:54:33 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi John, The problem didn't occur this morning when I constructed the agenda, so I suspect you may be right about it having to do with some transitory state. However, I couldn't provoke the error by creating unsaved buffer with the appropriate name, but I shall look more carefully at what buffers are open next time the problem crops up. Thanks Loris John Kitchin writes: > Sometimes I see this when a buffer is open to a file that has never > been saved. This can happen when I start a new org file and try to do > some agenda thing before I save it, or when some function/process > opens an org-file in a new directory for example, and an agenda thing > happens before it has been saved. > > You could check to see if there is a refile.org buffer open (not > necessarily to the existing file, just one named refile.org) but that > has not been saved. I don't know why such a buffer would be open, but > if it is, it might be a cause of that problem. > > John > > ----------------------------------- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > On Fri, Jun 8, 2018 at 12:38 AM, Loris Bennett wrote: > > Hi, > > Suddenly, maybe after an update to Org 9.1.13, I get the error > > Non-existent agenda file refile.org. [R]emove from list or [A]bort? > > when generating the agenda. However, the file exists (and has done for > years). If I press 'R', the agenda is built, but the offending file is > not removed and entries from the file are included in the agenda. > > The entry is the 3rd of 3 files. I added a 4th to check whether it is > an off-by-one error, but still only the 3rd entries is considered > non-existent. > > If I add a file to 'org-agenda-files' which really is missing, I get the > error, but when I press 'R' the entry really is removed from the list. > Even if I remove 'refile.org' from the list, I still get the error that > 'refile.org' is missing. > > Any ideas what I could try next? > > Baffled, > > Loris > > -- > This signature is currently under construction. > > -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de