Fix bug reported by Michael Graz

This commit is contained in:
jstenar
2007-07-19 17:01:31 +00:00
parent bb7e925eef
commit cc35a871d7
4 changed files with 10 additions and 2 deletions
+5
View File
@@ -1,3 +1,8 @@
2007-07-19 Jörgen Stenarson <jorgen.stenarson -at- bostream.nu>
* Fix bug that made copying fail in some cases
* Fix bug in parse_and_bind, reported by Michael Graz.
* Change version string to 1.5.svn
2007-05-29 Jörgen Stenarson <jorgen.stenarson -at- bostream.nu>
* Increasing version number to 1.4.4
* Fixing typo in changelog
+2
View File
@@ -44,6 +44,8 @@ class EmacsMode(basemode.BaseMode):
pass
while 1:
self._update_line()
lbuf=self.l_buffer
log_sock("point:%s mark:%s selection_mark:%s"%(lbuf.point,lbuf.mark,lbuf.selection_mark))
try:
event = c.getkeypress()
except KeyboardInterrupt:
+1 -1
View File
@@ -22,7 +22,7 @@ name = 'pyreadline'
branch = ''
version = '1.4.4'
version = '1.5.svn'
revision = '$Revision$'
+2 -1
View File
@@ -133,7 +133,8 @@ class Readline(object):
func = getattr(self.mode, py_name)
except AttributeError:
log('unknown func key="%s" func="%s"' % (key, func_name))
print 'unknown function to bind: "%s"' % func_name
print 'pyeadline parse_and_bind error, unknown function to bind: "%s"' % func_name
return
self.mode._bind_key(key, func)
except:
log('error')