From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: GPG Files and Agenda Date: Thu, 30 Jan 2014 11:31:36 +0800 Message-ID: <87iot26t7r.fsf@ericabrahamsen.net> References: <86a9eep5hn.fsf@freeenv.ad.medctr.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8iK3-0002LS-6c for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 22:29:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8iJv-0001nu-RE for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 22:29:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:54158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8iJv-0001np-Kd for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 22:29:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W8iJu-00070t-4y for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 04:29:38 +0100 Received: from 101.78.170.2 ([101.78.170.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jan 2014 04:29:38 +0100 Received: from eric by 101.78.170.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jan 2014 04:29:38 +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 Aric Gregson writes: > Hello, > > I have a gpg encrypted org file in my org directory that I have tracked > time on. I would like this to show up in the Agenda view when I create > it and have logging on, but it seems that logged time from the gpg file > is not included in the agenda. I have loaded the module org-crypt, but > that does not seem to do anything different. I should note that I > encrypted it outside of org-mode, I used just the emacs 'Encrypt-file' > function. > > Must the file be encrypted from within org mode? Or is this just > something you cannot do? > > Thanks, Aric I don't think that's how org-crypt works: IIUC it only provides for encrypting individual entries in an otherwise non-encrypted file. But both whole-file encryption and per-tree encryption are going to have the same problem regarding the agenda: there's nothing in the agenda generation code which says "decrypt all agenda files and everything in them". Without that, org can't extract agenda data from them. I could see an argument for automatic decryption, but you'd want to be pretty careful about it -- org-crypt goes to some lengths help you keep decrypted data from being saved to disk. E