diff options
| author | Jambunathan K | 2013-02-16 01:09:50 +0530 |
|---|---|---|
| committer | Jambunathan K | 2013-02-16 01:09:50 +0530 |
| commit | 8d9f189f40bc121dc95968df1170a1967f3f676d (patch) | |
| tree | b35ded2e6368b8e393dfd88dfa03fdfc628d0c0d | |
| parent | b2af991a2ff353b27fd6f72785e0081a742fd88a (diff) | |
| parent | d7e76a89295826932706081531dde1ab43110329 (diff) | |
| download | emacs-8d9f189f40bc121dc95968df1170a1967f3f676d.tar.gz emacs-8d9f189f40bc121dc95968df1170a1967f3f676d.zip | |
ido, iswitchb, icomplete: Use `C-.' and `C-,' for cycling (Bug#13708)
* lisp/icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
Bind `C-.' and `C-,' to `icomplete-forward-completions' and
`icomplete-backward-completions'.
* lisp/ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
`ido-next-match' and `ido-prev-match' resply.
* lisp/iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
`iswitchb-next-match' and `iswitchb-prev-match' resply.
| -rw-r--r-- | lisp/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/icomplete.el | 4 | ||||
| -rw-r--r-- | lisp/ido.el | 2 | ||||
| -rw-r--r-- | lisp/iswitchb.el | 2 |
4 files changed, 18 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9cc086ffe6e..920c953abce 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2013-02-15 Jambunathan K <kjambunathan@gmail.com> | ||
| 2 | |||
| 3 | * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to | ||
| 4 | `iswitchb-next-match' and `iswitchb-prev-match' resply. | ||
| 5 | |||
| 6 | * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to | ||
| 7 | `ido-next-match' and `ido-prev-match' resply. | ||
| 8 | |||
| 9 | * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'. | ||
| 10 | Bind `C-.' and `C-,' to `icomplete-forward-completions' and | ||
| 11 | `icomplete-backward-completions' (Bug#13708). | ||
| 12 | |||
| 1 | 2013-02-15 Michael Albinus <michael.albinus@gmx.de> | 13 | 2013-02-15 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 14 | ||
| 3 | * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. | 15 | * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. |
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 1f9b4a3afe6..73049df097d 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el | |||
| @@ -168,8 +168,8 @@ except those on this list.") | |||
| 168 | (let ((map (make-sparse-keymap))) | 168 | (let ((map (make-sparse-keymap))) |
| 169 | (define-key map [?\M-\t] 'minibuffer-force-complete) | 169 | (define-key map [?\M-\t] 'minibuffer-force-complete) |
| 170 | (define-key map [?\C-j] 'minibuffer-force-complete-and-exit) | 170 | (define-key map [?\C-j] 'minibuffer-force-complete-and-exit) |
| 171 | (define-key map [?\C-s] 'icomplete-forward-completions) | 171 | (define-key map [?\C-.] 'icomplete-forward-completions) |
| 172 | (define-key map [?\C-r] 'icomplete-backward-completions) | 172 | (define-key map [?\C-,] 'icomplete-backward-completions) |
| 173 | map)) | 173 | map)) |
| 174 | 174 | ||
| 175 | (defun icomplete-forward-completions () | 175 | (defun icomplete-forward-completions () |
diff --git a/lisp/ido.el b/lisp/ido.el index 008561aa268..066d8276af5 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -1585,6 +1585,8 @@ This function also adds a hook to the minibuffer." | |||
| 1585 | (define-key map "\C-p" 'ido-toggle-prefix) | 1585 | (define-key map "\C-p" 'ido-toggle-prefix) |
| 1586 | (define-key map "\C-r" 'ido-prev-match) | 1586 | (define-key map "\C-r" 'ido-prev-match) |
| 1587 | (define-key map "\C-s" 'ido-next-match) | 1587 | (define-key map "\C-s" 'ido-next-match) |
| 1588 | (define-key map [?\C-.] 'ido-next-match) | ||
| 1589 | (define-key map [?\C-,] 'ido-prev-match) | ||
| 1588 | (define-key map "\C-t" 'ido-toggle-regexp) | 1590 | (define-key map "\C-t" 'ido-toggle-regexp) |
| 1589 | (define-key map "\C-z" 'ido-undo-merge-work-directory) | 1591 | (define-key map "\C-z" 'ido-undo-merge-work-directory) |
| 1590 | (define-key map [(control ?\s)] 'ido-restrict-to-matches) | 1592 | (define-key map [(control ?\s)] 'ido-restrict-to-matches) |
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el index 93d589c7706..68749f1b012 100644 --- a/lisp/iswitchb.el +++ b/lisp/iswitchb.el | |||
| @@ -471,6 +471,8 @@ interfere with other minibuffer usage.") | |||
| 471 | (define-key map "?" 'iswitchb-completion-help) | 471 | (define-key map "?" 'iswitchb-completion-help) |
| 472 | (define-key map "\C-s" 'iswitchb-next-match) | 472 | (define-key map "\C-s" 'iswitchb-next-match) |
| 473 | (define-key map "\C-r" 'iswitchb-prev-match) | 473 | (define-key map "\C-r" 'iswitchb-prev-match) |
| 474 | (define-key map [?\C-.] 'iswitchb-next-match) | ||
| 475 | (define-key map [?\C-,] 'iswitchb-prev-match) | ||
| 474 | (define-key map "\t" 'iswitchb-complete) | 476 | (define-key map "\t" 'iswitchb-complete) |
| 475 | (define-key map "\C-j" 'iswitchb-select-buffer-text) | 477 | (define-key map "\C-j" 'iswitchb-select-buffer-text) |
| 476 | (define-key map "\C-t" 'iswitchb-toggle-regexp) | 478 | (define-key map "\C-t" 'iswitchb-toggle-regexp) |