From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: binding ibuffer to C-x C-b by default Date: Sat, 09 Oct 2010 10:51:44 -0400 Message-ID: References: <8F022F3B2C5D4C2AB8A90CBDD7660FF1@us.oracle.com> <878w29a5ns.fsf@catnip.gol.com> <87zkup8qaw.fsf@catnip.gol.com> <87ocb46mkb.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1286635920 30447 80.91.229.12 (9 Oct 2010 14:52:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Oct 2010 14:52:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 09 16:51:59 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P4amE-0000SK-TF for ged-emacs-devel@m.gmane.org; Sat, 09 Oct 2010 16:51:59 +0200 Original-Received: from localhost ([127.0.0.1]:38539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4amD-00061y-Tl for ged-emacs-devel@m.gmane.org; Sat, 09 Oct 2010 10:51:57 -0400 Original-Received: from [140.186.70.92] (port=59898 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4am6-00061t-8U for emacs-devel@gnu.org; Sat, 09 Oct 2010 10:51:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4am1-000698-24 for emacs-devel@gnu.org; Sat, 09 Oct 2010 10:51:50 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:57368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4am0-000694-UQ for emacs-devel@gnu.org; Sat, 09 Oct 2010 10:51:45 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P4am0-0004Tl-4M; Sat, 09 Oct 2010 10:51:44 -0400 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <87ocb46mkb.fsf@stupidchicken.com> (Chong Yidong's message of "Sat\, 09 Oct 2010 00\:02\:12 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131532 Archived-At: Chong Yidong writes: > Lars Magne Ingebrigtsen writes: > >> After playing with it a few more seconds, I discovered (to my horror!) >> that it binds and to something totally odd that makes >> point jump to the start of the buffer. >> >> That's even more annoying. I hate having my cursor keys rebound to >> surprising actions. > > Yeah, this is pretty unacceptable. For one thing, users might want to > copy the text in the buffer. This can be fixed by using TAB/S-TAB for navigation to filter groups as proposed elsewhere in this thread. === modified file 'lisp/ibuffer.el' --- lisp/ibuffer.el 2010-09-25 21:42:48 +0000 +++ lisp/ibuffer.el 2010-10-09 14:48:04 +0000 @@ -477,9 +477,9 @@ directory, like `default-directory'." (define-key map (kbd "/ /") 'ibuffer-filter-disable) (define-key map (kbd "M-n") 'ibuffer-forward-filter-group) - (define-key map (kbd "") 'ibuffer-forward-filter-group) + (define-key map "\t" 'ibuffer-forward-filter-group) (define-key map (kbd "M-p") 'ibuffer-backward-filter-group) - (define-key map (kbd "") 'ibuffer-backward-filter-group) + (define-key map [backtab] 'ibuffer-backward-filter-group) (define-key map (kbd "M-j") 'ibuffer-jump-to-filter-group) (define-key map (kbd "C-k") 'ibuffer-kill-line) (define-key map (kbd "C-y") 'ibuffer-yank) How about the main topic here: binding C-x C-b to ibuffer by default?