List Info

Thread: Re: To eager smiley replacement




Re: To eager smiley replacement
user name
2007-04-03 13:05:49
On 4/2/07, Evan Schoenberg <evan.sdreskin.net> wrote:
>
>
> The official client is silly to do so; it clearly isn't
supposed to be
> an emoticon 

That's clear for us, because we can understand the context
of the
message. What is silly, in my opinion, is the choice of
characters.

>
> It may not make sense for your particular conversation,
but then more
>
> rules would be required to decide if a smiley should be
displayed or
>
>
> not. What is your suggestion? More rules?

>  'Course, this from the crazy guy
> who has no major problem with a very seriously
overengineered solution to
> the problem:
> http://trac.adiumx.com/browser/trunk/Sour
ce/AIEmoticonController.m#L239
>
Holy ****. What's next, writing a grammar and using Lex /
Yacc? :P

Well, from the code comments:

                     /* We want to show this emoticon if
there is:
*              It begins or ends the string
*              It is bordered by spaces or line breaks or
quotes on both sides
*              It is bordered by a period on the left and a
space or
line break or quote the right
*              It is bordered by emoticons on both sides or
by an
emoticon on the left and a period, space, or line break on
the right
*/

Ignoring the complexity for something as silly as an
emoticon, it
seems adequate.


-- 

Stephen


"Democracy must be something more than two wolves and a
sheep voting
on what to have for dinner."

--James Bovard

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gaim-devel mailing list
Gaim-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gaim-devel

Re: To eager smiley replacement
country flaguser name
United States
2007-04-03 13:47:59

Il giorno Apr 3, 2007, alle ore 2:05 PM, Stephen Eilert ha scritto:

Holy ****. What's next, writing a grammar and using Lex / Yacc? :P


*grins* Why, yes, but not for emoticons  It's used in Adium for handling determining whether a part of a given string should be displayed as a clickable link, though.


Cheers,
Evan
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )