From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Novak Subject: Re: Bug report: interaction with python-mode.el Date: Tue, 29 Jan 2013 19:00:22 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6d98c6e5ca4b04d4712a93 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0FTu-0000a1-DV for emacs-orgmode@gnu.org; Tue, 29 Jan 2013 13:00:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0FTs-0008Tl-J4 for emacs-orgmode@gnu.org; Tue, 29 Jan 2013 13:00:26 -0500 Received: from mail-qe0-f42.google.com ([209.85.128.42]:37285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0FTs-0008TX-DD for emacs-orgmode@gnu.org; Tue, 29 Jan 2013 13:00:24 -0500 Received: by mail-qe0-f42.google.com with SMTP id 9so315868qea.1 for ; Tue, 29 Jan 2013 10:00:23 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --047d7b6d98c6e5ca4b04d4712a93 Content-Type: text/plain; charset=ISO-8859-1 Apologies, this seems to have been fixed in the latest development sources for python-mode.el. Please disregard. Thanks, Greg On Tue, Jan 29, 2013 at 3:12 PM, Greg Novak wrote: > If I load a python source file using python-mode.el, and then subsequently > look at a .org file using org-mode.el, I get an error: > > Lisp error: (wrong-type-argument stringp nil) > > and then I cannot see my .org file (nothing is displayed in the buffer). > > Specifically the steps to reproduce are: > > 1) run 'emacs --no-site-file --no-init-file' > 2) eval "(require 'python-mode)" to load python-mode.el > 3) find-file "some/python/file.py" > 4) find-file "some/org/file.org" > > and I get the above error. If any of the above steps are omitted (ie, if > I load python-mode.el, but don't actually look at a python file), I don't > get the error. I've included a traceback below. I'm also submitting this > to as a bug to org-mode ( > https://bugs.launchpad.net/python-mode/+bug/1108910). I've never had > problems with org-mode in this vein before, and this started immediately > after starting to use python-mode.el, so I suspect that the problem lies > there. However, the whole traceback seems to be in org-mode code, so I'm > sending this to you, as well. > > I'm running: > OS X 10.7.5 > Emacs 24.2.1 > org-mode 7.8.11 > python-mode 6.1.0 > > Backtrace attached. > > Thanks, > Greg > > --047d7b6d98c6e5ca4b04d4712a93 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Apologies, this seems to have been fixed in the latest dev= elopment sources for python-mode.el.

Please disreg= ard.

Thanks,
Greg



On Tue, Jan 29, 2013 at 3:12 PM, Greg Novak <greg.novak@g= mail.com> wrote:
If I load a pytho= n source file using python-mode.el, and then subsequently look at a .org fi= le using org-mode.el, I get an error:=A0

Lisp error: (wrong-type-argument stringp nil)

and then I cannot see my .org file (nothing is displaye= d in the buffer). =A0

Specifically the steps to re= produce are:

1) run 'emacs --no-site-file --no= -init-file'
2) eval "(require 'python-mode)" to load python-mode.el<= /div>
3) find-file "some/python/file.py"
4) find-fi= le "some/org/file.org"

and I get the above error. =A0If any of the above steps are = omitted (ie, if I load python-mode.el, but don't actually look at a pyt= hon file), I don't get the error. =A0I've included a traceback belo= w. =A0I'm also submitting this to as a bug to org-mode (https://= bugs.launchpad.net/python-mode/+bug/1108910). =A0I've never had pro= blems with org-mode in this vein before, and this started immediately after= starting to use python-mode.el, so I suspect that the problem lies there. = =A0However, the whole traceback seems to be in org-mode code, so I'm se= nding this to you, as well.

I'm running:
OS X 10.7.5
Emacs = 24.2.1
org-mode 7.8.11
python-mode 6.1.0

=
Backtrace attached.

Thanks,=A0
Gre= g


--047d7b6d98c6e5ca4b04d4712a93--