by nonfamous · 3y ago · 0 comments
I do remember I had to use an awful hack to make it work. Comint expects data from a pipe, but eLisp output is internal to Emacs. The details are hazy now, I but I think I pushed the eval result as stdin to a ‘cat’ process for Comint to ingest the output. I wonder if that ever got cleaned up…
And of course now I have a persistent history of all commands.
Thank you!
Looking at ielm.el, it appears it now defaults to hexl, which is part of the Emacs distribution, as cat might not exist on non-Unix platforms. That's wrapped in a condition-case call though, and will still call cat if that fails.
Such a useful tool even if elisp has limited debugging capabilities :)
I feel it’s pretty essential to using emacs.