[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

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-02 Thread Urs Fleisch
2 19:14:02 + @@ -0,0 +1,37 @@ +;;; auto-complete-pycomplete.el --- an auto-complete source for pycomplete.el + +;; Copyright (C) 2012 Urs Fleisch + +;; Author: Urs Fleisch +;; Keywords: languages, processes, python, oop + +;; This program is free software; you can redistribute it and/or mod

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] Completion of symbols defined in current buffer

2014-09-01 Thread Urs Fleisch
Hi Andreas, Barry, Hi Emacs-Pythonistas, >>being inclined to drop that feature >> >>https://bugs.launchpad.net/python-mode/+bug/1001328 >> >>Emacs provides dabbrev-expand, which is Python-agnostic but fairly >>effectiv. Otherwise the buffers content needs to be evaluated - with >>means, it must be