The Lone C++ Coder's Blog

The Lone C++ Coder's Blog

The continued diary of an experienced C++ programmer. Thoughts on C++ and other languages I play with, Emacs, functional, non functional and sometimes non-functioning programming.

Timo Geusch

1-Minute Read

<p>Turns out I made some unnecessary “work” for myself when I tried to <a href="https://www.lonecpluspluscoder.com/2017/05/07/extending-inf-mongo-to-support-scrolling-through-command-history/">add support for command history to inf-mongo</a>. As Mickey over at Mastering Emacs points out in a blog post, comint mode already comes with <em>M-n</em> and <em>M-p</em> mapped to <em>comint-next-input</em> and <em>comint-previous-input</em>. And of course they work in <a…

Timo Geusch

2-Minute Read

<p>I’m spending a lot of time in the MongoDB shell at the moment, so of course I went to see if someone had built an Emacs mode to support the MongoDB shell. Google very quickly pointed me at <a href="https://github.com/endofunky/inf-mongo">endofunky’s inf-mongo mode</a>, which implements a basic shell interaction mode with MongoDB using comint. We have a winner, well, almost. The mode does exactly what it says on the tin, but I wanted a little more, namely being able to scroll…

Recent Posts

Categories

About

A developer's journey. Still trying to figure out this software thing after several decades.