[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emacs command frequencies: [was: emacs-w3m question]
From: |
Alan Mackenzie |
Subject: |
Emacs command frequencies: [was: emacs-w3m question] |
Date: |
Tue, 11 Nov 2008 21:46:21 +0000 |
User-agent: |
Mutt/1.5.9i |
Hi, Xah!
On Mon, Nov 10, 2008 at 02:38:24PM -0800, Xah wrote:
> 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.
Not _quite_ true from my afternoon session! See below, or the attached
file. I was into a heavy edebugging session (the utility recorded hardly
any of these commands; presumably, edebug nullified the hook, somehow),
and writing a log of this activity at the same time.
However, I used frame switching commands 114 times, putting them into
fifth place. This quite surprised me.
> Of my Emacs Commands Frequency study, 37% of key strokes involves data
> entry (that is, calling the commands ???self-insert-command??? and
> ???newline??? (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.
You should perhaps include `newline-and-indent' (C-j) in this category
too.
> 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 ???data entry??? and 36% are other command calls.
> This data suggests that better shortcut placement is more important
> than better placement of letter keys for programing.
> »
> --------------------
> 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.
Thanks! Please see the attached file.
> Xah
--
Alan Mackenzie (Nuremberg, Germany).
Alan_Mackenzie_command-frequencies.txt
Description: Text document
- Re: emacs-w3m question, (continued)
- Message not available
- How to make friends. [was emacs-w3m question], Xah, 2008/11/07
- Message not available
- emacs is not Microsoft Word [was emacs-w3m question], Xah, 2008/11/07
- Re: emacs is not Microsoft Word, David Kastrup, 2008/11/10
- Message not available
- Re: emacs-w3m question, Rupert Swarbrick, 2008/11/08
- Re: emacs-w3m question, Xah, 2008/11/09
Re: emacs-w3m question, Wei Weng, 2008/11/09
- Re: emacs-w3m question, Xah, 2008/11/09
- Re: emacs-w3m question, Xavier Maillard, 2008/11/10
- Message not available
- Re: emacs-w3m question, Xah, 2008/11/10
- Emacs command frequencies: [was: emacs-w3m question],
Alan Mackenzie <=
- Re: emacs-w3m question, Sean Sieger, 2008/11/11
- Message not available
- Re: Emacs command frequencies: [was: emacs-w3m question], Xah, 2008/11/12
- Re: Emacs command frequencies:, Nikolaj Schumacher, 2008/11/12
- Re: Emacs command frequencies:, Paul R, 2008/11/12
Message not availableRe: Emacs command frequencies:, Sébastien Vauban, 2008/11/12
Re: Emacs command frequencies:, Ted Zlatanov, 2008/11/12
Re: Emacs command frequencies:, Xah, 2008/11/13
Re: Emacs command frequencies: [was: emacs-w3m question], rgb, 2008/11/12
Re: Emacs command frequencies: [was: emacs-w3m question], Xah, 2008/11/13
Re: Emacs command frequencies: [was: emacs-w3m question], rgb, 2008/11/14