ijython usability fixes

8 views
Skip to first unread message

Mike Hostetler

unread,
Feb 7, 2008, 9:44:00 AM2/7/08
to ijytho...@googlegroups.com
I've been using ijython a lot in the past couple of days -- here are some of my suggestions:

o While doing a completion, have Enter choose the method as well as Tab. That seems to work better for me.
o Thanks for supporting Emacs keystrokes. :)  But Ctrl-K should not only remove text from the end of the line, but also store it in the clipboard.
o When I start ijython, I get:
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
And none of my look-and-feel changes are saved (like when I change the font, colors, etc.)  This is almost certainly because I don't have Admin rights on my machine, so it can't save changes.  But I don't think I should have to have Admin rights to save my font and color changes!
o Debug statements to STDOUT.  Can you use commons-logging, log4j, etc?  Yeah, that would add a dependency.

That's it for now.  Overall, I've found it quite useful.
--
Mike Hostetler
http://mike.hostetlerhome.com/

Duncan Child

unread,
Feb 7, 2008, 3:50:18 PM2/7/08
to ijytho...@googlegroups.com
Hi Mike,

On Feb 7, 2008 8:44 AM, Mike Hostetler <hoste...@gmail.com> wrote:
> I've been using ijython a lot in the past couple of days -- here are some of
> my suggestions:
>
> o While doing a completion, have Enter choose the method as well as Tab.
> That seems to work better for me.

Let me think about that one. Anyone else have an opinion? Any reason
not to do it?

> o Thanks for supporting Emacs keystrokes. :) But Ctrl-K should not only
> remove text from the end of the line, but also store it in the clipboard.

http://wush.net/trac/geocraft/ticket/270

> o When I start ijython, I get:
> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at
> root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
> And none of my look-and-feel changes are saved (like when I change the font,
> colors, etc.) This is almost certainly because I don't have Admin rights on
> my machine, so it can't save changes. But I don't think I should have to
> have Admin rights to save my font and color changes!

That is good to know. I only develop on mac and linux and it works
fine there. I was using the Java preferences api while I hacked on
getting the color stuff working.

Dan - do you want to use our regular properties approach? How is the
commons package coming along? Or what does iPython do - perhaps we
should default to doing the same?

What would be the best way to do this when ijython is embedded in an
application like geocraft? Should we store the properties in the same
location as the app's other preferences?

http://wush.net/trac/geocraft/ticket/271


> o Debug statements to STDOUT. Can you use commons-logging, log4j, etc?
> Yeah, that would add a dependency.

That was me being lazy. These will be removed before we create a
distribution jar file.

http://wush.net/trac/geocraft/ticket/272

>
> That's it for now. Overall, I've found it quite useful.

Thanks for your suggestions!

Duncan

Dan Dromereschi

unread,
Feb 8, 2008, 4:54:28 AM2/8/08
to ijytho...@googlegroups.com
Hi Mike, Duncan,

I do agree about having ENTER to choose the method from the completion popup. I always use ENTER in the Java IDEs and I think other users expect it to work in ijython, too.

I think we should switch the Preferences to our regular Properties approach. We should move that registry class to the commons and have it parameterized such as ijython properties to be separate from the geocraft ones.

Regards,

Dan

Mike Hostetler

unread,
Feb 8, 2008, 8:57:27 AM2/8/08
to ijytho...@googlegroups.com
On Feb 8, 2008 3:54 AM, Dan Dromereschi <dda...@gmail.com> wrote:
Hi Mike, Duncan,

I do agree about having ENTER to choose the method from the completion popup. I always use ENTER in the Java IDEs and I think other users expect it to work in ijython, too.

ENTER is what Eclipse uses and it's very much ingrained to my mine. I think you could leave TAB if you wanted, though.

I think we should switch the Preferences to our regular Properties approach. We should move that registry class to the commons and have it parameterized such as ijython properties to be separate from the geocraft ones.

I would thank you for that.

To answer a question to my Ctrl-K request -- Ctrtl-Y in ijython already inserts text from the clipboard.  Having both Ctrl-Y and not Ctrl-K is very confusing to me  and probably other Emacs users. 

Dan Dromereschi

unread,
Feb 8, 2008, 10:43:52 AM2/8/08
to ijytho...@googlegroups.com
Mike,

I think we agree about the ctrl+k request, so we have already fixed that. The ENTER in completion popup also works if you get the latest version from the svn.

Regards,

Dan
Reply all
Reply to author
Forward
0 new messages