Hello, Allen Li <vianchielfa...@gmail.com> writes:
> On Wed, Dec 6, 2017 at 12:19 PM, Allen Li <vianchielfa...@gmail.com> wrote: >> (Can reproduce with Org 9.1.3, submitting with emacs -Q) >> >> Using a file tmp.org: >> >> * Foo >> ** Archive :ARCHIVE: >> *** Test >> :PROPERTIES: >> :ARCHIVE_TIME: 2017-12-06 Wed 12:13 >> :END: >> ** Bar >> >> This appears like so with default visibility: >> >> * Foo >> ** Archive :ARCHIVE:... >> ** Bar >> >> Archiving Bar with C-c C-x A yields: >> >> * Foo >> ** Archive :ARCHIVE:... >> *** Bar... >> >> Expected visibility: >> >> * Foo >> ** Archive :ARCHIVE:... AFAICT, the action leaves point on the just archived sub-heading. As a consequence, it has to visible. Your expected visibility means the function should move point. Why would that be better than letting it on the headline you just operated on? >> AFAIK, there is no special location in the file for archived subtrees, >> i.e., there is nothing wrong with >> >> * Some projects >> ** Some item... >> ** Archive :ARCHIVE:... >> ** New entry... > > This bug means that the Archive headline's position is significant. I fail to see how you draw such a conclusion. Regards, -- Nicolas Goaziou