help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

My dream work log:


From: Albert
Subject: My dream work log:
Date: Fri, 28 Mar 2008 00:30:57 -0700 (PDT)
User-agent: G2/1.0

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]