emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org mobile - pre hooks
@ 2011-03-03 21:32 Richard Riley
  2011-03-06  0:16 ` Bastien
  2011-03-06  0:17 ` Bastien
  0 siblings, 2 replies; 4+ messages in thread
From: Richard Riley @ 2011-03-03 21:32 UTC (permalink / raw)
  To: Emacs-orgmode mailing list


Could I suggest that org-mobile-pre-push-hook is processed at the start
of the org-mobile-push function before the checks? That way it can be
used to properly setup mobile e.g using auth-source for the mobile
password.

  (add-hook 'org-mobile-pre-push-hook 
              '(lambda()
                 (setq org-mobile-encryption-password (funcall (plist-get (car (auth-source-search :host '("orgmobile"))) ':secret)))))
  

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-15 12:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 21:32 org mobile - pre hooks Richard Riley
2011-03-06  0:16 ` Bastien
2011-03-06  0:17 ` Bastien
2011-04-15 11:53   ` [Accepted] " Carsten Dominik

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).