]> code.delx.au - gnu-emacs/commitdiff
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 9cc086ffe6ea5cbe88a3d9a030f987e1aee2ecd0..920c953abce083484b89ca621b5f11d47663addf 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 1f9b4a3afe644ff904b42ef2672063ba98cf08e5..73049df097db65993f4692d3759496a551907df2 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 008561aa268a84a85b53ff0701aaf37c76f8d150..066d8276af5c9582174e769e2071d9547798f331 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 93d589c7706cc124d09d25ef0d3f29d27c01a64b..68749f1b012d12edc614e4930ed68ff9b32471f1 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)