proc displayUser { user } {
....
foreach tab [::abook::getContactData $user tags] {
$c tag add  $tag $x1 $y1 $x2 $y2
}
}

proc search_field_content_modified {w} {
        set s [$w get ]
        if {$s == "" } {
          foreach tag [$c tags] { $c tag configure $tag -elide false }
        } else {
          foreach tag [$c tags] { $c tag configure $tag -elide false }
          set matching_tags [lsearch [$c tags] $s]
          foreach tag $matching_tags { $c tag configure $tag -elide true }
        }
}


how is my pseudo-code? I think it's great, easy also, do you think it's easy to do it this way ? I suggest when we type Ctrl-F, an entry pops up and as you type, it filters the users... we should have a tag with email adress mandatory on each user, + nick + psm + group_name... and optionally a user can add new tags on any user..

KKRT

On Thu, 26 Jan 2006 15:15:24 -0500, GrdScarabe <[EMAIL PROTECTED]> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Jenkins wrote:
Hi all,
Karel and I were chatting the other day and Karel mentioned something
hed wanted for ages -  a little search box on the CL so you can type
text in and Amsn will just show contacts with that text in their
nick/psm. This led to talking about creating filters (as with Nautilus,
thoigh I've never tried, Karel can tell you more...) so you can add tags
to contacts and create filters that search for certain tags/combinations
of tags. When you have a big contaclist, this could be very useful and I
think it's a great idea. Do other people agree, if so I will be sure to
add it to the new cl!

Tom

I think it's wonderfull ... I wanted to develop a plugin to do something
like that ... and especially to hode messages from some contacts
depending on groups (but tags are even better).

Sometime I just connect to see some people and don't want to talk to
others ... but don't want to block them neither.

So ... I think it's a good beginning.. you have my vote :)

GrdScarabe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD2S3cPmfsnt4Id3wRAmp0AJ4gWclLBBkwfL1BaanmLVd0oHawKgCg1jdr
Mo2SP5fodbGEk4vIXQlQBNk=
=emjY
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel



--
KaKaRoTo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to