Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>If I had only 10 minutes, I would not teach them any shortcuts at all. All the common shortcuts are available next to the corresponding commands in the menus; those the users can discover for themselves.</p> <p>The most important things to teach are those that will enable the users to discover/learn by themselves:</p> <ul> <li><p>That one can quit Emacs with <code>C-x C-c</code>, or File->Quit. When stuck, one should type <code>C-g</code>, and, if that doesn't work, <code>ESC ESC ESC</code>. [This is probably the single most useful advice to prevent total frustration with Emacs, trust me.]</p></li> <li><p>The tutorial: Help->Emacs Tutorial, or <code>C-h t</code>. [This is not a terribly useful shortcut to <em>remember</em>; given how few times one reads the tutorial over the course of one's life...]</p></li> <li><p>The concept that every keystroke in Emacs is bound to a function, and all that Emacs does is execute functions one after another. That there are more functions than can possibly be bound to keys, and functions without a keystroke can be invoked with <code>M-x function-name</code>.</p></li> <li><p>That one can discover what function a particular key invokes with <code>C-h k [keystroke]</code>. Make the user walk through a few of those (including the amusing fact that typing a letter is not special and just invokes <code>self-insert-command</code>, so if one wanted, one could bind the letter 'z' to send email instead :D)</p></li> <li><p>That one can search for possibly useful functions with <code>C-h a</code> (or <code>M-x apropos-command</code>), e.g. <code>C-h a paragraph</code> shows all the commands to do with paragraphs, including what shortcuts will take one to the end/beginning of a paragraph. And that <code>C-h w command-name</code> will tell you if the command is bound to some keystroke or not. [Make them walk through this to discover what the key for <strong>undo</strong> is -- usually they'll try C-z and it does something annoying :)]</p></li> <li><p>That you can read detailed documentation about what a function does with <code>M-x describe-function</code> (<code>C-h f</code>). That Emacs has great documentation about most things; and <code>M-x apropos-documentation</code> (<code>C-h d</code>) is a great way of discovering stuff.</p></li> <li><p>That one's settings are stored in .emacs, and that one can glean some things by looking at that file even if one don't understand Emacs Lisp.</p></li> <li><p>That one can usually find all keystrokes that "complete" a particular set of keys by typing <code>C-h</code> after it, e.g. 'C-x C-h' will show all the shortcuts starting with C-x; <code>C-h C-h</code> is particularly useful; <code>C-c C-h</code> is useful for mode-specific commands such as when in java-mode or c++-mode or LaTeX-mode, etc. (Hmm, "modes"...)</p></li> <li><p>That when stuck, one can search on <a href="http://www.emacswiki.org/" rel="noreferrer"><a href="http://www.emacswiki.org/" rel="noreferrer">http://www.emacswiki.org/</a></a>. (Or ask a question in the #emacs IRC channel on Freenode, or post to <a href="http://groups.google.com/group/gnu.emacs.help/topics" rel="noreferrer">gnu.emacs.help</a>.)</p></li> </ul> <p>This should fit in 10 minutes, and it's the most important stuff, I think. I wouldn't overload with too many shortcuts to remember; that's pointless anyway -- if the users know how to discover shortcuts, they'll find out shortcuts for whatever they use most frequently. Do have them write down the names of these commands, though, and also about Emacswiki etc.</p> <p>The important thing is to show them how powerful Emacs is and how universal its model is (all those jokes about it being an operating system are not just jokes). If you just show a bunch of arcane shortcuts to do things they can already do in other editors, Emacs won't seem worth all the trouble. In the same spirit, I also wholly support Anton Nazarov's answer of showing them what Emacs can do (AucTeX if they use LaTeX, etc.) for <em>their</em> specific purposes. Then they can judge for themselves whether Emacs is worth learning, and learn using all the above.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload