ipython/ipython — pull request #2393 by tkf (2012-09-07 17:25:12+00:00)
Title: [WIP] New option `n` to limit history search hits

To make `n` to get the new histories, not oldest ones, the default behavior is changed. Now the order of the result returned by history search is reversed.

I can add another boolean option `desc` to control this behavior but I rather avoid introducing a change in the messaging protocol. Seeing recent result makes sense most of the time, right? But if keeping the current result makes sense, I will add the new option.

I will next make this option available for the kernel messaging protocol.