It's IPythonWidget.editor, so add the line:<div><br></div><div>c.IPythonWidget.editor = "emacs --load ~/.emacsScript"</div><div><br></div><div>to either ipython_qtconsole_config.py or ipython_config.py (all IPython apps *also* load ipython_config.py, before loading their particular config file).</div>
<div><br></div><div>-MinRK</div><div><div><br><div class="gmail_quote">On Wed, Aug 31, 2011 at 15:03, Jeffrey Spencer <span dir="ltr"><<a href="mailto:jeffspencerd@gmail.com">jeffspencerd@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">That did the trick. Heaps of settings there that I'll have to give a<br>
look at.<br>
<br>
Cheers<br>
<div><div></div><div class="h5"><br>
On 01/09/11 07:50, Klonuo Umom wrote:<br>
> Try with:<br>
><br>
> $ ipython profile create<br>
><br>
> AFAIK, it should create default profile with required file<br>
><br>
> On Wed, Aug 31, 2011 at 11:44 PM, Jeffrey Spencer<br>
> <<a href="mailto:jeffspencerd@gmail.com">jeffspencerd@gmail.com</a>> wrote:<br>
>> My config is in .ipython from previous versions but I don't have a file<br>
>> called ipython_qtconsole_config.py.<br>
>><br>
>> If I create it how do I set the variable:<br>
>><br>
>> Ipythonwidght.editor="emacs --load ~/.emacsScript"<br>
>><br>
>> Something like the above or let me know.<br>
>><br>
>> Cheers,<br>
>> Jeff<br>
>><br>
>> On 01/09/11 07:36, Klonuo Umom wrote:<br>
>>> That option can be set in:<br>
>>><br>
>>> ~/.config/ipython/profile_default/ipython_qtconsole_config.py<br>
>>><br>
>>> On Wed, Aug 31, 2011 at 11:32 PM, Jeffrey Spencer<br>
>>> <<a href="mailto:jeffspencerd@gmail.com">jeffspencerd@gmail.com</a>> wrote:<br>
>>>> How do I set the editor in this?? I have searched but haven't seem to<br>
>>>> found<br>
>>>> where to do this.<br>
>>>><br>
>>>> This is the error I get so obviously it has no editor set but where is<br>
>>>> the<br>
>>>> config file to set it and what is necessary.<br>
>>>><br>
>>>> No default editor available.<br>
>>>> Specify a GUI text editor in the `IPythonWidget.editor` configurable tqt<br>
>>>> enable the %edit magic<br>
>>>><br>
>>>> Cheers,<br>
>>>> jeff<br>
>>>><br>
>>>> --<br>
>>>> ________________________<br>
>>>> Jeffrey Spencer<br>
>>>> <a href="mailto:jeffspencerd@gmail.com">jeffspencerd@gmail.com</a><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> IPython-User mailing list<br>
>>>> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
>>>> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
>>>><br>
>>>><br>
> _______________________________________________<br>
> IPython-User mailing list<br>
> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</div></div></blockquote></div><br></div></div>