From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Cook, Malcolm" <MEC@stowers.org>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: BUG: org-archive-subtree LOSES DATA when run on unsaved buffer
Date: Wed, 10 Apr 2019 15:37:48 +0200 [thread overview]
Message-ID: <877ec256c3.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <DM5PR20MB2039FF0588E543CF0D0ABDADBE2D0@DM5PR20MB2039.namprd20.prod.outlook.com> (Malcolm Cook's message of "Tue, 9 Apr 2019 21:18:44 +0000")
Hello,
"Cook, Malcolm" <MEC@stowers.org> writes:
> I never use org's archiving capabilities.
>
> So imaging my surprise when I accidently invoked org-archive-subtree from its key-binding and I lost a whole subtree of a new buffer which (alas) I had not yet saved to disk
>
> Further alas, I was so alarmed not knowing where my content disappeared to that I did not think to try the obvious - undo.
>
> What happens? It appears that org-archive-subtree will create
> a symlink to a non-existent target and try to move the subtree there
> (which does not make sense) and does not check for errors or confirm
> completion.
>
> This arguably should be addressed.
I do not understand your report. Is it about subtree archiving not
asking for confirmation?
I don't understand the symlink part either. There is no "symlink"
occurrence in "org-archive.el".
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2019-04-10 13:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-09 21:18 BUG: org-archive-subtree LOSES DATA when run on unsaved buffer Cook, Malcolm
2019-04-10 13:37 ` Nicolas Goaziou [this message]
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=877ec256c3.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=MEC@stowers.org \
--cc=emacs-orgmode@gnu.org \
/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).