Re: [Python-mode] [PATCH] Improved pycomplete

2012-07-04 Thread Urs Fleisch
Hi Andreas, I have another patch: https://bugs.launchpad.net/python-mode/+bug/1020973 > BTW next time, please make another step and send patches as an attachment on > per-file basis. > Thus I may read in them simply with command `patch' I will attach patch files from now on. However, it is also

Re: [Python-mode] [PATCH] Improved pycomplete

2012-07-02 Thread Andreas Röhler
Am 02.07.2012 21:18, schrieb Urs Fleisch: Hi Andreas, I have put the code for company and auto-complete into separate files. Regards, Urs Thanks, Urs, BTW next time, please make another step and send patches as an attachment on per-file basis. Thus I may read in them simply with command `

Re: [Python-mode] [PATCH] Improved pycomplete

2012-07-02 Thread Urs Fleisch
Hi Andreas, I have put the code for company and auto-complete into separate files. Regards, Urs === added file 'completion/auto-complete-pycomplete.el' --- completion/auto-complete-pycomplete.el 1970-01-01 00:00:00 + +++ completion/auto-complete-pycomplete.el 2012-07-02 19:14:02 +0

Re: [Python-mode] [PATCH] Improved pycomplete

2012-07-02 Thread Andreas Röhler
I have another little patch, Hi Urs, thinking meanwhile it might be worth a separate file, as it relies at company. You will be aware of M-x auto-insert. Thanks a lot, Andreas not related to a bug, rather an improvement. It provides functions py-complete-define-ac-source(), py-compl

Re: [Python-mode] [PATCH] Improved pycomplete

2012-07-01 Thread Andreas Röhler
Am 01.07.2012 16:19, schrieb Urs Fleisch: Hi, If you might open a ticket at https://bugs.launchpad.net/python-mode for it, the patch attached, that would help still, as it's easier to refer. OK, I have opened a bug: https://bugs.launchpad.net/python-mode/+bug/1019791. I have another lit

Re: [Python-mode] [PATCH] Improved pycomplete

2012-07-01 Thread Urs Fleisch
Hi, > If you might open a ticket at > > https://bugs.launchpad.net/python-mode > > for it, the patch attached, that would help still, as it's easier to refer. OK, I have opened a bug: https://bugs.launchpad.net/python-mode/+bug/1019791. I have another little patch, not related to a bug, rath

Re: [Python-mode] [PATCH] Improved pycomplete

2012-07-01 Thread Andreas Röhler
Am 01.07.2012 15:04, schrieb Urs Fleisch: Hi, Here is a little patch, which fixes the following problems in pycomplete: py-find-global-imports(): Support dot in "from ... import" statements, e.g. "from PyQt4.QtGui import QMainWindow". get_all_completions(): Return an empty list when no symbol

[Python-mode] [PATCH] Improved pycomplete

2012-07-01 Thread Urs Fleisch
Hi, Here is a little patch, which fixes the following problems in pycomplete: py-find-global-imports(): Support dot in "from ... import" statements, e.g. "from PyQt4.QtGui import QMainWindow". get_all_completions(): Return an empty list when no symbol is found (e.g. when trying to complete "[].a