Advertisement
Guest User

Untitled

a guest
May 15th, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. A really great feature would be the ability to put one item in multiple lists, and have changes affect all copies of that item. To illustrate what I mean, in the example below, suppose that instead of having an item in 'list1' called 'linked_item' and a duplicate item in 'list2', both occurences of 'linked_item' are the same object. If I edit one of them, the changes are reflected in the other.
  2.  
  3. * list1
  4. * linked_item
  5. * foo
  6. * list2
  7. * linked_item
  8.  
  9. But there's a glaring problem with this: sometimes I might want to have two unrelated items with the same name. In order to distinguish duplicate items from items that are "linked" like this, the text of linked items could begin with a special symbol. For purposes of illustration suppose that symbol is an exclamation point. In the following example, there are two distinct items named 'foo', but every occurence of '!buy groceries' refers to the same object.
  10.  
  11. * today
  12. * !buy groceries
  13. * !work on report
  14. * category1
  15. * !buy groceries
  16. * foo
  17. * category2
  18. * !work on report
  19. * foo
  20. * call joe
  21.  
  22. This example also illustrates a possible use case of this feature; namely that I can have a todo list broken down by category, and also a 'today' list. When I mark '!buy groceries' as complete in my 'today' list, it is simultaneously marked as complete in 'category1'. Likewise, if I mark '!work on report' as complete in 'category2', it will also be marked as complete in 'today'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement