* encrypted items, but not timestamp
@ 2014-02-20 8:13 David Belohrad
2014-03-03 12:28 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: David Belohrad @ 2014-02-20 8:13 UTC (permalink / raw)
To: org-mode Mailing List
Dear all,
I have followed this:
http://orgmode.org/worg/org-tutorials/encrypting-files.html
to encrypt subtree of my journal. So e.g. something like this:
**** testing subree encryption :crypt:
this text should be encrypted when saved on the disk using my private
key. will see if this works
Entered on <2014-02-20 Thu 09:05>
it works, however it encrypts entire subtree including 'entered on
<timestamp>'. This puts a little issue on this, as when in journal,
these timestamps are used in agenda buffer to display the heading. And I
want this heading to be displayed in my agenda, including all the tags
it exhibits.
Is there any way how to achieve this? For the moment the only thing
coming into my mind is to make a timestamp part of heading, which is not
what I really want.
Thanks
.d.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: encrypted items, but not timestamp
2014-02-20 8:13 encrypted items, but not timestamp David Belohrad
@ 2014-03-03 12:28 ` Bastien
2014-03-03 12:34 ` Jonathan Leech-Pepin
0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2014-03-03 12:28 UTC (permalink / raw)
To: David Belohrad; +Cc: org-mode Mailing List
Hi David,
David Belohrad <david@belohrad.ch> writes:
> I have followed this:
>
> http://orgmode.org/worg/org-tutorials/encrypting-files.html
>
> to encrypt subtree of my journal. So e.g. something like this:
>
> **** testing subree encryption :crypt:
> this text should be encrypted when saved on the disk using my private
> key. will see if this works
> Entered on <2014-02-20 Thu 09:05>
>
>
> it works, however it encrypts entire subtree including 'entered on
> <timestamp>'. This puts a little issue on this, as when in journal,
> these timestamps are used in agenda buffer to display the heading. And I
> want this heading to be displayed in my agenda, including all the tags
> it exhibits.
>
> Is there any way how to achieve this?
Nope, sorry.
> For the moment the only thing
> coming into my mind is to make a timestamp part of heading, which is not
> what I really want.
That's also the only workaround I can think of right now.
Best,
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: encrypted items, but not timestamp
2014-03-03 12:28 ` Bastien
@ 2014-03-03 12:34 ` Jonathan Leech-Pepin
2014-03-03 12:36 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Leech-Pepin @ 2014-03-03 12:34 UTC (permalink / raw)
To: Bastien; +Cc: David Belohrad, org-mode Mailing List
[-- Attachment #1: Type: text/plain, Size: 1575 bytes --]
Hello,
On 3 March 2014 07:28, Bastien <bzg@gnu.org> wrote:
> Hi David,
>
> David Belohrad <david@belohrad.ch> writes:
>
> > I have followed this:
> >
> > http://orgmode.org/worg/org-tutorials/encrypting-files.html
> >
> > to encrypt subtree of my journal. So e.g. something like this:
> >
> > **** testing subree encryption
> :crypt:
> > this text should be encrypted when saved on the disk using my private
> > key. will see if this works
> > Entered on <2014-02-20 Thu 09:05>
> >
> >
> > it works, however it encrypts entire subtree including 'entered on
> > <timestamp>'. This puts a little issue on this, as when in journal,
> > these timestamps are used in agenda buffer to display the heading. And I
> > want this heading to be displayed in my agenda, including all the tags
> > it exhibits.
> >
> > Is there any way how to achieve this?
>
> Nope, sorry.
>
I can think of one possible method (although slightly more work to do so):
(written longhand so tags won't be properly aligned, sorry)
**** Testing subtree encryption <add tags here>
Entered on <2014-02-20 Thu 09:05>
***** Encrypted entry :crypt:
this text should be encrypted when saved on the disk using my private
key. will see if this works
This will result in the encrypted subtree being encrypted, the headline
with it's timestamp being visible.
Regards,
Jon
> For the moment the only thing
> > coming into my mind is to make a timestamp part of heading, which is not
> > what I really want.
>
> That's also the only workaround I can think of right now.
>
> Best,
>
> --
> Bastien
>
>
[-- Attachment #2: Type: text/html, Size: 2740 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: encrypted items, but not timestamp
2014-03-03 12:34 ` Jonathan Leech-Pepin
@ 2014-03-03 12:36 ` Bastien
2014-03-03 12:48 ` David Belohrad
0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2014-03-03 12:36 UTC (permalink / raw)
To: Jonathan Leech-Pepin; +Cc: David Belohrad, org-mode Mailing List
Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> writes:
> I can think of one possible method (although slightly more work to do
> so):
Indeed, good idea!
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: encrypted items, but not timestamp
2014-03-03 12:36 ` Bastien
@ 2014-03-03 12:48 ` David Belohrad
0 siblings, 0 replies; 5+ messages in thread
From: David Belohrad @ 2014-03-03 12:48 UTC (permalink / raw)
To: Bastien, Jonathan Leech-Pepin; +Cc: org-mode Mailing List
Nice.
So far I have made a capture template, which enters the timestamp into
heading. Surprisingly it works pretty nicely as the timestamp does not
appear in agenda heading 'name'. Have something like this:
(require 'org-crypt)
(org-crypt-use-before-save-magic)
(setq org-crypt-tag-matcher "@CRYPT")
(setq org-crypt-key "david@bleh")
and then org-capture-templates contains following record:
("C" "Encrypted journal" entry (file+datetree (concat my-org-files "journal.org"))
"* %? %T :@CRYPT:\n %a\n")
works as a charm.
.d.
Bastien <bzg@gnu.org> writes:
> Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> writes:
>
>> I can think of one possible method (although slightly more work to do
>> so):
>
> Indeed, good idea!
>
> --
> Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-03 12:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-20 8:13 encrypted items, but not timestamp David Belohrad
2014-03-03 12:28 ` Bastien
2014-03-03 12:34 ` Jonathan Leech-Pepin
2014-03-03 12:36 ` Bastien
2014-03-03 12:48 ` David Belohrad
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).