emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Ian Garmaise <ian.g@phorixsol.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: error when archiving two subtrees in a row
Date: Thu, 17 Dec 2020 05:37:24 GMT	[thread overview]
Message-ID: <877dphq9gt.fsf@kyleam.com> (raw)
In-Reply-To: <CALWEx6X3nQaW2mmxdqb6yxLiX1pwKto9SmfDYA6DEegBzrR-kQ@mail.gmail.com>

Ian Garmaise writes:

> When I archive one subtree (C-c $), the first one succeeds.
> The second archive operation fails with a permission denied error as shown
> in the messages buffer:
[...]
> Noticed this yesterday.  Updated org and all packages, then tried it again
> today, was able to reproduce it easily

Hmm, was that an update from 9.3.* or earlier?  9.4 came with a new
option org-archive-subtree-save-file-p.  With the default value, the
file is saved when archiving from an Org buffer but not the agenda.
Before 9.4 [*], the file was never saved, so you could set
org-archive-subtree-save-file-p to nil to restore the pre-9.4 behavior.

That should sidestep the issue, though I don't know why you're hitting.
I'm guessing you only see it with dropbox files?

[*] Going farther back, the behavior was to always save.  That changed
    in 9.1.4 63f6e851b (Do not save target buffer after archiving
    subtree, 2017-11-25).


  reply	other threads:[~2020-12-17  5:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08  1:34 error when archiving two subtrees in a row Ian Garmaise
2020-12-17  5:37 ` Kyle Meyer [this message]
2020-12-17 18:37   ` Ian Garmaise

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=877dphq9gt.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ian.g@phorixsol.com \
    /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).