Skip to main content
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
Results tagged with
Search options answers only not deleted user 2370

is the incremental search facility that highlights matching text as characters are typed. isearch-forward and isearch-backward support searching characters, strings, and regexp.

1 vote

Why after search-toggle-case-fold text is select?

isearch-highlight is called in isearch-update which is called in isearch-toggle-case-fold generated by isearch-define-mode-toggle. … A conceptual fix would be: (defun isearch-update-only-in-isearch-mode (fun &rest args) (when isearch-mode (apply fun args))) (advice-add 'isearch-update :around #'isearch-update-only-in-isearch-mode …
Tobias's user avatar
  • 33.7k
1 vote

bind german mutated vowel keys to functions

isearch-forward is bound to C-s. Why on earth would you bind it to C-ö? EDIT: See Carsten D's interesting answer to this question in the comments. … The binding would be: (global-set-key (kbd "C-ö") #'isearch-forward) I keep the following info for others who stumple over this answer: If you consider binding C-s to save-buffer to get closer to …
Tobias's user avatar
  • 33.7k
1 vote

How to chain isearch-forward-symbol-at-point and query-replace-regexp into a single keybinding?

You should/cannot use the interactive commands isearch-forward-symbol-at-point and query-replace-regexp in that way to define a new function. … For an instance isearch-forward-symbol-at-point does not return the symbol at point and query-replace-regexp requires a TO argument if called non-interactively. …
Tobias's user avatar
  • 33.7k
3 votes

How can I search for bolded text?

(remove-function (local 'isearch-filter-predicate) isearch-face-bold-p-fun) (remove-hook 'isearch-mode-end-hook #'isearch-bold-forward-end-fun)) (defun isearch-bold-forward () "Like `isearch-forward … (interactive) (add-function :after-while (local 'isearch-filter-predicate) isearch-face-bold-p-fun) (add-hook 'isearch-mode-end-hook #'isearch-bold-forward-end-fun) (call-interactively #'isearch-forward …
Tobias's user avatar
  • 33.7k
1 vote

isearch-forward, call-interactively, and isearch-filter-predicate

In the second form (let ((isearch-filter-predicate (lambda (a b) nil))) (call-interactively 'isearch-forward)) you start the isearch with the interactive call of isearch-forward. … The command isearch-forward just starts isearch-mode and exits. The control flow is not within the isearch-forward function form while the incremental search is running. …
Tobias's user avatar
  • 33.7k