The more I think about it, the more I actually do like the * and _ stuff. However, I know there are folk out there who are adamantly against and formatting in their messages. So.. I don't know. =/ I was kicking around the idea of making dehtml take an optional argument to simple "kill the formatting" aspect of it (ie, kill the ** and the __), and then from outside of oscar.py I could provide an option to turn off that behavior if you really want. The only problem I would have with killing the "bold the entire message" stuff is... what if they legitimately wanted that? Like <b>HOLY CRAP!!!!!</ b>.
Daniel On Mar 16, 2006, at 12:10 AM, Robert B Quattlebaum, Jr. wrote: > Being that I'm the guy who wrote that mechanism, here is my two cents: > > The original idea was for the dehtml function to salvage links (ie: > <A> tags) so that they wouldn't get lost. While I was at it, I > figured, "hey, why not also throw in some formatting? Kinda like a > reverse markdown thing...". I implemented it, Daniel liked it, the > rest is history. > > However, I totally understand your annoyance for your friends who > really like their bold text and bold the entire message. However, I > have good news---that is a very easy case to test for. I can simply > make it check to see if the whole message is bold, and if it is > then remove the stars (or underscores) from the start and end of > the message. > > How does that sound? > > On Mar 9, 2006, at 5:43 AM, Daniel Henninger wrote: > >>> Now that I know what it's doing and I'm not going crazy, I'm not >>> too sure if I like it either or not. It works great in theory if >>> you have AIM buddies that only highlight certain words, but I've >>> got a couple friends who have their AIM client setup to send >>> everything in italics or in bold so it gets annoying to look at >>> after a while (but I'm sure I'll get used to it). It'd be real >>> nice if it could be turned on or off on a per contact level >>> (maybe a Ad-hoc command/option per contact?) but that'd probably >>> be a bit much. Overall though I say keep it, it's a nice feature. >> >> Wow, LOL, I don't even have user prefs worked out yet, and now >> you'd like user prefs per contact? ;D Maybe I should set up an >> autoresponse of "hey, stop bolding the entire thing". ;D Of >> course, then again, if you were seeing the actual real bold and >> underlines, wouldn't that be just as annoying? Still, I'll have >> to think about this a tad . . . > > > __________________ > Robert Quattlebaum > Mobile: +1(650) 223-4974 > eMail: [EMAIL PROTECTED] > Jabber: [EMAIL PROTECTED] > WWW: http://www.deepdarc.com/ > > > > > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports > >