[issue8492] Addition to readline module to get dictionary of keystrokes and commands

2012-10-11 Thread anand jeyahar

Changes by anand jeyahar anand.jeya...@gmail.com:


--
nosy: +anand.jeyahar

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8492
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8492] Addition to readline module to get dictionary of keystrokes and commands

2012-10-11 Thread Andrew Svetlov

Changes by Andrew Svetlov andrew.svet...@gmail.com:


--
nosy: +asvetlov

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8492
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8492] Addition to readline module to get dictionary of keystrokes and commands

2012-10-11 Thread anand jeyahar

anand jeyahar added the comment:

Here's what the original maintainer chet romney had to say about this 
functionality not being a part of readline, and should be implemented by the 
calling application. From Chet Ramey:
--
The answer is that this is very similar to the operate-and-get-next
feature bash adds to the readline interface. I am not inclined to add this to
readline in its current form because it manipulates state managed by
the calling application (rl_startup_hook) and requires that state to be
kept between calls to readline(). It's a feature that should be provided
by the calling application -- it's implementation is not complicated.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8492
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8492] Addition to readline module to get dictionary of keystrokes and commands

2012-10-05 Thread Steven D'Aprano

Steven D'Aprano added the comment:

A question came up on Python-ideas about readline apparently missing a standard 
function. See:

http://mail.python.org/pipermail/python-ideas/2012-October/016329.html

For debugging issues with readline, it would be be very useful to be able to 
query the current set of bindings. This would also help people avoid 
accidentally over-writing existing bindings.

I suggest emulating the three bash commands:

bind -p  # List functions and bindings in a form that can be reused as input.
bind -v  # As above for variable names and values.
bind -s  # As above for macros and values.

--
nosy: +stevenjd
versions: +Python 3.4 -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8492
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8492] Addition to readline module to get dictionary of keystrokes and commands

2010-07-11 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
versions:  -Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8492
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8492] Addition to readline module to get dictionary of keystrokes and commands

2010-04-21 Thread Mitchell Model

New submission from Mitchell Model m...@acm.org:

Requesting a function to be added to the readline module that produces a 
dictionary of the current keystroke bindings Also, one to write it to a file in 
readline init file format. This would be a big help for people interested in 
customizing the behavior of readline inside Python.

--
components: Library (Lib)
messages: 103905
nosy: MLModel
severity: normal
status: open
title: Addition to readline module to get dictionary of keystrokes and commands
type: feature request
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8492
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8492] Addition to readline module to get dictionary of keystrokes and commands

2010-04-21 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +merwok
versions:  -Python 2.6, Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8492
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com