From mboxrd@z Thu Jan 1 00:00:00 1970 From: "'Mash (Thomas Herbert)" Subject: Changing '_archive' extension to allow Easy PG encryption: "_archive.gpg"? Date: Tue, 19 Mar 2013 11:18:32 +0000 Message-ID: <20130319111832.GA17118@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHuYw-0000EA-47 for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 07:18:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHuYu-0003Xl-2Q for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 07:18:38 -0400 Received: from mxout-07.mxes.net ([216.86.168.182]:57395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHuYt-0003XO-T1 for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 07:18:35 -0400 Received: from localhost (unknown [195.7.254.102]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 92F2E22E2BA for ; Tue, 19 Mar 2013 07:18:34 -0400 (EDT) Content-Disposition: inline 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 Org Morning, I wanted to know how I would change the default '_archive' extension? I work with encrypted org files "foo.gpg" with Easy PG and the added header... # -*- mode: org; epa-file-encrypt-to: ("mashdot@toshine.net") -*- But today I discovered that when I archive my TODO items they are of course saved unencrypted to the archive file "foo.gpg_archive". This really is not ideal situation! I tried adding my header to the "_archive" file but this doesn't work, I assume because the extension is not ".gpg". Any ideas how would I change the default "_archive" extension to "_archive.gpg" or better setup a case where it would change the extension only if the org file is ".gpg" to begin with? I suppose could also look to setup a case for Easy PG to work with a different extension, but would prefer to define the change for org-mode instead. Many thanks, 'Mash