From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: incrementor-decrementor commands and bindings (was: finger-pointercurser as default for mouse-face text) Date: Wed, 3 Nov 2004 07:26:27 -0800 Message-ID: References: <24482.217.194.34.123.1099468265.squirrel@wwws.franken.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099495725 23940 80.91.229.6 (3 Nov 2004 15:28:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2004 15:28:45 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org, Stefan , Karl Eichwalder , Martin Blais , Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 03 16:28:28 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CPN3k-0004tH-00 for ; Wed, 03 Nov 2004 16:28:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPNBp-0002RC-V5 for ged-emacs-devel@m.gmane.org; Wed, 03 Nov 2004 10:36:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPNAV-0000zY-PN for emacs-devel@gnu.org; Wed, 03 Nov 2004 10:35:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPNAT-0000wX-No for emacs-devel@gnu.org; Wed, 03 Nov 2004 10:35:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPNAT-0000w1-CJ for emacs-devel@gnu.org; Wed, 03 Nov 2004 10:35:25 -0500 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CPN26-0003eD-Hj; Wed, 03 Nov 2004 10:26:47 -0500 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.191.10]) by agminet02.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id iA3FQcRi005671; Wed, 3 Nov 2004 07:26:38 -0800 Original-Received: from rgmgw1.us.oracle.com (localhost [127.0.0.1]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id iA3FQcDv031096; Wed, 3 Nov 2004 08:26:38 -0700 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-86-206.vpn.oracle.com [141.144.86.206]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id iA3FQY2Y030938; Wed, 3 Nov 2004 08:26:34 -0700 Original-To: "Stephan Stahl" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <24482.217.194.34.123.1099468265.squirrel@wwws.franken.de> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal 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: main.gmane.org gmane.emacs.devel:29394 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29394 Good suggestion. And trivial to add, of course. FYI, two details I didn't mention - 1. Using the Meta modifier with the arrow keys and/or the mouse wheel boosts the incrementation (step size), so change is faster. 2. There are four variables representing (by default) the up & down arrow keys and their Meta versions. You can change these variables to use, say, keys `C-n' and `C-p' instead of up & down. Also, for a command (like `doremi-frame-horizontally') to use the left & right arrows instead of up & down, it can just bind the up & down variables to the left & right arrow keys before calling `doremi'. -----Original Message-----From: Stephan Stahl > I decided to use just the four arrow keys (and/or the mouse-wheel) for _all_ > such commands - easy to use and remember. To do that, I have a non-chord > binding for each incrementor-decrementor command to "start it up"; then the > command itself reads the arrow keys and the mouse-wheel to do its job. I really like this idea. However i think the use of the arrowkeys / mousewheel should be extended to maybe M-p, M-n. Those keys should be availible while not in minibuffer-mode and there they mirror the behaviour of arrowkeys up / down. I find it annoying to move the hand off of the homerow. Guess that's why i do not use things like C-x / or , , , ....