2

I am a Emacs newbie, so please forgive me if there is a obvious solution to this question. Is there a package which logs everything a user inputs into a emacs buffer? For example if I were to open a test.txt file and input this is a test could the input be logged into a seperate file with timestamps upon saving test.txt?

3

view-lossage (bound to C-h l by default) is limited to a fixed number of events, and doesn't keep time stamps, but it might be good enough for your use case. To store a longer log, you can try open-dribble-file.

See also https://stackoverflow.com/questions/9761401 for a similar question.

| improve this answer | |
  • OP: See the Emacs manual, node Recording Input for more info. – Drew Jun 16 '17 at 17:05
  • @Drew You mean the elisp manual. – JeanPierre Jun 17 '17 at 19:42
  • @JeanPierre: Yes; sorry. Too late to edit that comment, I guess. Thx. – Drew Jun 17 '17 at 23:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.