From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: emacs-w3m question Date: Mon, 10 Nov 2008 14:38:24 -0800 (PST) Organization: http://groups.google.com Message-ID: <7a377b0d-9a02-4cd9-947a-8f04676fad8c@z28g2000prd.googlegroups.com> References: <87vdvdu4mp.fsf@literaturlatenight.de> <74160b46-e541-436a-a776-c8bd53d6cd55@o4g2000pra.googlegroups.com> <1f28a20e-0c9f-4478-a85c-27ae40ed7fc9@v16g2000prc.googlegroups.com> <4d476218-bd76-4d41-8a12-1428dfba9e9b@s9g2000prg.googlegroups.com> <1226211980.88912@nntp.acecape.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1226357413 19069 80.91.229.12 (10 Nov 2008 22:50:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2008 22:50:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 10 23:51:12 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kzfau-0003YS-OO for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Nov 2008 23:50:53 +0100 Original-Received: from localhost ([127.0.0.1]:46945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzfZn-0002aa-1y for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Nov 2008 17:49:43 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z28g2000prd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 78 Original-NNTP-Posting-Host: 24.6.185.159 Original-X-Trace: posting.google.com 1226356704 11544 127.0.0.1 (10 Nov 2008 22:38:24 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 10 Nov 2008 22:38:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z28g2000prd.googlegroups.com; posting-host=24.6.185.159; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164302 comp.emacs:97338 X-Mailman-Approved-At: Mon, 10 Nov 2008 17:49:22 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59637 Archived-At: On Nov 10, 1:25 pm, Xavier Maillard wrote: > i haven't spent time to study minor modes yet. For those who has, if > you can provide me with a minor mode template, i'll get to work right > away. > > You would not want to see code (not touch-)typed by a so idiotic > guy like me, would you ? even if you don't touch type, a ergonomic based keyboard shortcut will still improve your emacs life. For example, you cited how you love the Ctrl+=E2=80=B9npfb=E2=80=BA shortcu= ts because you don't want to move the hand to arrow. Note the keys n p f b are scattered around the keyboard. In fact, 3 of them are the worst possible. N and B are in the middle of the keyboard, and p is pressed by the weakest finger. With the ergo map, you can do Ctrl+=E2=80=B9kilk=E2=80=BA to move cursor, a= ll keys are under your right hand. Even if hunt-and-peck is your method of typing, it's much easier to hunt and peck on k i l k, all are in one place, since cursor keys are frequently used together. this page has the lisp code that turns default shortcuts into ergonomic ones: http://xahlee.org/emacs/ergonomic_emacs_keybinding.html also note, when i did research on emacs command frequency, one surprising result is that a programer types shortcuts more than he actually type letters. Quote: =C2=AB Better Shortcut Layout vs Better Key Layout On the subject of keyboarding ergonomics, a user may wonder whether switching from QWERTY to Dvorak provides a better improvement than switching from a lousy to better keyboard shortcut layout. (Assuming that he does only one of the above.) Of my Emacs Commands Frequency study, 37% of key strokes involves data entry (that is, calling the commands =E2=80=9Cself-insert-command=E2=80=9D = and =E2=80=9Cnewline=E2=80=9D (pressing return), while the rest 63% are calling= all other commands. This seems counter-intuitive, because one might think typing should probably be the bulk of activity and moving cursor and deleting text or other commands are only done few times per minute. If we consider commands invoked by the Backspace key as data entry too, then 40% are data entry, while 60% are editing commands. Still surprising. Going one step further, if we consider the next group of most used commands of moving the cursor by the smallest unit (i.e. previous-line (C-p), next-line (C-n), backward-char (C-b), forward- char (C-f) (also invoked by the arrow keys)) as part of data entry, then, 64% are =E2=80=9Cdata entry=E2=80=9D and 36% are other command calls. This data suggests that better shortcut placement is more important than better placement of letter keys for programing. =C2=BB -------------------- if you are interested to find out your own pattern of emacs command use, you can try the lisp file at the bottom of this page: http://xahlee.org/emacs/command-frequency.html If you can send me your result, that'll be great. Alan, you are very welcome to send me your result too. Xah =E2=88=91 http://xahlee.org/ =E2=98=84