From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Li Subject: Bug: subtree archiving when Archive is not final headline yields bad visibility [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.2+gg1+12/lisp/org/)] Date: Wed, 6 Dec 2017 12:19:51 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMgAb-0006Wc-Hi for emacs-orgmode@gnu.org; Wed, 06 Dec 2017 15:19:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMgAa-0005bm-SI for emacs-orgmode@gnu.org; Wed, 06 Dec 2017 15:19:53 -0500 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:42368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMgAa-0005bQ-OS for emacs-orgmode@gnu.org; Wed, 06 Dec 2017 15:19:52 -0500 Received: by mail-qt0-x242.google.com with SMTP id g9so12101456qth.9 for ; Wed, 06 Dec 2017 12:19:52 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org (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:... Emacs : GNU Emacs 25.2.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11), modified by Debian Package: Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/25.2+gg1+12/lisp/org/)