<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">The flags problem _should_ be fixed in HEAD -- I emailed with Ian about it previously.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>-Evan</DIV><DIV><BR><DIV><DIV>On Feb 21, 2006, at 7:59 PM, Scott Ellis wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">seems to work find with the flags in the source fixed<BR><BR> <DIV><SPAN class="gmail_quote">On 22/02/06, <B class="gmail_sendername">Scott Ellis</B> <<A href="mailto:mail@scottellis.com.au">mail@scottellis.com.au</A>> wrote:</SPAN> <BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <DIV>Thanks Evan...but I tried it, and get a 'duplicate case' error in one of my switch statements...</DIV> <DIV> </DIV> <DIV>It turns out to be because 'send whitespace tag' and 'whitespace start ake' are both defined to be 0x08 - so they're actually both the same thing. This means, if I define manual the way you suggest, it is exactly the same as opportunistic - which is not what I want. </DIV> <DIV> </DIV> <DIV>So I guess the behaviour I'm after is not possible with the current source.<BR><BR> </DIV> <DIV><SPAN class="e" id="q_1098f10da0fc3073_1"> <DIV><SPAN class="gmail_quote">On 22/02/06, <B class="gmail_sendername">Evan Schoenberg</B> <<A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:evan.s@dreskin.net" target="_blank">evan.s@dreskin.net </A>> wrote:</SPAN> <BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Scott, <DIV><BR> </DIV> <DIV>You've come to the exact same conclusion I did with the same rationale.  Adium's "manual" mode is actually defined as:</DIV> <DIV style="MARGIN: 0px"><FONT face="Monaco" color="#236e25" size="2"><SPAN style="FONT-SIZE: 10px">/* OTRL_POLICY_MANUAL doesn't let us respond to other users' automatic attempts at encryption.</SPAN></FONT></DIV> <DIV style="MARGIN: 0px"><FONT face="Monaco" color="#236e25" size="2"><SPAN style="FONT-SIZE: 10px"> * If either user has OTR set to Automatic, an OTR session should be begun; without this modified</SPAN></FONT></DIV> <DIV style="MARGIN: 0px"><FONT face="Monaco" color="#236e25" size="2"><SPAN style="FONT-SIZE: 10px"> * mask, both users would have to be on automatic for OTR to begin automatically, even though one user</SPAN></FONT></DIV> <DIV style="MARGIN: 0px"><FONT face="Monaco" color="#236e25" size="2"><SPAN style="FONT-SIZE: 10px"> * _manually_ attempting OTR will _automatically_ bring the other into OTR even if the setting is Manual.</SPAN></FONT></DIV> <DIV style="MARGIN: 0px"><FONT face="Monaco" color="#236e25" size="2"><SPAN style="FONT-SIZE: 10px"> */</SPAN></FONT></DIV> <DIV style="MARGIN: 0px"><FONT face="Monaco" color="#683821" size="2"><SPAN style="FONT-SIZE: 10px">#define OTRL_POLICY_MANUAL_AND_REPOND_TO_WHITESPACE</SPAN></FONT><SPAN style="WHITE-SPACE: pre"> </SPAN><FONT face="Monaco" color="#683821" size="2"> <SPAN style="FONT-SIZE: 10px">( OTRL_POLICY_MANUAL | \</SPAN></FONT></DIV> <DIV style="MARGIN: 0px"><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"> </SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"> </SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><FONT face="Monaco" color="#683821" size="2"><SPAN style="FONT-SIZE: 10px">  </SPAN></FONT><FONT face="Monaco" color="#683821" size="2"><SPAN style="FONT-SIZE: 10px">OTRL_POLICY_WHITESPACE_START_AKE | \ </SPAN></FONT></DIV> <DIV style="MARGIN: 0px"><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"> </SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><SPAN style="WHITE-SPACE: pre"> </SPAN><SPAN style="WHITE-SPACE: pre"></SPAN><FONT face="Monaco" color="#683821" size="2"><SPAN style="FONT-SIZE: 10px">  </SPAN></FONT><FONT face="Monaco" color="#683821" size="2"><SPAN style="FONT-SIZE: 10px">OTRL_POLICY_ERROR_START_AKE ) </SPAN></FONT></DIV> <DIV><BR> </DIV> <DIV>-Evan</DIV> <DIV><A onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.adiumx.com/" target="_blank">www.adiumx.com</A></DIV> <DIV><SPAN> <DIV><BR> <DIV> <DIV>On Feb 21, 2006, at 9:27 AM, Scott Ellis wrote:</DIV><BR> <BLOCKQUOTE type="cite"> <DIV>i'm wondering, what would be the effect of adding the WHITESPACE_START_AKE flag into the MANUAL mode?</DIV> <DIV> </DIV> <DIV>i mean - in my testing it seems that opportunistic mode only starts OTR when both sides have it set - if one side is set to manual, then automatic initialisation of OTR does not occur.</DIV> <DIV> </DIV> <DIV>if both sides are in manual, user 1 can 'force' user 2 to start OTR...so, if a user chooses 'opportunistic', wouldn't it make sense to force users they talk to who are in manual mode to start OTR also? would adding that flag have that effect? </DIV> <DIV> </DIV> <DIV>Scott</DIV></BLOCKQUOTE></DIV><BR> </DIV></SPAN></DIV><BR clear="all"></BLOCKQUOTE></DIV><BR></SPAN></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>