Hi everyone, I found that ess with auto-complete does not work well,

firstly it does not include default auto-complete list,
for example, when you have written some code in [ESS]
it does not detect what you have written and add something written to the
ac-soruce ,
however the default auto-complete does.

secondly when you load some packages in [ESS], i mean for example you
write "library(compiler)" in [ESS] and C-c C-j send the line to
[iESS], then you input "cmp" into [ESS], the auto-complete does
not work unless compiler is the first packages when you load this
way. There is something wrong in formatting ac-source when load
several packages from [ESS].

My ess version is 12.04-1, system is Ubuntu 12.04, emacs version 23.3.1
The examples are below:

########################################
#### suppose you have written some codes
abcd <- c(1, 2, 3)
efgh <- d(5, 6, 7)
### you do not start any R process, or you do not send the codes to R
## when you input
ab            ## auto-complete should gave you abcd, but it does not
ef             ## auto-complete  should gave you efgh, but it does not

###########################################
library(plyr)     ### send it by C-c C-n
dlp                 ### when you input dlp auto-complete will give you a
list including dlply
#### then you load another package
library(compiler)  ### send it by C-c C-n
cmp               ### this time the auto-complete will do nothing, it
should give you cmpfun
##########################################

	[[alternative HTML version deleted]]

