Hi, The patch attached should provide better alias expansion for most people. Its been working fine for me for two days, so I am making it available for testing. Advantages for users: - The keys should behave a lot more intuitive now. Keys that work better include ',', 'end', 'home', 'left', 'right', etc. - It now will no longer mangle your input when showing you an expansion. Advantages for developers: - The data structures used are better. - It should be easier (not easy) to provide a GUI drop-down instead of expanding in the GtkEntry box. Caveats: - It no longer colours the expansion. I can only do this with gtk_editable_set_selection(), which breaks normal cut & paste in the e-mail. Can anybody tell me how to add colour to a GtkEntry() widget? - The patch should work against CVS. It won't work against Balsa 1.0.0. - Uses a huge amount of g_message() statements that should be removed when people are happy it works. Kind regards, Berend -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Berend De Schouwer, +27-11-712-1435, UCS
balsa-expand-alias-27-Nov.patch.gz