unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Nikolaj Schumacher <me@nschum.de>
To: Xah <xahlee@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs command frequencies:
Date: Wed, 12 Nov 2008 12:28:10 +0100	[thread overview]
Message-ID: <m2skpxji9h.fsf@nschum.de> (raw)
In-Reply-To: <c42d54f2-bb07-4eb4-a1ff-8580fd50adf0@f40g2000pri.googlegroups.com> (Xah's message of "Tue\, 11 Nov 2008 20\:19\:47 -0800 \(PST\)")

Xah <xahlee@gmail.com> wrote:

> here's my top commands... started maybe few months ago.

Some notes on this.  (Some opinions, and some theses.  The latter
will point to some missing data that could influence the
interpretation.)

- Clearly some individual commands are very common and need to be comfortable.

- Some commands are infrequent enough, that making them comfortable would
be a waste of time.  One could argue that they should be focused on
being easy to remember.  I think that are probably all those beyond the
top 25.

- I am very careful when rebinding default keys.  Not because I think the
defaults are excellent, but because once you rebind one, you likely have
to rebind many more.  Unfortunately, this makes rebinding common keys
less worthwhile.  You can't just rebind the top 25, you'll have to
rebind many more.  If you want to use M-x or C-c, it would even be
thousands.

- A very important aspect is repeated keystrokes.  Clearly, a lot of
next-lines are consecutive, meaning they are easier to type the second
time around.  So as far as finger strain goes, they're slightly
over-represented in the statistic.

- Commands that are repeated frequently should have the highest priority
for one-button keys.  That's why I personally think save-buffer and
kill-this-buffer would be a waste for single keys.  On the other hand
other-window has a terrible default for the same reason.

- There are also commands that presumably appear in groups.  Clearly this
is the case for letter input.  You'll often type hundreds of them in a
row without using anything else.  And you do so with a high speed.  So
it's important that they go well with each other.  The same goes for
navigation commands.  They are often used in rapid succession and should
be usable without much finger movement.  Other commands (like
save-buffer or find-file) are usually executed on their own, during
typing pauses.  That's why I think they can get away with a less
comfortable shortcut, while some less used commands should take priority.

- Another possible conclusion to draw from high frequency of certain
commands (especially if repeated often), is that they aren't efficient.
That's why I replaced most of my usage of other-window with my
window-numbering-mode.  It replaces several invocations by a single one.
I often feel I should use next-line with a prefix, but holding my finger
on C-n is so much less trouble.  (That's why I was thrilled to find
move-to-window-line recently.  It saves me about 10-30 C-n each time I use
it.)


And don't forget about backspace and return.  Those are some terrible keys.
(At least those L-shaped return keys.)  I've replaced them with C-h and
C-m and couldn't be happier.  The same goes for the keys between 0 and
backspace.  On my dvorak layout those are [{ and ]}, and I've moved them
to alt+, alt+., alt+/, alt+= system-wide.  I've also switched ( and )
with < and >.  This really helps "the weakest finger".




regards,
Nikolaj Schumacher




  reply	other threads:[~2008-11-12 11:28 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-27 20:45 emacs-w3m question Francis Moreau
2008-10-27 21:09 ` henry atting
2008-10-27 21:36   ` Richard Riley
2008-10-28 18:40     ` Xah
2008-10-30 21:25       ` Xavier Maillard
2008-10-30 22:16         ` Paul R
2008-11-01  7:25           ` Xavier Maillard
2008-11-01 12:59             ` Paul R
     [not found]           ` <mailman.2625.1225539334.25473.help-gnu-emacs@gnu.org>
2008-11-01 15:51             ` Richard Riley
2008-11-03 11:25               ` Xavier Maillard
2008-11-03 12:13                 ` Richard Riley
2008-11-03 23:25                   ` Xavier Maillard
     [not found]                   ` <mailman.2907.1225862955.25473.help-gnu-emacs@gnu.org>
2008-11-05 13:23                     ` Xah
     [not found]       ` <mailman.2522.1225402310.25473.help-gnu-emacs@gnu.org>
2008-10-30 22:38         ` Xah
2008-11-03 11:25           ` Xavier Maillard
2008-11-03 12:36             ` Paul R
2008-11-03 23:25               ` Xavier Maillard
     [not found]             ` <mailman.2772.1225715774.25473.help-gnu-emacs@gnu.org>
2008-11-03 13:27               ` Richard Riley
2008-11-04 13:19                 ` Chris McMahan
2008-11-04 14:19                   ` Richard Riley
2008-11-05  7:25                   ` Xavier Maillard
     [not found]           ` <mailman.2764.1225711684.25473.help-gnu-emacs@gnu.org>
     [not found]             ` <4d476218-bd76-4d41-8a12-1428dfba9e9b@s9g2000prg.googlegroups.com>
2008-11-05  7:25               ` Xavier Maillard
     [not found]               ` <mailman.2966.1225952942.25473.help-gnu-emacs@gnu.org>
2008-11-06 14:31                 ` Xah
2008-11-06 16:32                   ` Alan Mackenzie
2008-11-06 18:12                   ` Giorgos Keramidas
2008-11-07  1:22                     ` Xah
2008-11-07  3:50                       ` Giorgos Keramidas
2008-11-07  5:42                         ` Xah
2008-11-07  7:48                           ` Giorgos Keramidas
2008-11-07  8:07                             ` Xah
     [not found]                   ` <mailman.3000.1225988502.25473.help-gnu-emacs@gnu.org>
2008-11-07  1:01                     ` Xah
2008-11-07 10:04                       ` Alan Mackenzie
2008-11-07 10:29                         ` Paul R
2008-11-07 23:51                           ` Alan Mackenzie
2008-11-08  1:14                             ` Lennart Borgman
2008-11-10 21:25                           ` Xavier Maillard
2008-11-10 21:25                         ` Xavier Maillard
     [not found]                       ` <mailman.3052.1226051600.25473.help-gnu-emacs@gnu.org>
2008-11-07 17:43                         ` Xah
2008-11-08 14:36                           ` Is there anyway to save workspace so that we don't have reopen 10s of files again ? Maindoor
2008-11-08 14:56                             ` Eli Zaretskii
2008-11-08 15:09                               ` Maindoor
2008-11-08 16:11                                 ` Peter Dyballa
2008-11-08 18:24                                 ` Saving registers (was: Is there anyway to save workspace so that we don't have reopen 10s of files again ?) Reiner Steib
2008-11-08 22:25                                 ` Is there anyway to save workspace so that we don't have reopen 10s of files again ? Juanma Barranquero
2008-11-06 18:02               ` emacs-w3m question Alan Mackenzie
2008-11-07  6:24                 ` Kevin Rodgers
     [not found]               ` <mailman.3010.1225993912.25473.help-gnu-emacs@gnu.org>
2008-11-06 20:02                 ` Rupert Swarbrick
2008-11-07  2:02                 ` Xah
2008-11-07 10:24                   ` Eli Zaretskii
2008-11-07 10:54                   ` Alan Mackenzie
     [not found]                   ` <mailman.3055.1226054611.25473.help-gnu-emacs@gnu.org>
2008-11-07 20:10                     ` Xah
2008-11-07 20:12                     ` How to make friends. [was emacs-w3m question] Xah
2008-11-07 20:17                     ` emacs is not Microsoft Word " Xah
2008-11-10 10:11                       ` emacs is not Microsoft Word David Kastrup
2008-11-08 18:57                     ` emacs-w3m question Rupert Swarbrick
2008-11-08 21:33                       ` Xah
2008-11-09  6:26               ` Wei Weng
2008-11-09  8:55                 ` Xah
2008-11-10 21:25                   ` Xavier Maillard
     [not found]                   ` <mailman.21.1226352538.26697.help-gnu-emacs@gnu.org>
2008-11-10 22:38                     ` Xah
2008-11-11 21:46                       ` Emacs command frequencies: [was: emacs-w3m question] Alan Mackenzie
2008-11-12  2:28                       ` emacs-w3m question Sean Sieger
     [not found]                       ` <mailman.106.1226439293.26697.help-gnu-emacs@gnu.org>
2008-11-12  4:19                         ` Emacs command frequencies: [was: emacs-w3m question] Xah
2008-11-12 11:28                           ` Nikolaj Schumacher [this message]
2008-11-12 11:45                             ` Emacs command frequencies: Paul R
2008-11-12 16:50                           ` Emacs command frequencies: [was: emacs-w3m question] rgb
2008-11-13 12:47                             ` Xah
2008-11-14 14:28                               ` rgb
     [not found]                           ` <mailman.129.1226489296.26697.help-gnu-emacs@gnu.org>
2008-11-12 12:52                             ` Emacs command frequencies: Sébastien Vauban
2008-11-12 15:59                               ` Ted Zlatanov
2008-11-13 14:33                               ` Xah
2008-11-13  4:07                             ` Xah
2008-11-01 13:03         ` emacs-w3m question Andreas Politz
2008-11-03 11:25           ` Xavier Maillard
     [not found]           ` <mailman.2763.1225711681.25473.help-gnu-emacs@gnu.org>
2008-11-06 16:51             ` Andreas Politz
2008-10-27 21:48 ` Andreas Politz
2008-10-28 10:50   ` Francis Moreau
2008-10-28 14:51   ` OtherMichael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2skpxji9h.fsf@nschum.de \
    --to=me@nschum.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=xahlee@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).