emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH] Don't use possibly-tramp paths with openssl.


From: Carsten Dominik
Subject: Re: [Orgmode] [PATCH] Don't use possibly-tramp paths with openssl.
Date: Thu, 14 Oct 2010 08:28:14 +0200

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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]