[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] What is the most practical workflow for capturing things in Mobi
Re: [O] What is the most practical workflow for capturing things in Mobileorg and later integrating them into the main files?
Fri, 11 Sep 2015 12:23:29 -0400
My mobile capture work flow is:
1) Automatically pull whenever changes are made
2) Pulled items go into "refile.org"
3) refile.org tags all items as REFILE with:
as the top line
4) My default (custom) agenda shows a REFILE section if and only if it exists.
In more detail,
;; Pull whenever mobileorg.org changes
(defvar monitor-attributes nil "Cached file attributes to be monitored.")
(defun install-monitor (file secs)
(lambda (f p)
(let ((att (elt (file-attributes f) 5)))
(unless (or (null monitor-attributes) (equalp monitor-attributes att))
(setq monitor-attributes att)))
(defvar monitor-timer (install-monitor (concat org-mobile-directory
"/mobileorg.org") 5) "Check if MobileOrg/mobileorg.org is changed every 5s.")
("c" "My Custom Agenda"
(tags "REFILE" ((org-agenda-overriding-header "REFILE")))
to only show the REFILE section if items are there.
Hope this helps,
On 2015-09-11 at 10:00, Jorge <address@hidden> wrote:
> Hi. When I capture something in MobileOrg, it by default is classified as
> "Captures" and, when I do org-mobile-pull, those captures /silently/ go into
> ~/org/from-mobile.org. This is bad.
> So one workflow would be to write some code that warns me if
> ~/org/from-mobile.org is non-empty, and find a way of hooking it into
> org-mobile-pull. Then:
> 1) Capture something in MobileOrg
> 2) Do org-mobile-pull
> 3) If the code I wrote as above warns me that ~/org/from-mobile.org is
> non-empty, then visit it, go through the entries, fix them (adding more
> information now that I have a real keyboard) and use org-refile.
> Is there a more practical and easier option?