Message from discussion
No Rope menu in Emacs 23.3 on OSX 10.7.3
Received: by 10.50.195.196 with SMTP id ig4mr9985199igc.4.1328559041607;
Mon, 06 Feb 2012 12:10:41 -0800 (PST)
X-BeenThere: rope-dev@googlegroups.com
Received: by 10.231.187.2 with SMTP id cu2ls1143781ibb.3.gmail; Mon, 06 Feb
2012 12:10:41 -0800 (PST)
Received: by 10.42.158.4 with SMTP id f4mr10425162icx.4.1328559041201;
Mon, 06 Feb 2012 12:10:41 -0800 (PST)
Received: by 10.42.158.4 with SMTP id f4mr10425161icx.4.1328559041191;
Mon, 06 Feb 2012 12:10:41 -0800 (PST)
Return-Path: <gene...@angri.ru>
Received: from mail-tul01m020-f172.google.com (mail-tul01m020-f172.google.com [209.85.214.172])
by gmr-mx.google.com with ESMTPS id cg4si4582726igb.0.2012.02.06.12.10.40
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 06 Feb 2012 12:10:40 -0800 (PST)
Received-SPF: neutral (google.com: 209.85.214.172 is neither permitted nor denied by best guess record for domain of gene...@angri.ru) client-ip=209.85.214.172;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.214.172 is neither permitted nor denied by best guess record for domain of gene...@angri.ru) smtp.mail=gene...@angri.ru
Received: by mail-tul01m020-f172.google.com with SMTP id wd15so7177460obb.3
for <rope-dev@googlegroups.com>; Mon, 06 Feb 2012 12:10:40 -0800 (PST)
Received: by 10.182.36.35 with SMTP id n3mr17859848obj.66.1328559040229; Mon,
06 Feb 2012 12:10:40 -0800 (PST)
MIME-Version: 1.0
Received: by 10.182.27.39 with HTTP; Mon, 6 Feb 2012 12:09:59 -0800 (PST)
In-Reply-To: <m1pqdsbje1.fsf@gmail.com>
References: <CALncvdZWKPrLq_0mXeAkzV92MHvsReafkB8+EVU6AJxzMSjkLQ@mail.gmail.com>
<m1zkcx4yqf.fsf@gmail.com> <20120502195421@lilem.mirepesht>
<CALncvdb3Dy8CZRdmW6Pp=Ph14OfxrbyTjcdEqm+js6E-vucfQQ@mail.gmail.com>
<20120502202058@lilem.mirepesht> <m1sjipch70.fsf@gmail.com>
<m1ipjlcg4s.fsf@gmail.com> <20120502215321@lilem.mirepesht>
<m1ehu8d7la.fsf@gmail.com> <20120602071533@lilem.mirepesht> <m1pqdsbje1.fsf@gmail.com>
From: general <gene...@angri.ru>
Date: Mon, 6 Feb 2012 21:09:59 +0100
Message-ID: <CAKmrg8OWE=-Ycpbt9cETpUqfhxfg6FLNANKys-JRzUqh4kF...@mail.gmail.com>
Subject: Re: No Rope menu in Emacs 23.3 on OSX 10.7.3
To: Leo <sdl....@gmail.com>
Cc: Ali Gholami Rudi <aligr...@gmail.com>, rope-dev@googlegroups.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Submitted patch, please test the last revision of ropemacs.
Thanks!
--
Anton
2012/2/6 Leo <sdl....@gmail.com>:
> On 2012-02-06 11:45 +0800, Ali Gholami Rudi wrote:
>> But does anyone besides pymacs import ropemacs?
>> Using python call frames seems a bit like black magic to me.
>
> Agree.
>
>> Anyhow, your fix looks OK; it is tested and safer. =C2=A0Would
>> you resend it while Anton <gene...@angri.ru> CCed.
>>
>> Thanks,
>> Ali
>
> Anton,
>
> Due to the issue reported here
> https://github.com/pinard/Pymacs/issues/15, could you install the patch
> below when you find time. Thanks.
>
> diff -r 7af544334b85 ropemacs/__init__.py
> --- a/ropemacs/__init__.py =C2=A0 =C2=A0 =C2=A0Fri Dec 17 21:51:54 2010 +=
0300
> +++ b/ropemacs/__init__.py =C2=A0 =C2=A0 =C2=A0Mon Feb 06 13:48:48 2012 +=
0800
> @@ -568,7 +568,7 @@
> =C2=A0 =C2=A0 while frame:
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 # checking frame.f_code.co_name =3D=3D 'pymac=
s_load_helper' might
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 # be very fragile.
> - =C2=A0 =C2=A0 =C2=A0 =C2=A0if inspect.getfile(frame).rstrip('c').endswi=
th('pymacs.py'):
> + =C2=A0 =C2=A0 =C2=A0 =C2=A0if inspect.getfile(frame).rstrip('c').endswi=
th(('Pymacs.py', 'pymacs.py')):
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return True
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 frame =3D frame.f_back
>