From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Subject: Archiving in same file opens all subtrees and leaves them open Date: Sun, 4 Apr 2010 06:42:43 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyJXw-0007nf-Av for emacs-orgmode@gnu.org; Sun, 04 Apr 2010 02:43:00 -0400 Received: from [140.186.70.92] (port=34785 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyJXu-0007ke-V8 for emacs-orgmode@gnu.org; Sun, 04 Apr 2010 02:42:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NyJXt-0003Ww-JJ for emacs-orgmode@gnu.org; Sun, 04 Apr 2010 02:42:58 -0400 Received: from lo.gmane.org ([80.91.229.12]:57416) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyJXt-0003Wc-8E for emacs-orgmode@gnu.org; Sun, 04 Apr 2010 02:42:57 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NyJXp-0000ct-E8 for emacs-orgmode@gnu.org; Sun, 04 Apr 2010 08:42:55 +0200 Received: from 94-21-19-184.pool.digikabel.hu ([94.21.19.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Apr 2010 08:42:53 +0200 Received: from levelhalom by 94-21-19-184.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Apr 2010 08:42:53 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I put an ARCHIVE tag to the beginning of an org file: #+ARCHIVE: ::* archive and archived subtrees are put correctly under the archive heading in the same file. The problem is archiving opens all subtrees in the file and leaves them open and it messes up my nicely folded file. I have to refold the trees manually to the previous state. Is it a bug? Why does archiving open unrelated subtrees at all except for the "archive" tree? And if it does shouldn't it restore the previous folding state when it's finished? Org-mode version 6.34c