Sometimes I want to lookback some unimportant messages but it is too late to alter sauron-min-priority because the messages are gone.
This change introduces _*Sauron Log* buffer which shows all messages added by sauron-add-event. This buffer act like *Messages* buffer; sauron automatically removes old messages when the total number exceeds sauron-log-buffer-max-lines.
Only the last commit changes the functionality. First three commits are refactoring to prepare the change and I think they does not later sauron's function.
switched when and let* clauses in sauron-add-event
Now, it does not alter any global variables.
moved sr-buffer-name to suppress compiler warning
added leaky log buffer functionality
This change introduces "_*Sauron Log*" buffer which stores all messages
shows by sauron-add-event. This buffer act like "*Messages*" buffer;
sauron automatically removes old messages when the total number exceeds
Thanks! Looks like a good idea, I'll review it this weekend.
Merge pull request #16 from tkf/log-buffer
* refactoring + added *Sauron Log* buffer which logs all sauron events, for debugging. Contributed by Takafumi Arakaki ("TKF").
Okay, merged. Thanks for your contribution!