From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: fix needed for etc/emacs.py Date: Mon, 17 Jan 2005 23:49:49 +0000 Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106007997 16792 80.91.229.6 (18 Jan 2005 00:26:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jan 2005 00:26:37 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 18 01:26:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CqhCY-0006O9-00 for ; Tue, 18 Jan 2005 01:26:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqhOR-00054u-82 for ged-emacs-devel@m.gmane.org; Mon, 17 Jan 2005 19:38:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CqhLs-0003DY-Rj for emacs-devel@gnu.org; Mon, 17 Jan 2005 19:36:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CqhLr-0003D8-SQ for emacs-devel@gnu.org; Mon, 17 Jan 2005 19:36:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqhK6-0002NO-2e for emacs-devel@gnu.org; Mon, 17 Jan 2005 19:34:18 -0500 Original-Received: from [148.79.80.138] (helo=mserv7.dl.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cqgd5-0000Tn-Ev for emacs-devel@gnu.org; Mon, 17 Jan 2005 18:49:51 -0500 X-DL-MFrom: X-DL-Connect: Original-Received: from albion.dl.ac.uk (albion.dl.ac.uk [148.79.80.39]) by mserv7.dl.ac.uk (8.12.10/8.12.8/[ref postmaster@dl.ac.uk]) with ESMTP id j0HNnnFJ010004 for ; Mon, 17 Jan 2005 23:49:49 GMT Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 1Cqgd3-0003g6-00 for ; Mon, 17 Jan 2005 23:49:49 +0000 Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3 (gnu/linux) X-CCLRC-SPAM-report: 0 : X-Scanned-By: MIMEDefang 2.37 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:32309 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32309 Someone reported a while ago that python.el can lose loading the emacs.py support (on Windows?) when rlcompleter isn't available. The fix I suggested hasn't been made. Can someone Python-savvy deal with it, please? I think the top-level import of rlcompleter should be removed. Instead, the def of `complete' should be preceded by `import rlcompleter' and wrapped in try: ... except:. The except: block should define a dummy `complete' that just prints '_emacs_out()'.