>>>> "Ed" == Ed Avis <avised(a)kbcfp.com>
writes:
Ed> Yes. That buffer is a bit like a shell or console for Emacs,
Ed> and M-p isn't currently bound to anything, so it would make
Ed> sense to have it do a similar thing to M-p in shell mode.
OK, that's exactly what I wanted to know. It's a good idea, but I
don't have time right now. If nobody picks it up soon, feel free to
"remind" us every once in a while.
It should be fairly easy. Use ring.el (standard library) to provide a
ring of past sexps executed, hook into eval-print-last-sexp to maybe
push the exp on the ring, and write a simple function to rotate the
ring and insert the top in the buffer.
I wonder if in the long run maybe we shouldn't unify it with ilisp mode.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.