| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Since the docstrings are no longer docstring the undonerc file doesn't
need to be compiled anymore.
|
|
|
|
|
| |
This new macro should replace most of the functionality of the old
one, for the moment it only allows specification of what to print how.
|
|
|
|
|
|
| |
This function should return a string that explains what the view does.
This should remove the need to compile the undonerc in order to get
the explanation.
|
|
|
|
|
| |
This is to avoid automatic compilation to the cache when main.scm is
being built.
|
|
|
|
|
|
|
|
| |
* undone/main.scm (args->alist): Place argument parsing for add/update
in separate function for reuse.
(delete-item): Renamed from `delete', which is in conflict with
guile's own `delete'.
(update): New function.
|
|
|
|
| |
This was only there for testing purposes, it has been moved to my rc file.
|
|
|
|
|
| |
I still need to rewrite the macros to work with this new style of
view.
|
| |
|
| |
|
| |
|
|
|
|
| |
Doesn't actually do anything yet, but shows where to start.
|
|
|
|
|
| |
Since we don't need the result of going through all the views, we can
just discard it.
|
|
|
|
|
|
| |
The delete command removes an item from the todo-list, it does this by
filtering out the item wich has the given `id' value and saving the
result.
|
|
|
|
| |
Don't fail when a file can't be found.
|
|
|
|
|
| |
This way docstrings will be generated so that the `views' command can
read them.
|
| |
|
|
|
|
| |
* undone/main.scm (define-view): Looks nicer
|
|
|
|
|
|
|
| |
* undone/main.scm (get-field-value): Allow specification of default
return if no key is found.
(next-id): New function.
(add): Add `id' to the todo item.
|
|
|
|
|
|
|
|
|
|
|
| |
* undone/main.scm (get-field): Only get a cons cell, don't get its
cdr.
(get-field-value): New macro.
(define-view): Add filtered list syntax, which filters items that
don't have the needed properties. Filter results before looking
through them.
|
|
|
|
|
|
| |
* undone/main.scm (add): Trim whitespace from the end of whatever text
gets filled in.
(default): Place newline after each item.
|
|
|
|
|
| |
* undone/main.scm (add): When encountering a value that starts with
`,', assume that it should be turned into a list.
|
|
|
|
|
|
|
| |
* undone/main.scm (todo-list-file): Check to see if we should use a
file in XDG_DATA_HOME or HOME.
(mkdirs): New function.
(save): Ensure the directory tree exists by calling `mkdirs' first.
|
|
|
|
| |
Doesn't look nice when your rc file compiles every time.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|