From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: New keybinding suggestion: C-x _ for `shrink-window' Date: Sun, 18 Nov 2007 22:48:38 -0800 Message-ID: References: <87k5ofrm0l.fsf@bzg.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195455022 10832 80.91.229.12 (19 Nov 2007 06:50:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 06:50:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Bastien" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 07:50: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 1Iu0Sg-0002Bj-Ik for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 07:50:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu0SS-0004YL-Qv for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 01:50:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iu0Rz-0004Po-ER for emacs-devel@gnu.org; Mon, 19 Nov 2007 01:49:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iu0Ry-0004PZ-OC for emacs-devel@gnu.org; Mon, 19 Nov 2007 01:49:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu0Ry-0004PW-C8 for emacs-devel@gnu.org; Mon, 19 Nov 2007 01:49:42 -0500 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iu0Rx-0008Kr-VP for emacs-devel@gnu.org; Mon, 19 Nov 2007 01:49:42 -0500 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id lAJ6nVhu008886; Mon, 19 Nov 2007 00:49:31 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id lAJ5dwFt011159; Sun, 18 Nov 2007 23:49:30 -0700 Original-Received: from dhcp-amer-csvpn-gw2-141-144-72-5.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3373799701195454910; Sun, 18 Nov 2007 22:48:30 -0800 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <87k5ofrm0l.fsf@bzg.ath.cx> Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:83615 Archived-At: > I switched back to the loop. The feedback looks more accurate. The > only problem is about numeric prefixes, but I hope I can handle this > later. Hmm. I thought that folks had determined that the non-loop was cleaner. Why the need for a loop? Isn't specific feedback possible otherwise? > I see your point about "editing" windows instead of simply resizing > them. What about windconfig.el? BTW, "winsize.el" sounds a bit like > ...spam to me (no offense.) Why not "enlarge.el"? No offense received - I didn't propose winsize.el or any other file name. Any name you like is OK. It's the command name, doc, help, prompt etc. that are most important wrt signaling what this does. IMO, this is about window configuration (or editing), and resizing is only one such editing tool. > As for the prompt, "[023=+-~srq? (S-)arrows]" looks unclear to me. Maybe. It certainly doesn't explain anything, but it can serve as an invitation to the doc and as a reminder. As I said previously, just a bare "`?' for help" is sufficient. It's important to at least suggest that there is more possible than just resizing - or, rather, at least not to suggest that you are expecting (only) input for resizing. > I will work on this once I solve the problem with the numeric prefixes > and I'm sure that the functionality won't move. FWIW, I don't agree with RMS that anyone would ever use an increment greater than 9 lines. In fact, I don't think the C-N setting of the increment is important at all. A single-line increment is sufficient for everything (plenty fast), and if it were not, then it would be enough to offer just two increments: 1 line and, say, 4 lines. > Whether you want C- or not is controled by the user variable > `windresize-modifiers'. We might find better defaults later. I never saw that C-arrow did anything at all, IIRC. > For "opposite borders" and "inwards", I will get rid of unclarity when > the functionality are more steady. And I'll handle the problem with the > help window when I know what I put in this window. > > Again, thanks for the feedback! Good luck. Thanks for working on this.