Kashish Sharma
23df91711b
Refactor - create tcl/project-at-point
2018-09-11 18:11:36 +05:30
Kashish Sharma
dc1edd3e34
Fix bug in getting project name at point
...
The numeric field for hours - [0-9]\{1,2\} was, oddly enough, always
matched as lazily with re-search-backward , so when running
tcl/toggle-project you'd get something like '<project> 1'
as the first completion.
2018-09-11 18:11:36 +05:30
Kashish Sharma
775f03c453
Finally fixed the new-task-time-not-updated bug
...
It was yet another case of tabulated-list-print's UPDATE argument
screwing things up if enabled.
2018-09-11 18:11:36 +05:30
Kashish Sharma
d10221967b
Fix task creation bug, start tcr/previous-week command
2018-09-11 18:11:35 +05:30
Kashish Sharma
c0050099cb
Display '-' when no time logged for project
2018-09-11 18:11:35 +05:30
Kashish Sharma
981d729b14
Remove old/redundant comments and code
2018-09-11 18:11:35 +05:30
Kashish Sharma
6f8c6f677e
Change prefixes - tclist/ -> tcl, tr/ -> tcr/
...
Plan to publish this on MELPA + to use
Nameless (https://github.com/Malabarba/Nameless ), so this is pretty
redundant. Just did it for consistency.
2018-09-11 18:11:00 +05:30
Kashish Sharma
b8b3eefe61
Add very rudimentary timeclock-report
2018-09-11 18:09:44 +05:30
Kashish Sharma
886f4a9164
Organize file
2018-09-11 18:09:38 +05:30
Kashish Sharma
6d3a297240
List new bug
2018-09-11 17:58:34 +05:30
Kashish Sharma
8f96866e20
Prevent idle-timer from moving point in timeclock-file
2018-09-11 17:58:34 +05:30
Kashish Sharma
ed972a1859
Add new idea
2018-09-11 17:58:34 +05:30
Kashish Sharma
980009aa84
Move to file end when opening timelog
2018-09-11 17:58:34 +05:30
Kashish Sharma
24e6dbf30b
Make timeclock-list act as a toggle
2018-09-11 17:58:34 +05:30
Kashish Sharma
148d11013f
Press l to to open timelog (`timeclock-file')
2018-09-11 17:58:34 +05:30
Kashish Sharma
968c8b8aa9
Add more ideas, improve some docstrings
2018-09-11 17:58:34 +05:30
Kashish Sharma
9c23ca23c5
These...probably fix some (possible) bugs
2018-09-11 17:58:34 +05:30
Kashish Sharma
57ef4d9c0b
Fix tclist/toggle-project behaviour
2018-09-11 17:58:34 +05:30
Kashish Sharma
5848960459
Improve docstrings
2018-09-11 17:58:34 +05:30
Kashish Sharma
ef417aaac3
Do not run timer function when buffer does not exist
2018-09-11 17:58:34 +05:30
Kashish Sharma
5b30d07244
More notes
2018-09-11 17:58:34 +05:30
Kashish Sharma
78fe2b61d6
New ideas
2018-09-11 17:58:34 +05:30
Kashish Sharma
45e99043e3
Prompt for project in tclist/toggle-project
2018-09-11 17:58:34 +05:30
Kashish Sharma
0512845905
Move timer into mode body *, add roadmap thoughts, ...
...
...and ask user for reason when clocking out
* to avoid running the timer when the file is evaluated and the
timeclock-list buffer isn't even created
2018-09-11 17:58:25 +05:30
Kashish Sharma
fcf7e81bdc
Tweak calls to tabulated-list-print
2018-09-11 17:57:47 +05:30
Kashish Sharma
f5b5116bb4
Update buffer when idle
2018-09-11 17:57:34 +05:30
Kashish Sharma
abdaac5249
Add * indicator, project toggle function
2018-09-11 17:53:02 +05:30
Kashish Sharma
99b27de387
Better code from wasamasa
2018-09-11 17:52:34 +05:30
Kashish Sharma
9280bfe400
List creator for timeclock.el
2018-09-11 17:52:24 +05:30