-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add minor mode (feature request) #40
Comments
This is pretty cool -- one question, though, how does 'minor-mode' come ...cj On 4/3/14 9:38 AM, jrbalderrama wrote:
|
Sorry maybe my explanation isn't clear. If we have a org-toodledo minor mode we can sync the todo list after loading that mode or after killing the buffer (defining those hooks in the minor mode) instead of explicitly call a function or schedule a process to sync periodically. The periodic sync can also be included as well, for convenience, independently. |
Aah, yes -- that makes sense. Having a minor mode would also allow ...cj On 4/3/14 11:39 AM, jrbalderrama wrote:
|
That's the spirit! |
Currently we should explicitly load org-toodledo (with require '...) in order to use it. Enabling a minor mode we can include a hook and load toodledo on demand. For example, we can set:
and then create a function like:
With this function defined (with autoload) we can associate a hook after loading the org-toodledo mode or/and after killing the buffer.
Additionally we can define a cron-like process on Emacs to sync periodically instead of syncing every time we save the file using.
The text was updated successfully, but these errors were encountered: