Juri Linkov writes: > 2. Add a new defcustom like: > (defcustom minibuffer-defaults '((highlight-regexp-default . tag-at-point) > (rgrep . history) > (occur . tag-at-point) > (how-many . history) > ...)) > Cons: Too large list of commands for one option. I am attaching a patch that handles `occur'. I will commit this patch tomorrow. ps: I have never used how-many. The defaults for grep and rgrep never bothered me. So I leave these two commands out of my current scope.