From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Newell Jensen" Newsgroups: gmane.emacs.help Subject: Pymacs mode does not work after autocomplete added to .emacs file and then deleted Date: Wed, 9 Apr 2008 17:26:00 -0700 Message-ID: <3fa429ba0804091726q2e24c01ew89b1616dc0f67626@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_163_32917895.1207787160150" X-Trace: ger.gmane.org 1207798586 6769 80.91.229.12 (10 Apr 2008 03:36:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2008 03:36:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 10 05:36:57 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jjnak-00083z-7N for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Apr 2008 05:36:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jjna5-0000Sg-3y for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Apr 2008 23:36:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JjkcA-0007mE-Dx for help-gnu-emacs@gnu.org; Wed, 09 Apr 2008 20:26:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jjkc9-0007l6-Sg for help-gnu-emacs@gnu.org; Wed, 09 Apr 2008 20:26:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jjkc9-0007ko-EQ for help-gnu-emacs@gnu.org; Wed, 09 Apr 2008 20:26:05 -0400 Original-Received: from wr-out-0506.google.com ([64.233.184.231]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jjkc9-0000Rn-5V for help-gnu-emacs@gnu.org; Wed, 09 Apr 2008 20:26:05 -0400 Original-Received: by wr-out-0506.google.com with SMTP id 57so3081133wri.12 for ; Wed, 09 Apr 2008 17:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=e4/XxXGdpbMjR//ocvBa9vFBiWognReGpYZvw/xDatw=; b=XovWMjjWytVMbEjdyH8VftvRrNbARPQgJ9KR38ilCrkAuz2ZSqvcawEWoVKxrXXMz6CeXPUnKOBS2Fg44jVIpzQlG590sJyeKWGe+qOa4FuN7IFJgRqTI7sl5bIHnEbwXG3/wPPWQOCaVq2UEsbiJbBbLcH+De3OO1dIbUgEtAo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=mhgW+CEKvK3e14FqFyOT0v29K+6fC3KyuTKTLN4pp96GclLVeMbxAw0nCoX6I2sYFt+lcQsVHHwJrUvoFC+rg+y5wD29k53/9I7IUmV216OSFKJbs8zZUtB/e3DTorb8ik4vChilFp2S190HhMnFo0EumKYEJbjRqh6OsNlTBPs= Original-Received: by 10.114.169.2 with SMTP id r2mr1069447wae.76.1207787160154; Wed, 09 Apr 2008 17:26:00 -0700 (PDT) Original-Received: by 10.115.55.2 with HTTP; Wed, 9 Apr 2008 17:26:00 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 09 Apr 2008 23:35:51 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53213 Archived-At: ------=_Part_163_32917895.1207787160150 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello all and thanks in advance for any help that you can give me. I don't know what is going on but I have not been able to figure this out. Before I did anything I had pymacs and py-mode working so that when I was working on a python file I could do autocompletion by hitting tab. Then I wanted to figure out how to get completion working where I could have something similar to Visual Studio's intellisense. To do this I appended (require 'hippie-exp) (setq hippie-expand-try-functions-list '(try-expand-dabbrev try-expand-dabbrev-all-buffers try-expand-dabbrev-from-kill try-complete-file-name-partially try-complete-file-name try-complete-lisp-symbol-partially try-complete-lisp-symbol try-expand-whole-kill)) but this was givng me problems because it wouldn't allow me to have the python completion anymore. So all I did was deleted what I put in (the above) from my .emacs file but now it will not go back to the original way that it was. I restarted my computer, looked in /usr/share/emacs/site-lisp etc to see if I could find the problem but I am stumped. Once again, to iterate. ALL I did was copied the above text into the bottom of my .emacs file and then deleted it, but my emacs no longer does the python completion. Any ideas would be appreciated. Thanks. -- Newell Before enlightenment, chop wood and carry water After enlightenment, code and build circuits ------=_Part_163_32917895.1207787160150 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello all and thanks in advance for any help that you can give me.  I don't know what is going on but I have not been able to figure this out.  Before I did anything I had pymacs and py-mode working so that when I was working on a python file I could do autocompletion by hitting tab.  Then I wanted to figure out how to get completion working where I could have something similar to Visual Studio's intellisense.  To do this I appended

(require 'hippie-exp)

(setq hippie-expand-try-functions-list
'(try-expand-dabbrev
try-expand-dabbrev-all-buffers
try-expand-dabbrev-from-kill
try-complete-file-name-partially
try-complete-file-name
try-complete-lisp-symbol-partially
try-complete-lisp-symbol
try-expand-whole-kill))

but this was givng me problems because it wouldn't allow me to have the python completion anymore.  So all I did was deleted what I put in (the above) from my .emacs file but now it will not go back to the original way that it was.  I restarted my computer, looked in /usr/share/emacs/site-lisp etc to see if I could find the problem but I am stumped.

Once again, to iterate.  ALL I did was copied the above text into the bottom of my .emacs file and then deleted it, but my emacs no longer does the python completion.

Any ideas would be appreciated.  Thanks.

-- 
Newell

Before enlightenment, chop wood and carry water
After enlightenment, code and build circuits ------=_Part_163_32917895.1207787160150--