[issue7898] rlcompleter add "real tab" when text is empty feature

2013-03-18 Thread R. David Murray
R. David Murray added the comment: Thomas's analysis is that in order to make this work, changes would be required in libreadline. That being the case, and given that changing this without being able to special case tab would break things for people using other complete characters, I'm going

[issue7898] rlcompleter add "real tab" when text is empty feature

2013-03-18 Thread Thomas Fenzl
Thomas Fenzl added the comment: It's not (easily) possible to get the invoked character that caused the completion function. Multiple keys can be bound to complete and the bindable function rl_complete provided in libreadline does not forward the invoking key to rl_complete_internal, through

[issue7898] rlcompleter add "real tab" when text is empty feature

2010-06-06 Thread lesmana
Changes by lesmana : -- nosy: +lesmana ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma

[issue7898] rlcompleter add "real tab" when text is empty feature

2010-02-19 Thread zhou wei
zhou wei added the comment: Pitrou, I think you are right on "On the other hand, it will appear quite bizarre to people who have another, dedicated key for auto-completion." If I assign another key for auto-completion, the behavior becomes really strange. It happens in ipython too. But I g

[issue7898] rlcompleter add "real tab" when text is empty feature

2010-02-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: On the one hand, it makes sense for the common case of completing using the Tab key. On the other hand, it will appear quite bizarre to people who have another, dedicated key for auto-completion. By the way, rather than inserting a tab character, it should pr

[issue7898] rlcompleter add "real tab" when text is empty feature

2010-02-10 Thread zhou wei
New submission from zhou wei : When I use rlcompleter in interactive Python mode, I think it will be more convenient if autocomplete produce a real tab when text-to-autocomplete is empty. For example: >>> def test(): ... will give: Display all 182 possibilities? (y or n) instead of a real tab