I’ve finally published the next installment of my mini-series on Emacs Comint. I’ve decided to publish it as a Squidoo lens. In it, I demonstrate how to create a slick, emacs-based interface to a stock price publisher. Part 1 in the series can be found here.
The first version extracts the ticker and price and displays them nicely in a seperate buffer. The later version highlights the updated line by flashing a magenta background for half a second after any update.
The lens covers the following emacs features: comint, process filters, overlays and timers. Let me know any comments or suggestions you have either here or on the lens itself. Please visit my emacs comint lens.
Hi! This code was exactly what I was looking for.
But when I was trying to test it under gnu emacs 23, emacs hung miserably.
I suspect the output filter is the guilty one. I couldn’t even interrupt it with C-g!
ok, when tested in terminal and emacs -nw breaking with C-g resulted in:
Garbage collection in progress; cannot auto-save now
but will instead do a real quit after garbage collection ends
Abort (and dump core)? (y or n).
So obviously sth is wrong with this code…