diff --git a/doc/org.texi b/doc/org.texi index 9c5b4f4d9..29a3e9fe9 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -11711,13 +11711,21 @@ in-buffer settings, but it will understand the logistics of todo state Org-mode has commands to prepare a directory with files for @i{MobileOrg}, and to read captured notes from there. If Emacs can directly write to the WebDAV directory accessed by @i{MobileOrg}, just point to this directory -using the variable @code{org-mobile-directory}. +using the variable @code{org-mobile-directory}. Using the @file{tramp} +method, @code{org-mobile-directory} may point to a remote directory +accessible through, for example, +@file{ssh/scp}: -If Emacs cannot access the WebDAV directory directly, you can use a local -directory for staging. Other means must then be used to keep this directory -in sync with the WebDAV directory. In the following example, files are -staged in @file{~/stage}, and Org-mode hooks take care of moving files to and -from the WebDAV directory using @file{scp}. +@smallexample +(setq org-mobile-directory "/scpc:user@@remote.host:org/webdav/") +@end smallexample + +If Emacs cannot access the WebDAV directory directly using a @file{tramp} +method, or you prefer to maintain a local copy, you can use a local directory +for staging. Other means must then be used to keep this directory in sync +with the WebDAV directory. In the following example, files are staged in +@file{~/stage}, and Org-mode hooks take care of moving files to and from the +WebDAV directory using @file{scp}. @smallexample (setq org-mobile-directory "~/stage/")