From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Gauthier_=D6stervall?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Make `C-x {' and `C-x }' repeatable Date: Tue, 21 May 2013 15:53:34 +0200 Message-ID: References: <87fvxgac37.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1369144450 31123 80.91.229.3 (21 May 2013 13:54:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 May 2013 13:54:10 +0000 (UTC) To: Vitalie Spinu , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 21 15:54:09 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uen0v-0006ne-Pa for ged-emacs-devel@m.gmane.org; Tue, 21 May 2013 15:54:05 +0200 Original-Received: from localhost ([::1]:43477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uen0v-0004Q1-FN for ged-emacs-devel@m.gmane.org; Tue, 21 May 2013 09:54:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uen0p-0004K9-Bi for emacs-devel@gnu.org; Tue, 21 May 2013 09:54:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uen0m-0005cf-8A for emacs-devel@gnu.org; Tue, 21 May 2013 09:53:59 -0400 Original-Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:35205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uen0m-0005cR-0W for emacs-devel@gnu.org; Tue, 21 May 2013 09:53:56 -0400 Original-Received: by mail-we0-f173.google.com with SMTP id p57so364803wes.4 for ; Tue, 21 May 2013 06:53:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=m6nXdeSABqzA5N0DepfZ1gYbJDKOG6gwhvWiL/ToOpU=; b=VG52TnU2crxqko51u1V515ktcNf+yUuQgOO0vpw4LrWNi5RP5PlqqfYHNyAwcIZdN/ KTwp+dETXL1i9lxK6AziIZB0dE5uztT20Fqc7rRWaO67Xbv5h147hXlUAGkCmiH1RhOH /duS8WecmPIqqoIkQ9yq2iQWIhvlzS132QbOjOwrw3dyTF6RktCLdy+LLyjb8QkaQqvu W7Z3FU43YLXgyO1EiJi55itC+G/pd8MkjRj4UWwMMfVr4DUU6P4RoWf9SZ72h3GYPZ90 lTW8+jhCoanJWR5epDQvlusUT4A4yvwEJyafxq5aM3bL4XnnkRYY4/Ju6uakwLXdL0zh bnSg== X-Received: by 10.180.185.179 with SMTP id fd19mr5278571wic.1.1369144434808; Tue, 21 May 2013 06:53:54 -0700 (PDT) Original-Received: by 10.180.97.104 with HTTP; Tue, 21 May 2013 06:53:34 -0700 (PDT) X-Originating-IP: [212.247.43.194] In-Reply-To: <87fvxgac37.fsf@gmail.com> X-Gm-Message-State: ALoCoQl27f/YexCVgu/E1/4MbhV79BEPO+MeR/uAyks3EBhw4hojdOKoOd6R44anXVmlQxhM8KJt X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159709 Archived-At: On Tue, May 21, 2013 at 11:58 AM, Vitalie Spinu wrote: > > I think this is a very nice idea. Similar change would make sense for > C-x ^. > It would. It could even work after entering with C-x {, and { could work after entering with C-x ^. For example: C-x { { { { } } ^ ^ } C-x ^ ^ } } could be valid sequences. One problem is that there is currently no standard key binding for (shrink-window). That would need to be decided upon first. Having (enlarge-window) and not its opposite would not work well. Even more, + (balance-windows) could be included (and possibly exit this resize mode). Same thing with - (shrink-window-if-larger-than-buffer). I'm willing to implement (balance-windows) as a second step if this patch is accepted. I nearly never `C-x -' or `C-x ^', but I could put it in once there is an opposite to `C-x ^', for completeness. How are standard key bindings decided upon, may I just come up with something?