From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: [phromo@gmail.com: bugfix: python.el: completion in inferior python]
Date: Fri, 18 Jan 2008 08:28:12 -0500 [thread overview]
Message-ID: <E1JFrGW-0007SF-Qh@fencepost.gnu.org> (raw)
Would someone please DTRT?
------- Start of forwarded message -------
Message-ID: <478E0C9B.8080302@gmail.com>
Date: Wed, 16 Jan 2008 14:54:35 +0100
From: Martin Svenson <phromo@gmail.com>
MIME-Version: 1.0
To: bug-gnu-emacs@gnu.org
Content-Type: multipart/mixed; boundary="------------000101040702080309060500"
Subject: bugfix: python.el: completion in inferior python
This is a multi-part message in MIME format.
- --------------000101040702080309060500
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hello,
I've fixed a small "bug" that affects, among others,
python-complete-symbol in the inferior python buffer.
Problem (and solution):
When doing python-complete-symbol in the inferior python buffer, emacs
freezes. This is due to a while-loop in python-symbol-completions that
never gets any input, because the python process signals an error that
python-imports is nil (because we're not in an python-edit-buffer). The
correct value of python-imports in an unknown context should not be nil
(as in current version), but "None", which makes things work smoothly
and as expected.
P.S. This is my first time sending a patch to an open-source project. I
apolgize if my message does not conform with etiquette.
// Martin
- --------------000101040702080309060500
Content-Type: text/plain;
name="python-el-completion-fix.patch"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="python-el-completion-fix.patch"
KioqIHB5dGhvbi5lbC5vbGQJV2VkIEphbiAxNiAxNDoyOTowNCAyMDA4Ci0tLSBweXRob24u
ZWwJV2VkIEphbiAxNiAxNDo0Njo1OCAyMDA4CioqKioqKioqKioqKioqKgoqKiogMTg0OCwx
ODU0ICoqKioKICAMDQogIDs7OzsgQ29tcGxldGlvbi4NCiAgDQohIChkZWZ2YXIgcHl0aG9u
LWltcG9ydHMgbmlsDQogICAgIlN0cmluZyBvZiB0b3AtbGV2ZWwgaW1wb3J0IHN0YXRlbWVu
dHMgdXBkYXRlZCBieSBgcHl0aG9uLWZpbmQtaW1wb3J0cycuIikNCiAgKG1ha2UtdmFyaWFi
bGUtYnVmZmVyLWxvY2FsICdweXRob24taW1wb3J0cykNCiAgDQotLS0gMTg0OCwxODU0IC0t
LS0KICAMDQogIDs7OzsgQ29tcGxldGlvbi4NCiAgDQohIChkZWZ2YXIgcHl0aG9uLWltcG9y
dHMgIk5vbmUiDQogICAgIlN0cmluZyBvZiB0b3AtbGV2ZWwgaW1wb3J0IHN0YXRlbWVudHMg
dXBkYXRlZCBieSBgcHl0aG9uLWZpbmQtaW1wb3J0cycuIikNCiAgKG1ha2UtdmFyaWFibGUt
YnVmZmVyLWxvY2FsICdweXRob24taW1wb3J0cykNCiAgDQo=
- --------------000101040702080309060500--
------- End of forwarded message -------
next reply other threads:[~2008-01-18 13:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 13:28 Richard Stallman [this message]
2008-01-20 3:58 ` [phromo@gmail.com: bugfix: python.el: completion in inferior python] Glenn Morris
2008-01-20 9:19 ` Forwarding mails (was: [phromo@gmail.com: bugfix: python.el: completion in inferior python]) Reiner Steib
2008-01-20 20:28 ` Forwarding mails Glenn Morris
2008-01-20 21:03 ` Reiner Steib
2008-01-20 9:28 ` [phromo@gmail.com: bugfix: python.el: completion in inferior python] Andreas Schwab
2008-01-20 20:29 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1JFrGW-0007SF-Qh@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.