On Mar 26, 2005, at 5:10 PM, Stefan Monnier wrote:

Maybe you could add a `message' at the beginning of python-preoutput-filter,
to see what the process filter actually receives. Or maybe even at the
beginning of comint-output-filter.



Stefan



Curiouser and curiouser. I put a message in python-preoutput-filter that echoes its parameter as you suggest. Looking at the contents of my messages buffer after attempting the completion for "os.", the "Can't find completion" message from the python completion routine happens after precisely 1024 characters are read. Furthermore it looks like the data coming from the process is interrupted every 1024 characters.



_emacs_out ( "os.EX_CANTCREAT" "os.EX_CONFIG" "os.EX_DATAERR" "os.EX_IOERR" "os.EX_NOHOST" "os.EX_NOINPUT" "os.EX_NOPERM" "os.EX_NOUSER" "os.EX_OK" "os.EX_OSERR" "os.EX_OSFILE" "os.EX_PROTOCOL" "os.EX_SOFTWARE" "os.EX_TEMPFAIL" "os.EX_UNAVAILABLE" "os.EX_USAGE" "os.F_OK" "os.NGROUPS_MAX" "os.O_APPEND" "os.O_CREAT" "os.O_EXCL" "os.O_NDELAY" "os.O_NOCTTY" "os.O_NOFOLLOW" "os.O_NONBLOCK" "os.O_RDONLY" "os.O_RDWR" "os.O_TRUNC" "os.O_WRONLY" "os.P_NOWAIT" "os.P_NOWAITO" "os.P_WAIT" "os.R_OK" "os.TMP_MAX" "os.UserDict" "os.WCOREDUMP" "os.WEXITSTATUS" "os.WIFEXITED" "os.WIFSIGNALED" "os.WIFSTOPPED" "os.WNOHANG" "os.WSTOPSIG" "os.WTERMSIG" "os.WUNTRACED" "os.W_OK" "os.X_OK" "os._Environ" "os.__all__" "os.__doc__" "os.__file__" "os.__name__" "os._copy_reg" "os._execvpe" "os._exists" "os._exit" "os._get_exports_list" "os._make_stat_result" "os._make_statvfs_result" "os._pickle_stat_result" "os._pickle_statvfs_result" "os._spawnvef" "os.abort" "os.access" "os.altsep" "os.chdir" "os.chmod" "os.chown" "os.chroot" "os.clos
Can't find completion for "os."
e" "os.confstr" "os.confstr_names" "os.ctermid" "os.curdir" "os.defpath" "os.dup" "os.dup2" "os.environ" "os.error" "os.execl" "os.execle" "os.execlp" "os.execlpe" "os.execv" "os.execve" "os.execvp" "os.execvpe" "os.extsep" "os.fchdir" "os.fdopen" "os.fork" "os.forkpty" "os.fpathconf" "os.fstat" "os.fsync" "os.ftruncate" "os.getcwd" "os.getcwdu" "os.getegid" "os.getenv" "os.geteuid" "os.getgid" "os.getgroups" "os.getloadavg" "os.getlogin" "os.getpgid" "os.getpgrp" "os.getpid" "os.getppid" "os.getuid" "os.isatty" "os.kill" "os.killpg" "os.linesep" "os.link" "os.listdir" "os.lseek" "os.lstat" "os.major" "os.makedev" "os.makedirs" "os.minor" "os.mkdir" "os.mkfifo" "os.mknod" "os.name" "os.nice" "os.open" "os.openpty" "os.pardir" "os.path" "os.pathconf" "os.pathconf_names" "os.pathsep" "os.pipe" "os.popen" "os.popen2" "os.popen3" "os.popen4" "os.putenv" "os.read" "os.readlink" "os.remove" "os.removedirs" "os.rename" "os.renames" "os.rmdir" "os.sep" "os.setegid" "os.seteuid" "os.setgid" "os.setgroups" "os.setpgid"
"os.setpgrp" "os.setregid" "os.setreuid" "os.setsid" "os.setuid" "os.spawnl" "os.spawnle" "os.spawnlp" "os.spawnlpe" "os.spawnv" "os.spawnve" "os.spawnvp" "os.spawnvpe" "os.stat" "os.stat_float_times" "os.stat_result" "os.statvfs_result" "os.strerror" "os.symlink" "os.sys" "os.sysconf" "os.sysconf_names" "os.system" "os.tcgetpgrp" "os.tcsetpgrp" "os.tempnam" "os.times" "os.tmpfile" "os.tmpnam" "os.ttyname" "os.umask" "os.uname" "os.unlink" "os.unsetenv" "os.utime" "os.wait" "os.waitpid" "os.walk" "os.write" "os.__class__" "os.__class__" "os.__delattr__" "os.__dict__" "os.__doc__" "os.__getattribute__" "os.__hash__" "os.__init__" "os.__new__" "os.__reduce__" "os.__reduce_ex__" "os.__repr__" "os.__setattr__" "os.__str__" "os.__class__" "os.__delattr__" "os.__doc__" "os.__getattribute__" "os.__hash__" "os.__init__" "os.__new__" "os.__reduce__" "os.__reduce_ex__" "os.__repr__" "os.__setattr__" "os.__str__" )





_______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to