From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Spiro Newsgroups: gmane.emacs.devel Subject: Re: Binding F11 and F12 to buffer-switching and file-saving by default Date: Tue, 30 Jan 2007 05:52:36 -0500 Message-ID: <8764ao3hxn.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> References: <87veio3npx.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170155213 6934 80.91.229.12 (30 Jan 2007 11:06:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 11:06:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 30 12:06:50 2007 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.50) id 1HBqiE-0003h7-7i for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 11:59:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBqiD-0007iR-QE for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 05:59:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HBqi1-0007iM-De for emacs-devel@gnu.org; Tue, 30 Jan 2007 05:59:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HBqhz-0007iA-OQ for emacs-devel@gnu.org; Tue, 30 Jan 2007 05:59:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBqhz-0007i7-Ih for emacs-devel@gnu.org; Tue, 30 Jan 2007 05:59:27 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HBqhy-00026G-Kd for emacs-devel@gnu.org; Tue, 30 Jan 2007 05:59:27 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HBqhs-0007XJ-7e for emacs-devel@gnu.org; Tue, 30 Jan 2007 11:59:20 +0100 Original-Received: from cpe0004e2d9f884-cm0013718690da.cpe.net.cable.rogers.com ([74.102.92.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Jan 2007 11:59:20 +0100 Original-Received: from jasonspiro4+news by cpe0004e2d9f884-cm0013718690da.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Jan 2007 11:59:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpe0004e2d9f884-cm0013718690da.cpe.net.cable.rogers.com User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Wu4CpO6Hy5U9sjT8VJ8Zx5IXoXc= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:65627 Archived-At: Hi Juanma, You make many good points. However, I have replies to each of them. :-) "Juanma Barranquero" wrote: > You'd have to define "practical" I define it as "the benefits to new Emacs users with no .emacs file outweigh the costs." IMO, it is important that new users enjoy Emacs as soon as possible. If they enjoy it, they will continue using it forever. > Not all keyboards have F11 and F12 That's OK. People without those keys can use C-x C-s and C-x b. > I don't think there's much agreement about the best way to switch > buffers (I don't use iswitchb-buffer, for example, but bs-cycle-next, > so your proposed binding is of no use to me) We should pick one method. People who don't like it can rebind the key. > next-buffer and previous-buffer are already in C-x iswitchb-buffer is not bound to anything :-) > save-buffer is in C-x C-s On second thought, C-x C-s isn't that hard to type. OK, so let's bind M-x recompile to F11 instead? Buffer switching can be bound to F12. > Whether a command is used/useful enough to merit a one-key binding > is highly subjective (I don't use save-buffer often enough to consider > C-x C-s a burden, for example) Agreed. > It's easy for users to do their own bindings True, but it can be handy to have useful bindings preset by default. So, do the benefits to newbies outweigh the costs? --Jason