forked from mirrors/org-mode
Show how to use tramp to write to the mobile directory
This commit is contained in:
parent
d096fac7f7
commit
3874113602
20
doc/org.texi
20
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},
|
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
|
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
|
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
|
@smallexample
|
||||||
directory for staging. Other means must then be used to keep this directory
|
(setq org-mobile-directory "/scpc:user@@remote.host:org/webdav/")
|
||||||
in sync with the WebDAV directory. In the following example, files are
|
@end smallexample
|
||||||
staged in @file{~/stage}, and Org-mode hooks take care of moving files to and
|
|
||||||
from the WebDAV directory using @file{scp}.
|
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
|
@smallexample
|
||||||
(setq org-mobile-directory "~/stage/")
|
(setq org-mobile-directory "~/stage/")
|
||||||
|
|
Loading…
Reference in New Issue