diff options
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index dd56ceee..9c75eaee 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1211,19 +1211,19 @@ To be used only when it seems to be necessary." 'category) 'file)) -;; Most common actions are to select the top completion in the way that -;; `icomplete-fido-ret' does, and to exit with the current input. So these -;; two get single keypresses, TAB and RET. We tweak the former such that RET -;; is required to exit with input which has no matches. This helps avoid -;; creating bogus buffers, file-visiting or otherwise, when I mistype. -;; -;; Choose RET for exiting with current input because then RET behaves the -;; same in `read-string' and `completing-read'. This makes completion less -;; obtrusive given how some commands provide completion even when they are -;; mostly used to enter arbitrary strings (e.g. `notmuch-search'). -;; -;; Don't resettle the previous occupant of <TAB>, `minibuffer-complete', -;; because an `icomplete-mode' user hardly uses it. +;;; Most common actions are to select the top completion in the way that +;;; `icomplete-fido-ret' does, and to exit with the current input. So these +;;; two get single keypresses, TAB and RET. We tweak the former such that RET +;;; is required to exit with input which has no matches. This helps avoid +;;; creating bogus buffers, file-visiting or otherwise, when I mistype. +;;; +;;; Choose RET for exiting with current input because then RET behaves the +;;; same in `read-string' and `completing-read'. This makes completion less +;;; obtrusive given how some commands provide completion even when they are +;;; mostly used to enter arbitrary strings (e.g. `notmuch-search'). +;;; +;;; Don't resettle the previous occupant of <TAB>, `minibuffer-complete', +;;; because an `icomplete-mode' user hardly uses it. ;; This is something like a reimplementation of `icomplete-fido-ret'. (defun spw/icomplete-tab () |