magnars/expand-region.el — pull request #40 by jpkotta (2012-07-10 16:35:44+00:00)
Title: add er/expand-isearch-string

This is more of an RFC than a real pull request.

This adds a command to set the isearch string in the same way expand-region sets the region. Try it out with (define-key isearch-mode-map (kbd "") 'er/expand-isearch-string). It might make sense to have a separate er/try-expand-list.

Anyway, I broke a bunch of tests and I can't figure how why. When I try things out in a buffer interactively (with emacs -q), it works fine, so something must not be getting set up correctly in the tests. I'm not at all familiar with ecukes; I can't figure out what's different between the interactive and automated tests.