From: Nick Dokos <nicholas.dokos@hp.com>
To: "'Mash (Thomas Herbert)" <mashdot@toshine.net>
Cc: Emacs Org <emacs-orgmode@gnu.org>
Subject: Re: Changing '_archive' extension to allow Easy PG encryption: "_archive.gpg"?
Date: Tue, 19 Mar 2013 08:20:56 -0400 [thread overview]
Message-ID: <9880.1363695656@alphaville> (raw)
In-Reply-To: Message from "'Mash (Thomas Herbert)" <mashdot@toshine.net> of "Tue, 19 Mar 2013 11:18:32 -0000." <20130319111832.GA17118@localhost>
'Mash (Thomas Herbert) <mashdot@toshine.net> wrote:
> 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.
>
C-h v org-archive-<TAB> gives some idea of the variables that are there.
org-archive-location is what you need to change in order to add the .gpg
suffix.
I have no idea however, whether that's enough to allow you to do what
you want to do.
Nick
next prev parent reply other threads:[~2013-03-19 12:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-19 11:18 Changing '_archive' extension to allow Easy PG encryption: "_archive.gpg"? 'Mash (Thomas Herbert)
2013-03-19 12:20 ` Nick Dokos [this message]
2013-03-20 9:18 ` 'Mash (Thomas Herbert)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9880.1363695656@alphaville \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=mashdot@toshine.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).