Rename the Mobileorg capture file

It is now fixed to mobileorg.org, and not configurable.
This commit is contained in:
Carsten Dominik 2009-09-18 18:00:24 +01:00
parent a70cf873c3
commit 3492407250
3 changed files with 9 additions and 8 deletions

View File

@ -11692,10 +11692,10 @@ from the WebDAV directory using @file{scp}.
(shell-command "scp ~/stage/* user@@webdavhost:mobile/")))
(add-hook 'org-mobile-pre-pull-hook
(lambda ()
(shell-command "scp user@@webdavhost:mobile/mobile-capture.org ~/stage/ ")))
(shell-command "scp user@@webdavhost:mobile/mobileorg.org ~/stage/ ")))
(add-hook 'org-mobile-post-pull-hook
(lambda ()
(shell-command "scp ~/stage/mobile-capture.org user@@webdavhost:mobile/")))
(shell-command "scp ~/stage/mobileorg.org user@@webdavhost:mobile/")))
@end example
@node Pushing to MobileOrg, Pulling from MobileOrg, Setting up the staging area, MobileOrg
@ -11719,13 +11719,13 @@ files will be downloaded to the iPhone.
When @i{MobileOrg} synchronizes with the WebDAV server, it not only pulls the
Org files for viewing. It also appends captured entries and pointers to
flagged entries to the file @file{mobile-capture.org} on the server. Org has
flagged entries to the file @file{mobileorg.org} on the server. Org has
a @emph{pull} operation that integrates this information into an inbox file
and operates on the pointers to flagged entries. Here is how it works:
@enumerate
@item
Org moves all entries found in @file{mobile-capture.org} and appends them to
Org moves all entries found in @file{mobileorg.org} and appends them to
the file pointed to by the variable @code{org-mobile-inbox-for-pull}. Each
captured entry will be a top-level entry in the inbox file.
@item

View File

@ -1,5 +1,8 @@
2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
* org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
the capture file, and make it non-configurable.
* org.el (org-on-heading-p, org-at-heading-p): Make sure these are
always with `invisible-ok'.
(org-store-link): No error when there is nothing to link to in the

View File

@ -50,11 +50,9 @@ been appended to the file given here."
:group 'org-mobile
:type 'file)
(defcustom org-mobile-capture-file "mobile-capture.org"
(defconst org-mobile-capture-file "mobileorg.org"
"The capture file where the mobile stores captured notes and flags.
Relative to `org-mobile-directory'."
:group 'org-mobile
:type 'file)
This should not be changed, because MobileOrg assumes this name.")
(defcustom org-mobile-index-file "index.org"
"The index file with inks to all Org files that should be loaded by MobileOrg.