From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Archiving in agenda view storing the wrong headline Date: Sat, 19 May 2007 10:43:01 +0200 Message-ID: <87k5v5kxuy.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HpKWx-00023y-Lo for emacs-orgmode@gnu.org; Sat, 19 May 2007 04:43:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HpKWv-0001yY-IG for emacs-orgmode@gnu.org; Sat, 19 May 2007 04:43:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpKWv-0001yJ-DS for emacs-orgmode@gnu.org; Sat, 19 May 2007 04:43:13 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HpKWu-00047a-2V for emacs-orgmode@gnu.org; Sat, 19 May 2007 04:43:12 -0400 Received: by ug-out-1314.google.com with SMTP id j3so603497ugf for ; Sat, 19 May 2007 01:43:04 -0700 (PDT) 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 Hi, i finally found a way to reproduce a quite annoying bug. Try this file : ---%<-------------------------------------------------------------------- #+STARTUP: align fold nodlcheck #+SEQ_TODO: TODO DONE #+TITLE: Bastien TODO #+AUTHOR: Bastien Guerry #+EMAIL: Bastien.Guerry@ens.fr #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t *:t TeX:t skip:nil #+ARCHIVE: archives/bzg_archive:: * Headline 1 * Headline 2 #+CATEGORY: headline2 ** First appointment SCHEDULED: <2007-05-19 sam> ---%<-------------------------------------------------------------------- Then open a new Emacs session, call `org-agenda-list' then try to archive the "First appointment". Org won't store this headline in the "headline2" category, but it will put the whole "* Headline 2" subtree in the archives/bzg_archive file. I guess i'm using a rather unusual and (too) complicated archiving scheme, but being able to misuse a wonderful tool is what makes it wonderful sometimes :) -- Bastien