ipython/ipython — Issue #1243: magic commands without % are not comleted properly in htmlnotebook
Author: v923z
Created: 2012-01-06 22:10:53+00:00
State: open

The tab completion in certain cases produces quite unexpected results. If I open a notebook without anything, and try to
load pylab via the magic machinery, then I get the following:

In [] : %pyl + TAB -> %pylab

In []: pyl + TAB -> pyllab

In []: pyla + TAB -> pylaab

Similarly,

In []: mag + TAB -> maggic
In []: %mag + TAB -> %magic

So, when I drop the % sign, the command is expanded incorrectly. This issue was first raised in the mailing list.