Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
is the incremental search facility that highlights matching text as characters are typed. isearch-forward and isearch-backward support searching characters, strings, and regexp.
8
votes
How can I match "snake_case" automatically when I search for "snake-case" by mistake?
To my mind kaushalmodi's recommendation of M-e is the best answer -- making it easy to correct the problem seems preferable to trying to make isearch read your mind. … Note that isearch is smart enough to take note of the first character where the search failed, and M-e places the cursor at that position automatically so, even when you've continued to type subsequent …
2
votes
ISearch - Paste - text in mini buffer is not same
isearch is case-insensitive by default, and this behaviour is connected to that. … See:
C-hig (emacs)Isearch Yank
C-hig (emacs)Lax Search
M-x customize-option RET search-upper-case …
2
votes
Accepted
Why text yanked into the Isearch search string is always in lower case?
This is just an isearch feature.
See C-hv search-upper-case
C-s , then paste text in minibuffer.
For clarity (maybe), in your example you're not pasting anything into the minibuffer. … So this feature of isearch doesn't actually affect the minibuffer at all. …
2
votes
Accepted
How to check from elisp if isearch is in progress?
The buffer-local variable isearch-mode is non-nil while an isearch is in process in a given buffer, and set to nil again by isearch-done, so simply checking that variable in the selected window's buffer … You could also use isearch-mode-hook and isearch-mode-end-hook to track the state, but I suspect that's unnecessary. …
2
votes
Accepted
Repeat last isearch with all parameters
The NEWS item is:
*** Isearch now remembers the regexp-based search mode for words/symbols
and case-sensitivity together with search strings in the search ring. … If you then exit the isearch with RET (and/or any other editing) and then use C-sC-s to repeat the previous search, it will again match only the two instances of the word is. …
2
votes
Search and Mark
If the use-case is to edit the text you've searched for, then maybe you don't need to worry about marking it at all.
M-% (whilst isearching) starts an interactive search and replace for the search st …
1
vote
Accepted
How to jump to backward found word when switched into reverse incremental search?
C-hig (emacs)Basic Isearch says:
A backward search finds matches that end before the starting point,
just as a forward search finds matches that begin after it. … (unless (eq isearch-forward (eq direction 'forward))
(when isearch-other-end
(goto-char isearch-other-end)))) …
2
votes
Accepted
isearch-forward-regex does not find a regex found by re-builder
If I copy this exact same string and invoke isearch-forward-regexp Emacs does not find the dates.
What do you mean by that?
Isearch doesn't automatically search for the last string you copied. … Rather than doing this: C-M-sC-y (which results in the pasted text being passed through regexp-quote)
Instead, do this: C-M-sM-eC-yRET
I.e.: Call isearch-edit-string to edit the search pattern in the minibuffer …
1
vote
Accepted
Return a list of functions with a given property or creating a group of functions
A group of anything is usually going to be a list, and I can't imagine wanting anything different here.
A list of functions to be called is typically a "hook" in Emacs. A hook is still just a list (p …