unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13708: 24.3.50; icomplete, ido, iswitchb: Replace C-s, C-r with C-. and C-,
@ 2013-02-13 14:34 Jambunathan K
  2013-02-13 16:52 ` Dmitry Gutov
  2013-02-14 13:50 ` Stefan Monnier
  0 siblings, 2 replies; 10+ messages in thread
From: Jambunathan K @ 2013-02-13 14:34 UTC (permalink / raw)
  To: 13708

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]


This bug superseds 
        http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13602

There seems to be a general agreement that C-s and C-r are too useful to
be superseded by icomplete, ido and iswitchb(?).

I am proposing C-, and C-. as useful defaults.

For fear of resentment, I am leaving C-s and C-r bindings intact.
Reviewer may delete them at his own discretion.


[-- Attachment #2: candidates-cycling.patch --]
[-- Type: text/plain, Size: 1835 bytes --]

=== modified file 'lisp/icomplete.el'
--- lisp/icomplete.el	2013-02-08 07:53:55 +0000
+++ lisp/icomplete.el	2013-02-13 14:24:14 +0000
@@ -156,8 +156,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 ()

=== modified file 'lisp/ido.el'
--- lisp/ido.el	2013-01-02 16:13:04 +0000
+++ lisp/ido.el	2013-02-13 14:07:22 +0000
@@ -1585,6 +1585,8 @@ This function also adds a hook to the mi
     (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)

=== modified file 'lisp/iswitchb.el'
--- lisp/iswitchb.el	2013-01-01 09:11:05 +0000
+++ lisp/iswitchb.el	2013-02-13 14:07:06 +0000
@@ -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)


[-- Attachment #3: Type: text/plain, Size: 313 bytes --]



In GNU Emacs 24.3.50.17 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2013-02-13 on debian-6.05
Bzr revision: 111769 monnier@iro.umontreal.ca-20130213134000-ic1ever0864xkzoo
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:	Debian GNU/Linux 6.0.5 (squeeze)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-02-15 23:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-13 14:34 bug#13708: 24.3.50; icomplete, ido, iswitchb: Replace C-s, C-r with C-. and C-, Jambunathan K
2013-02-13 16:52 ` Dmitry Gutov
2013-02-14  4:54   ` Jambunathan K
2013-02-14  5:12     ` Dmitry Gutov
2013-02-14  5:56       ` Leo Liu
2013-02-14  9:19       ` Juri Linkov
2013-02-14 13:52         ` Stefan Monnier
2013-02-14 13:50 ` Stefan Monnier
2013-02-15 20:09   ` Jambunathan K
2013-02-15 23:40     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).