5 ms·
Emacs organizes command invocation via a tree, so there's also a prefix-discoverability need. Emacs has a nice feature that helps here: if you type a prefix, yo
by rpdillon 3y ago
Emacs organizes command invocation via a tree, so there's also a prefix-discoverability need. Emacs has a nice feature that helps here: if you type a prefix, you can follow it with C-h to see a full list of everything accessible via this prefix. For example, experienced users know that C-x 5 is a prefix for operating on other emacs frames, but what can you do with C-x 5? The only thing I remember right now after many years using emacs is I can destroy frames with C-x 5 0, and I can show a buffer in another frame with C-x 5 C-o. But when I type C-x 5 C-h, Emacs gives me this:
Global Bindings Starting With C-x 5:
key binding
--- -------
C-x 5 C-f find-file-other-frame
C-x 5 C-o display-buffer-other-frame
C-x 5 . xref-find-definitions-other-frame
C-x 5 0 delete-frame
C-x 5 1 delete-other-frames
C-x 5 2 make-frame-command
C-x 5 5 other-frame-prefix
C-x 5 b switch-to-buffer-other-frame
C-x 5 c clone-frame
C-x 5 d dired-other-frame
C-x 5 f find-file-other-frame
C-x 5 m compose-mail-other-frame
C-x 5 o other-frame
C-x 5 p project-other-frame-command
C-x 5 r find-file-read-only-other-frame
Each function name in the output is a link to function documentation, which itself links to the source for that function, all entirely within Emacs. Emacs is really well thought out due to its age, but the real trick in using it (I've found) is understanding the full scope of its capabilities. My solution to this was inelegant, but worked really well: I bought a copy of the Emacs Manual in print and left it in my bathroom for about 7 years. Problem solved. =)