[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] BUG: org-archive-subtree LOSES DATA when run on unsaved buffer
From: |
Nicolas Goaziou |
Subject: |
Re: [O] BUG: org-archive-subtree LOSES DATA when run on unsaved buffer |
Date: |
Wed, 10 Apr 2019 15:37:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
"Cook, Malcolm" <address@hidden> 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