cheers();
> I have been researching how to setup Evolution as the default mail > handler for Konqueror and I've been half successful. Here is what I have > so far. [...] > /usr/bin/evolution mailto:%t?subject=%s > This passes the TO field correctly, but the subject line is blank. > > /usr/bin/evolution mailto:%s > This passes the subject into the TO field, which means %s is working. > > /usr/bin/evolution mailto:%s?subject=%t > This does NOT pass the subject into the to field (Why? It did in the > above line.) And passes the To variable (%t) to the subject line as it > should have. > > It looks to me like something is broken with the Evolution command line > for accepting variables from KDE somehow. First of all: How does your test strings look like?? I suspect, there were at least a blank inside the %s subject. That surely would screw up the command line, as all parameters to evolution are treated as URI themselves. To prevent that, try ' or " chars around %s and %t. You can check that from console, using the string instead of the %variable. And you don't have to change settings all the time... % evolution mailto:'test@invalid'?subject='sub ject' works for me. > I've seen A LOT of people ask about this problem, but no one has ever > explained just what the problem was. Once they got the %t working, they > stopped looking. And thus I think this bug has gone unnoticed. I am just for a couple of months on this list, but active reader and poster -- and i never saw something like that. You mean all that "how to set the default browser in Evo [running KDE]", don't you? They aren't related... > This is my 1st post to the evolution lists, so I don't know where to > send bug reports but I figured this is a good a place to start as any. As KDE user I really would be careful, before screaming "Gnome bug". ;-) FWIW: There were just a couple of hours ago all KDE packages updates, due to a bug in the console parameter handling -- a security hole even. And you just pointed out to Gnome / Evolution console parameter handling... Hope the tip with the quote solves your problem. ...guenther -- char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}} _______________________________________________ evolution maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution
