From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Oberbrunner Subject: Re: python sessions Date: Wed, 20 Mar 2013 21:56:23 -0400 Message-ID: References: <51496061.20706@easy-emacs.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0139fc045323b504d865a51f Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIUjy-0002cD-IB for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 21:56:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIUjx-0002HH-Aj for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 21:56:26 -0400 Received: from mail-oa0-f48.google.com ([209.85.219.48]:45136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIUjx-0002HD-3s for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 21:56:25 -0400 Received: by mail-oa0-f48.google.com with SMTP id j1so2522612oag.7 for ; Wed, 20 Mar 2013 18:56:24 -0700 (PDT) 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: John Hendy Cc: Orgmode Mailing List --089e0139fc045323b504d865a51f Content-Type: text/plain; charset=ISO-8859-1 Both of the issues in my patch were part of it. The buffer naming and using "python -i" in session mode. And I'm still not sure default (nameless) sessions are working, and also in my real testcase it still hangs sometimes. So no, not everything is fine yet. On Wed, Mar 20, 2013 at 9:54 PM, John Hendy wrote: > On Wed, Mar 20, 2013 at 8:22 PM, Gary Oberbrunner > wrote: > > I've attached a patch which works for me, at least in simple tests. It > > should set the buffer name more correctly in session mode. I also added > a > > new defcustom for the python command to use for session mode > specifically; > > that is required for Windows, and I don't think it hurts on other OSes. > > > > Is this fixing *everything* for you, or just the named sessions? Just > wondering if your original issue is fixed, or if you're still having > issues. > > If it was fixed... what was it (out of curiosity)? Sorry... still > haven't rebooted into Windows to see if I can replicate on Windows as > well. > > > John > > > > > On Wed, Mar 20, 2013 at 8:20 PM, Gary Oberbrunner > > > wrote: > >> > >> > >> On Wed, Mar 20, 2013 at 1:00 PM, John Hendy wrote: > >>> > >>> Some other things I noticed when modifying your custom config (just to > >>> clarify): > >>> - Org-mode git repo is located at "/emacs/site-lisp/org-mode/lisp"? > >>> - You shouldn't need (perhaps even as strongly as shouldn't use) > >>> =(require 'org)= > >> > >> > >> Ah, I see -- once I add the proper dir, the proper version of org-mode > >> will get autoloaded from there (even with emacs -Q). > >> > >> But it wouldn't actually hurt, would it? > >> > >> -- > >> Gary > > > > > > > > > > -- > > Gary > -- Gary --089e0139fc045323b504d865a51f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Both of the issues in my patch were part of it. =A0The buf= fer naming and using "python -i" in session mode.

<= div>And I'm still not sure default (nameless) sessions are working, and= also in my real testcase it still hangs sometimes. =A0So no, not everythin= g is fine yet.


On Wed,= Mar 20, 2013 at 9:54 PM, John Hendy <jw.hendy@gmail.com> w= rote:
On Wed, Mar 20, 2013 at 8:= 22 PM, Gary Oberbrunner <garyo@= oberbrunner.com> wrote:
> I've attached a patch which works for me, at least in simple tests= . =A0It
> should set the buffer name more correctly in session mode. =A0I also a= dded a
> new defcustom for the python command to use for session mode specifica= lly;
> that is required for Windows, and I don't think it hurts on other = OSes.
>

Is this fixing *everything* for you, or just the named sessions? Just=
wondering if your original issue is fixed, or if you're still having issues.

If it was fixed... what was it (out of curiosity)? Sorry... still
haven't rebooted into Windows to see if I can replicate on Windows as well.


John

>
> On Wed, Mar 20, 2013 at 8:20 PM, Gary Oberbrunner <garyo@oberbrunner.com>
> wrote:
>>
>>
>> On Wed, Mar 20, 2013 at 1:00 PM, John Hendy <jw.hendy@gmail.com> wrote:
>>>
>>> Some other things I noticed when modifying your custom config = (just to
>>> clarify):
>>> - Org-mode git repo is located at "/emacs/site-lisp/org-m= ode/lisp"?
>>> - You shouldn't need (perhaps even as strongly as shouldn&= #39;t use)
>>> =3D(require 'org)=3D
>>
>>
>> Ah, I see -- once I add the proper dir, the proper version of org-= mode
>> will get autoloaded from there (even with emacs -Q).
>>
>> But it wouldn't actually hurt, would it?
>>
>> --
>> Gary
>
>
>
>
> --
> Gary



--
= Gary
--089e0139fc045323b504d865a51f--