From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Troxel Subject: [PATCH] Don't use possibly-tramp paths with openssl. Date: Wed, 13 Oct 2010 19:56:23 -0400 Message-ID: <1287014183-2653-1-git-send-email-gdt@ir.bbn.com> References: Return-path: Received: from [140.186.70.92] (port=55412 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6BMF-0001BW-9y for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 20:07:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6BBm-00040A-Rs for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 19:56:55 -0400 Received: from fnord.ir.bbn.com ([192.1.100.210]:59854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6BBm-000405-Oa for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 19:56:54 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Greg Troxel 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