Dan
unread,Feb 8, 2012, 8:58:30 AM2/8/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to eventandt...@googlegroups.com
John,
If you want to be able to click on items in the tree and edit them, you should change your option string from
1) o -b 1-1 -e 2-1 -g (c,
(y,m,d), T) -d 0 -T 1 -o -k !p
to
2) o -b 1-1 -e 2-1 -g (c,
(y,m,d)) -T 1 -o -k !p
By omitting all details, -d 0 in (1), and including T in the groupby clause, you are grouping by item titles and group headings, as you note, are not editable. E.g.,
3:30) Thu Jan 12 2012
2:30) Tuesday/Thursday morning and afternoon events (2) <=== not editable
By switching to (2) which defaults to -d 1, you would get instead editable items within the tree
3:30) Thu Jan 12 2012
10:05a Tuesday/Thursday morning and afternoon events <=== editable
2:50p Tuesday/Thursday morning and afternoon events <=== editiable
You could switch quickly back and forth between (1) and (2) by including something like the following in your etmrc
display_shortcuts = [
'o -g ((y,m,d),)', # list element 0
'o -b 1-1 -e 2-1 -g (c,
(y,m,d), T) -d 0 -T 1 -o -k !p', # list element 1
'o -b 1-1 -e 2-1 -g (c,
(y,m,d)) -T 1 -o -k !p' ] # list element 2
]
Then pressing Ctrl-0 in etm would open the options setting with the highlighted setting corresponding
to the 0 element from this list, pressing Ctrl-1 would open it with your (1)
and pressing Ctrl-2 would open it with my (2).
I will soon be releasing 887 which makes the following change. If you using option string (2), edit an item and then save your changes, the current behavior is to reload the changed data files and reset the option string to the default (0) but with your selected day (Jan 1) as the begin date. The new behavior in 887 is to keep your option string after the reload so that you would not need to enter it again to continue editing.
-Dan