Claws Mail: Search as you type

Claws Mail version 1.9.3 broke my email handling workflow badly:

When copying or moving a message, the type-ahead search now matches any part of a folder name and not just the beginning.

This did not only affect copying or moving messages, but also simply jumping to a folder.

I have some special folders in my email account, all prefixed with a unique character that no other folder begins with:

So up to now, I only had to type g to open the "go to folder" window, type _ or 2 and return to jump to the _ today or 2 tomorrow folder. Same for moving or copying messages (Ctrl + o and Shift + Ctrl + o). Simple and fast.

So, version 1.9.3 broke with that and made the search-as-you-type functionality match within the names of the folders. When pressing "2", the focus jumped to "someproject 2011", then to "otherproject 2013", reaching the "2 tomorrow" folder after 5 misses.

I asked in the #claws IRC channel for a workaround. There was none, but Paul Mangan immediately provided a patch that added two hidden preferences to control search-as-you-type:

address_search_wildcard
TAB-address completion in the Compose window will match any part of the string (1) or just the start of the string (0).
folder_search_wildcard
The type-ahead function in the Select Folder window will match any part of the folder name (1) or just the start of the folder name (0).

After compiling claws-mail myself and modifying the .claws-mail/clawsrc settings file, everything was back as I like it.

Build dependencies

Claws will automatically enable features during the ./configure phase when dependencies are met. Instead of manually hunting for the correct packages, let apt do the work for you:

$ apt-get --simulate build-dep claws-mail
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  bison libbison-dev libbluetooth-dev libcompfaceg1-dev libenchant-dev
  libpisock-dev libreadline6-dev libsaxon-java libt1-dev libusb-dev
  libxaw7-dev libxmu-dev libxmu-headers libxpm-dev network-manager-dev

Written by Christian Weiske.

Comments? Please send an e-mail.