Hello Seb,

I'm not sure if you'll receive this.  I don't know how gmane stuff
works.

I know you've probably been waiting with bated breath since you
submitted this bug report on 2013-09-09.

I just found this bug on worg's list of old bugs.  I tried to recreate it and
could not.  I then went spelunking in the git history to try and figure out
what was the issue and how did it get fixed.  I believe the issue got fixed in
commit bc33c0133.

Before that commit `org-agenda-prepare-buffers' would loop through all the
files and within a single iteration it would call `org-check-agenda-file'
(which is what checked if the file exists and would output the warning), and
then it would set the buffer to that.  This means the `default-directory' would
be set to that buffers location for the next iteration.  This means in the
provided example, it checked for "../clock-file.org" and
"../../clock-file.org" instead of just "../clock-file.org" twice.

After that commit, each iteration of the loop is contained within its own
`with-current-buffer' macro which keeps the `default-directory' stable.

Please let me know if you can still recreate this issue.  Otherwise, I think we
can close this bug report.

 Best regards,
   Morgan

Reply via email to