nsf/gocode — pull request #100 by pbgc (2012-09-22 22:58:51+00:00)
Title: gocode completions should have precedence

Last change enabled auto-completion for all identifiers but introduced a problem. The two auto-completion behaviors were in conflict (typing "fmt.P". Sometimes, auto-completion show the signatures of Print(), Printf() and Println(), but more frequently it shows all identifiers that start with 'P')

Current commit corrects this by giving priority to gocode... and problem above is solved...but there is still another problem... for example when typing "sql.P" (sql from "database/sql), as there is exported symbol in database/sql that starts with 'P', auto-complete shows a list of identifiers in the code that start with 'P' and this is confusing and really wrong because they don't belong to the package...

I'm trying to solve this (with my limited elisp knowledge) but it's being a challenge...