2 min read

'G-G' - Gnus find of the day

After switching/re-installing/upgrading my OS I have deliberately chosen to not set up Notmuch in Emacs again, as the whole idea of my new setup rather is to be as simple and minimal as possible and to rely on the least amount of dependencies that I could get away with, and I certainly wanted it to be as-easy to setup, now and in the future, as possible as well.

Thus I decided to try to avoid to install Notmuch. My first intent was to try to get along with what is possible with the defaults, what is built-in, both in Emacs and on the OS-level.

And that’s where Gnus comes in. I learned that Jack was using Gnus for email and that’s when I got interested to look into Gnus for IMAP as well.

Even though there is plenty of documentation on Gnus within Emacs, I found it to be a little confusing, and in the end and after some browsing for solutions to set it up and tweak the design of the Summary-buffer, and some more tinkering/copying and what not, got a decent and working setup.

There are still some things in need of improvement, but as usual it is getting there, and most importantly, one dependency less to worry about.

The setup had been working fine for little over a week now and I am getting more familiar with Gnus. At some point it happened that I was unable to find a certain message, even though newer and older messages had been available in my summary buffer, and the message in question is also still on the server.

This being Emacs, there are plenty of mostly new (for me) shortcuts in Gnus and I am afraid that I managed to remove this particular message from Gnus in one way or the other, and would like to be able to retrieve it.

More tinkering/trouble shooting followed but I could not figure out as of to why I can’t simply reset everything and start from scratch with my Gnus setup. It’s not that I haven’t tried.

I found some nice tips on Sacha’s on searching through/filtering the messages, but that equally didn’t help finding/retrieving the message.

At one point I found instructions how to install some extra components to improve search but to my surprise invoking G-G in the Group-Buffer invokes the function gnus-group-read-ephemeral-search-group and I was able to search through my mail! No further action/install/configuration required!

This seems to work only in the Gnus Group buffer, but it works nonetheless.

A screenshot of my Emacs Gnus buffer with the search box activated, which worked out of the box.

And yes, of course I found the message I was looking for immediately. Now I only have to figure out why the same message is still not showing in the Summary buffer, even though I am able to see even older messages.

Eventually I will figure also this out.

100 Days to Offload 7/100