My dream work log:
One fine morning I do this:
1. I open a "file.txt" in emacs
2. I modify it, say in line 4, I change "this-thing" to "that-thing"
3. save the file
4. again, going back to the same line 4, i change "that-thing" to
"something"
5. save the file
6. exit
I want my Worklog to append the log to something like this:
<Date>
<Time>
Opened "file.txt"............
(old) Line 4: .......this-thing.......
(new) LIne 4: .......that-thing........
saved "file.txt".
(old) Line 4: .......that-thing.......
(new) LIne 4: .......something........
saved "file.txt"
exit
I was wondering if there's anything of this sort out there already.
If not, please help me by just giving some hints to write a LISP code
that can do the job.