From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Binding F11 and F12 to buffer-switching and file-saving by default Date: Tue, 30 Jan 2007 10:09:02 -0500 Message-ID: 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 1170171132 32649 80.91.229.12 (30 Jan 2007 15:32:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 15:32:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jason Spiro Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 30 16:32:01 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 1HBubq-0005Fr-K4 for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 16:09:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBubq-0002aA-3W for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 10:09:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HBube-0002WB-DI for emacs-devel@gnu.org; Tue, 30 Jan 2007 10:09:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HBubb-0002Rc-Qs for emacs-devel@gnu.org; Tue, 30 Jan 2007 10:09:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBubb-0002RJ-MH for emacs-devel@gnu.org; Tue, 30 Jan 2007 10:09:07 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HBubb-0003OJ-AH for emacs-devel@gnu.org; Tue, 30 Jan 2007 10:09:07 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 2A09C2CF17A; Tue, 30 Jan 2007 10:09:07 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id C5DE43FE0; Tue, 30 Jan 2007 10:09:02 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 9A5F34C6D25; Tue, 30 Jan 2007 10:09:02 -0500 (EST) In-Reply-To: <87veio3npx.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> (Jason Spiro's message of "Tue\, 30 Jan 2007 03\:47\:38 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: 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:65639 Archived-At: > * to bind to some kind of buffer-switching command such as > iswitchb-buffer, > * and to bind to save-buffer, > by default? These are very commonly used functions, so I think it > is worthwhile to provide one-key access to them. Actually, I find this reasoning rather odd: - on the one hand, they're much less used than many other commands. Yes, it's very unlikely that a user would never use such commands in any given Emacs session, but as for frequency of use, it's not that high up the list. - F11 and F12 are rather far, so they're not quick. It's "one key", but it's not clear that it's quicker to use than C-x C-s for example. This said, I think it probably makes sense to give default bindings to those Fn keys rather than leave them unused. We should keep them as "user modifiable" keys, tho (i.e. commands bound to an Fn key should also have a good other binding). I'd tend to consider the Fn keys in a similar way to menu entries or toolbar entries. Actually maybe a good idea would be to map toolbar entries to Fn keys: F2 presses the first button, F3 the second, etc... Stefan