From mboxrd@z Thu Jan 1 00:00:00 1970 From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) Subject: Re: org-archive-save-context-info as local variable Date: Fri, 21 Nov 2014 15:58:26 -0500 Message-ID: <87tx1sw9sd.fsf@yale.edu> References: <8761e8xwlu.fsf@yale.edu> <87zjbkz2zk.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrvK4-0002jL-L0 for emacs-orgmode@gnu.org; Fri, 21 Nov 2014 16:01:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrvJt-00024q-FL for emacs-orgmode@gnu.org; Fri, 21 Nov 2014 16:00:56 -0500 Received: from plane.gmane.org ([80.91.229.3]:34149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrvJt-00024c-57 for emacs-orgmode@gnu.org; Fri, 21 Nov 2014 16:00:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XrvJs-0004YB-GO for emacs-orgmode@gnu.org; Fri, 21 Nov 2014 22:00:44 +0100 Received: from nat-130-132-173-201.central.yale.edu ([130.132.173.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Nov 2014 22:00:44 +0100 Received: from jorge.alfaro-murillo by nat-130-132-173-201.central.yale.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Nov 2014 22:00:44 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Kyle Meyer writes: > The buffer-local value doesn't continue to shadow the global > value when org-archive-subtree sets the buffer to the archive > file. Thanks, Kyle! That is the reason. Setting the local variable in the archive file as well does the trick. -- Jorge.