Commit Graph

1513 Commits

Author SHA1 Message Date
Kashish Sharma 32e2601902 Add some tests for timeclock-ui-project-time-one-day 2018-09-13 15:20:07 +05:30
Kashish Sharma c3a5a2184d Fix misnamed function 2018-09-13 11:47:30 +05:30
Kashish Sharma 70a42d753a Create API file, mostly for personal sanity 2018-09-13 11:47:21 +05:30
Kashish Sharma 14827fc465 Create API file, mostly for personal sanity 2018-09-13 01:25:14 +05:30
Kashish Sharma a52110de9e report - add prefix argument support to f/b 2018-09-12 00:35:12 +05:30
Kashish Sharma 64c61823db readme - add task to ask about cask 2018-09-11 18:14:10 +05:30
Kashish Sharma bf250126ac report - display date and total time per day 2018-09-11 18:14:10 +05:30
Kashish Sharma b306659c86 Reconfigure nameless
In the older way, you couldn't insert the file prefix using
nameless-insert-name
2018-09-11 18:14:10 +05:30
Kashish Sharma 94d6a879c0 timeclock-report - overhaul week/date logic to fix 'missing day' bug
It does _look_ like it's working :\ Some dead functions lying around
now. Also - tests!
2018-09-11 18:14:10 +05:30
Kashish Sharma bd4a969871 README - add items to roadmap 2018-09-11 18:14:10 +05:30
Kashish Sharma 4c68d87ca3 De-abbreviate prefixes, use nameless.el 2018-09-11 18:14:03 +05:30
Kashish Sharma 294038a487 Create main project file 2018-09-11 18:13:22 +05:30
Kashish Sharma f5688870e0 Fix midnight bug 2018-09-11 18:13:22 +05:30
Kashish Sharma d04b605523 Fix 50% of midnight bug, remove seq.el dependency 2018-09-11 18:13:22 +05:30
Kashish Sharma d0e52c6a67 Workaround for mysterious bizarre error
I have no idea what caused it - git diff displayed no change to the
code, and this code had been running just fine since the time it was
written, but now when I ran it I'd get this -
Debugger entered--Lisp error: (void-variable it)
  (car it)
  (if (car it) t nil)
  tcl/buffer-visible\?("*Compile-Log*")
  eval((tcl/buffer-visible\? "*Compile-Log*") nil)
  eval-expression((tcl/buffer-visible\? "*Compile-Log*") nil)
  funcall-interactively(eval-expression (tcl/buffer-visible\? "*Compile-Log*") nil)
  #<subr call-interactively>(eval-expression nil nil)
  apply(#<subr call-interactively> eval-expression (nil nil))
  (let ((ido-cr+-current-command command)) (apply orig-fun command args))
  call-interactively@ido-cr+-record-current-command(#<subr call-interactively> eval-expression nil nil)
  apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (eval-expression nil nil))
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

Deleted the .elc files, recompiled, restarted Emacs, no go. With
"emacs -q", it would work, but again, git diff showed no changes in my
init code that would affect this. What the heck? :\

Added this as a workaround, didn't have time to fix it.
2018-09-11 18:13:22 +05:30
Kashish Sharma ad373abeb6 Fix point-on-last-project bug when toggling project 2018-09-11 18:13:22 +05:30
Kashish Sharma 899f4e79e8 Refactor to tcr/date->dates-in-week 2018-09-11 18:13:22 +05:30
Kashish Sharma 71c81041f7 Refactor to tcr/print-non-tabular 2018-09-11 18:13:22 +05:30
Kashish Sharma f200291f77 Extend and improve README, improve source comments 2018-09-11 18:13:22 +05:30
Kashish Sharma 37b179e409 timeclock-list - move help string to buffer 2018-09-11 18:13:22 +05:30
Kashish Sharma 68306101d0 timeclock-list - fix point-on-last-project bug in timer 2018-09-11 18:13:22 +05:30
Kashish Sharma d2d7358de0 Split common functions into timeclock-ui-lib 2018-09-11 18:13:22 +05:30
Kashish Sharma 4040ef396f README - add timeclock-report, Contact, and License sections 2018-09-11 18:12:28 +05:30
Kashish Sharma 538b2068cd timeclock-ui - add README 2018-09-11 18:12:28 +05:30
Kashish Sharma e7440fc667 timeclock-list - fix point-on-last-project bug 2018-09-11 18:12:28 +05:30
Kashish Sharma 3ac116abb6 timeclock-list - allow numeric arguments for project selection 2018-09-11 18:12:28 +05:30
Kashish Sharma 85e966c787 timeclock-list - show total time clocked today 2018-09-11 18:12:28 +05:30
Kashish Sharma ccd4c0af6a timeclock-list - fix docstrings 2018-09-11 18:12:28 +05:30
Kashish Sharma 7cd0a3eb16 Add variable to control hiding cursor + highlight line 2018-09-11 18:12:28 +05:30
Kashish Sharma 68937ada3b timeclock-report - finish next/previous week functionality 2018-09-11 18:12:28 +05:30
Kashish Sharma 9af449c56e New idea, rename idle timer, refactor tcl/goto-laste-project 2018-09-11 18:12:28 +05:30
Kashish Sharma eef0892047 timeclock-list - add index numbers 2018-09-11 18:12:28 +05:30
Kashish Sharma 43f187ae5b timeclock-list - place point on the last/current project 2018-09-11 18:12:28 +05:30
Kashish Sharma af4b4d5cf4 Add help message 2018-09-11 18:12:24 +05:30
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