From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Spurious "Non-existent agenda file" message? Date: Fri, 8 Jun 2018 07:46:07 -0700 Message-ID: References: <87a7s5budv.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000da69e8056e2275cd" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRIea-0002Fr-9X for emacs-orgmode@gnu.org; Fri, 08 Jun 2018 10:46:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRIeY-00083Y-UX for emacs-orgmode@gnu.org; Fri, 08 Jun 2018 10:46:12 -0400 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:40923) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRIeY-00081x-IS for emacs-orgmode@gnu.org; Fri, 08 Jun 2018 10:46:10 -0400 Received: by mail-wr0-x22d.google.com with SMTP id l41-v6so13670089wre.7 for ; Fri, 08 Jun 2018 07:46:10 -0700 (PDT) In-Reply-To: <87a7s5budv.fsf@hornfels.zedat.fu-berlin.de> 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: Loris Bennett Cc: org-mode-email --000000000000da69e8056e2275cd Content-Type: text/plain; charset="UTF-8" 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. > > > --000000000000da69e8056e2275cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 t= o do some agenda thing before I save it, or when some function/process open= s an org-file in a new directory for example, and an agenda thing happens b= efore it has been saved.=C2=A0

You could check to see if= there is a refile.org buffer open (not n= ecessarily 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=C2=A0
Doherty Hall A207F
Department of Chemical Enginee= ring
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803<= /div>

On Fri, Jun 8, 2018 at 12:38 AM, Loris Benne= tt <loris.bennett@fu-berlin.de> wrote:
Hi,

Suddenly, maybe after an update to Org 9.1.13, I get the error

=C2=A0 Non-existent agenda file refile.org.=C2=A0 [R]emove from list or [A]bort= ?

when generating the agenda.=C2=A0 However, the file exists (and has done fo= r
years).=C2=A0 If I press 'R', the agenda is built, but the offendin= g file is
not removed and entries from the file are included in the agenda.

The entry is the 3rd of 3 files.=C2=A0 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 ge= t the
error, but when I press 'R' the entry really is removed from the li= st.
Even if I remove 'refile.org' from the list, I still get the error that=
'ref= ile.org' is missing.

Any ideas what I could try next?

Baffled,

Loris

--
This signature is currently under construction.



--000000000000da69e8056e2275cd--