Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isearch-electric option #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

isearch-electric option #89

wants to merge 1 commit into from

Conversation

c41x
Copy link

@c41x c41x commented Apr 3, 2015

With this option isearch item is automatically selected (without accepting via. enter/tab) when there are only one item on isearch filtered list.

I've tried to do this by isearch-callback / key-maps but it can't be done that way...

Copy link
Member

@jcs090218 jcs090218 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review phase 1.

@@ -934,7 +934,8 @@ Pages up through POPUP."
(cursor-color popup-isearch-cursor-color)
(keymap popup-isearch-keymap)
callback
help-delay)
help-delay
isearch-electric)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix the indentation here? Probably should use spaces instead of tabs. Thanks!

@@ -1180,6 +1186,7 @@ PROMPT is a prompt string when reading events during event loop."
isearch-cursor-color
isearch-keymap
isearch-callback
isearch-electric
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here too! Tabs to spaces! Thanks! ;)

@@ -1188,8 +1195,11 @@ PROMPT is a prompt string when reading events during event loop."
:cursor-color isearch-cursor-color
:keymap isearch-keymap
:callback isearch-callback
:help-delay help-delay)
:help-delay help-delay
:isearch-electric isearch-electric)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here!

@@ -1241,7 +1251,8 @@ PROMPT is a prompt string when reading events during event loop."
:cursor-color isearch-cursor-color
:keymap isearch-keymap
:callback isearch-callback
:help-delay help-delay))
:help-delay help-delay
:isearch-electric isearch-electric))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here!

@@ -1309,13 +1320,14 @@ PROMPT is a prompt string when reading events during event loop."
(isearch-cursor-color popup-isearch-cursor-color)
(isearch-keymap popup-isearch-keymap)
isearch-callback
isearch-electric
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here!

@@ -1385,7 +1400,8 @@ If `INITIAL-INDEX' is non-nil, this is an initial index value for
:isearch isearch
:isearch-cursor-color isearch-cursor-color
:isearch-keymap isearch-keymap
:isearch-callback isearch-callback)))
:isearch-callback isearch-callback
:isearch-electric isearch-electric)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants