From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: Binding F11 and F12 to buffer-switching and file-saving by default Date: Tue, 30 Jan 2007 09:59:09 +0100 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=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170147572 12892 80.91.229.12 (30 Jan 2007 08:59:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 08:59:32 +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 09:59:26 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 1HBopo-0007fq-SY for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 09:59:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBopo-0002Yi-IL for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 03:59:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HBopc-0002Yd-5N for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:59:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HBopb-0002YR-G3 for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:59:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBopb-0002YO-93 for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:59:11 -0500 Original-Received: from nz-out-0506.google.com ([64.233.162.224]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HBopa-00055y-Js for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:59:10 -0500 Original-Received: by nz-out-0506.google.com with SMTP id s1so1524875nze for ; Tue, 30 Jan 2007 00:59:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VFI92xhoSvCaaLXnGxvIhY1Y+N8xJV92Nk6CKZKjGtU2F+lbaO/QZGUURg54gWsqL7a1wEAdvKiv5ustULrF8zCykl/8IbN84uGs5WEI5owt39JeiV6WWztwN9vPnwx9Fm7+BsWjVvCsWiwpVLTAAOO0AJJ5yDNOXIGH0aOKhgs= Original-Received: by 10.114.175.16 with SMTP id x16mr18602wae.1170147549743; Tue, 30 Jan 2007 00:59:09 -0800 (PST) Original-Received: by 10.115.93.4 with HTTP; Tue, 30 Jan 2007 00:59:09 -0800 (PST) In-Reply-To: <87veio3npx.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:65616 Archived-At: On 1/30/07, Jason Spiro wrote: > Would it be practical: > > * 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. You'd have to define "practical": - Not all keyboards have F11 and F12 - 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) - next-buffer and previous-buffer are already in C-x - save-buffer is in C-x C-s - 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) - It's easy for users to do their own bindings /L/e/k/t/u