Applied, thanks.

- Carsten

On Oct 14, 2010, at 1:56 AM, Greg Troxel wrote:

In creating agendas, follow the way all other org files are handled by
encrypting locally and then using copy-file, so that remote agenda.org
paths with tramp will work.
---
lisp/org-mobile.el |    3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index 9208d30..26e990d 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -677,8 +677,7 @@ The table of checksums is written to the file mobile-checksums."
    (when sumo
      (org-store-agenda-views))
    (when org-mobile-use-encryption
-      (org-mobile-encrypt-file file1 file)
-      (delete-file file1))))
+      (org-mobile-encrypt-and-move file1 file))))

(defun org-mobile-encrypt-and-move (infile outfile)
  "Encrypt INFILE locally to INFILE_enc, then move it to OUTFILE.
--
1.7.0.5


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to