On Tue, Jun 24, 2008 at 05:02:32PM +0100, Penny Leach wrote: > On Tue, Jun 24, 2008 at 04:39:44PM +0100, martin f krafft wrote: > > Why is mutt mentioned in a development library at all? > > I guess because the library handles buffy's config, including the setting of > sensible defaults, and in this case the sensible default is currently mutt > (where it should be mutt-gui)
I've now done it, but slightly differently. First of all, I renamed Mutt to mutt. Then I added support for multiple commands per mail program. Now you get the command with: "program->command(type)". "type" can be anything you want; at the moment I use "gui" for the gtk buffy, and I prepared a "text" default that just runs mutt that you can use in buffycli. So you can use "program->command('text')" to get the command. The "run" method also takes the command type as argument now. In fact, if you do program->command() it defaults to text. I just discovered it because I forgot to add the "gui" argument in the GTK buffy and it compiled just fine, but it was trying to run mutt who knows where. So, this issue should be sorted. Let me know if it works for you, and we can close the bug. Ciao, Enrico -- GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>
signature.asc
Description: Digital signature