emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Loris Bennett <loris.bennett@fu-berlin.de>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: Spurious "Non-existent agenda file" message?
Date: Fri, 8 Jun 2018 07:46:07 -0700	[thread overview]
Message-ID: <CAJ51ETqF8sU=dyN6OYOHT7DczFwk98dpHTB=JoHf4RdSf7DvYg@mail.gmail.com> (raw)
In-Reply-To: <87a7s5budv.fsf@hornfels.zedat.fu-berlin.de>

[-- Attachment #1: Type: text/plain, Size: 1774 bytes --]

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 <loris.bennett@fu-berlin.de>
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.
>
>
>

[-- Attachment #2: Type: text/html, Size: 2773 bytes --]

  reply	other threads:[~2018-06-08 14:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-08  7:38 Spurious "Non-existent agenda file" message? Loris Bennett
2018-06-08 14:46 ` John Kitchin [this message]
2018-06-11  8:56   ` Loris Bennett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ51ETqF8sU=dyN6OYOHT7DczFwk98dpHTB=JoHf4RdSf7DvYg@mail.gmail.com' \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).