[IPython-user] New pyreadline breaks autoindent
Jörgen Stenarson
jorgen.stenarson@bostream...
Sun May 20 12:16:33 CDT 2007
Jerry McRae skrev:
> sorry for the delayed response. I wanted to make sure I did some
> testing. comments below
No problem
>
> On 5/14/07, *Jörgen Stenarson jorgen.stenarson-at-bostream.nu
> <http://jorgen.stenarson-at-bostream.nu> |Python projects/jml|* <...
> <mailto:...>> wrote:
>
> Jerry McRae skrev:
> > I get the same results in WinXP. In addition, with pyreadline 1.4.3,
> > the PgUp and PgDn keys no longer work [to move through your
> output buffer]
> Fixed in svn
>
>
> confirmed . BTW, do you know how I can change it to go a FULL page up
> with the PgUp? It is REALLY annoying to have the PgUp key move at only
> 1/4 page at a time.
At the moment this is hardcoded and located in a rather inconvenient
place, I will try to fix this but it will probably be a few weeks before
I have the time. Do you want to scroll a fixed number of lines or a full
window?
>
> >
> > Another "bug" is the the ^k "kill-line" command copies into the
> > ClipBoard (bad) in addition to clearing to EOL (good). I do NOT
> want my
> > clipboad updated unless I ask for it. My clipboard monitor
> records all
> > cut or copy operations.
> The reason for this behaviour was I wanted to be able to yank after a
> kill. This was the easiest way to implement that. However I can see
> that it is not ideal behaviour so I have started to create a separate
> kill-ring, which at this time will only hold a single kill.
>
> So I think this issue is also fixed in svn now (if you update make sure
> your pyreadlineconfig binds ctrl-y to yank and not paste if you want to
> be able to yank after a kill)
>
>
> ^k works great. ESC works much better now!
>
> Anyone else have an opinion on how the kill ring should be implemented
> in relation to clipboard?
>
>
> I don't know what the terms "yank" and "kill-ring" meant, or how I would
> use them, sorry.
This is a gnu-readline thing, I'm not that sure my self...
>
> <snip>
>
>
> One [possibly] new bug: The feature that updates the window's caption
> it great! However, on Windows, if I am in a folder that contains
> directory names with spaces in them (like "Richard Thompson - [1991]
> Rumor and Sigh"), then pressing the TAB changes all the spaces to
> backslash-space, INSTEAD of surrounding with quotes. (this is as it
> was), HOWEVER, if I accidentally hit <enter> instead of <esc>, it
> displays a couple errors, then EVERY TIME I use the CD command after
> this I get the error:
>
> UnboundLocalError: local variable 'ret' referenced before assignment
>
> at line 33 in platutils_win32.py
I don't remember where this is implemented, is it in ipython or
pyreadline? I will have to look into this later the coming week, I don't
have a windows box available today.
/Jörgen
More information about the IPython-user
mailing list