tam17aki / ace-isearch

A seamless bridge between isearch, ace-jump-mode, avy, and helm-swoop.
103 stars 10 forks source link

Search for character outside of current visible window #1

Closed tuhdo closed 10 years ago

tuhdo commented 10 years ago

ace-jump-mode only scans what's visible in visible windows. If we want to search for a unique character outside of visible windows, it should use Isearch. The package should check that if ace-jump-mode returns no result, then old Isearch should automatically kick in.

tam17aki commented 10 years ago

Thank you for comment.

I'm sorry I can't understand the situation that "you want to search for a unique character outside of visible windows". The one of the main objectives of this package is to support cursor movement in 'visible window'.

I will consider what you mean.

tuhdo commented 10 years ago

Well I posted it on reddit and one user raised a concern about this case.

tam17aki commented 10 years ago

Thank you, I will check it later.

tam17aki commented 10 years ago

Hi,

I tried to implement the fallback functionality when isearch failed. https://github.com/tam17aki/ace-isearch/blob/master/ace-isearch.el

You can use this with following setting.

(setq ace-isearch-use-function-from-isearch t)
(setq ace-isearch-fallback-function 'helm-swoop-from-isearch)

In the above case, helm-swoop-from-isearch will be invoked when isearch falied. I hope this is OK...

tuhdo commented 10 years ago

Fixed. Thanks.