Fix bug#13708
authorJambunathan K <kjambunathan@gmail.com>
Fri, 15 Feb 2013 19:19:29 +0000 (00:49 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Fri, 15 Feb 2013 19:19:29 +0000 (00:49 +0530)
* 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.

lisp/ChangeLog
lisp/icomplete.el
lisp/ido.el
lisp/iswitchb.el

index 9cc086f..920c953 100644 (file)
@@ -1,3 +1,15 @@
+2013-02-15  Jambunathan K  <kjambunathan@gmail.com>
+
+       * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
+       `iswitchb-next-match' and `iswitchb-prev-match' resply.
+
+       * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
+       `ido-next-match' and `ido-prev-match' resply.
+
+       * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
+       Bind `C-.' and `C-,' to `icomplete-forward-completions' and
+       `icomplete-backward-completions' (Bug#13708).
+
 2013-02-15  Michael Albinus  <michael.albinus@gmx.de>
 
        * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
index 1f9b4a3..73049df 100644 (file)
@@ -168,8 +168,8 @@ except those on this list.")
   (let ((map (make-sparse-keymap)))
     (define-key map [?\M-\t] 'minibuffer-force-complete)
     (define-key map [?\C-j]  'minibuffer-force-complete-and-exit)
-    (define-key map [?\C-s]  'icomplete-forward-completions)
-    (define-key map [?\C-r]  'icomplete-backward-completions)
+    (define-key map [?\C-.]  'icomplete-forward-completions)
+    (define-key map [?\C-,]  'icomplete-backward-completions)
     map))
 
 (defun icomplete-forward-completions ()
index 008561a..066d827 100644 (file)
@@ -1585,6 +1585,8 @@ This function also adds a hook to the minibuffer."
     (define-key map "\C-p" 'ido-toggle-prefix)
     (define-key map "\C-r" 'ido-prev-match)
     (define-key map "\C-s" 'ido-next-match)
+    (define-key map [?\C-.] 'ido-next-match)
+    (define-key map [?\C-,] 'ido-prev-match)
     (define-key map "\C-t" 'ido-toggle-regexp)
     (define-key map "\C-z" 'ido-undo-merge-work-directory)
     (define-key map [(control ?\s)] 'ido-restrict-to-matches)
index 93d589c..68749f1 100644 (file)
@@ -471,6 +471,8 @@ interfere with other minibuffer usage.")
     (define-key map "?" 'iswitchb-completion-help)
     (define-key map "\C-s" 'iswitchb-next-match)
     (define-key map "\C-r" 'iswitchb-prev-match)
+    (define-key map [?\C-.] 'iswitchb-next-match)
+    (define-key map [?\C-,] 'iswitchb-prev-match)
     (define-key map "\t" 'iswitchb-complete)
     (define-key map "\C-j" 'iswitchb-select-buffer-text)
     (define-key map "\C-t" 'iswitchb-toggle-regexp)