Table E-21. Ediff commands ( Chapter 12)
Keystrokes |
Command name |
Action |
Space or n |
ediff-next-difference |
Move to the next difference between the files. |
Del or p |
ediff-previous-difference |
Move to the preceding difference between the files. |
j |
ediff-jump-to-difference |
Go to the difference specified as a numeric prefix argument. |
a |
ediff-copy-A-to-B |
Copy the version of the current difference found in buffer A to buffer B. |
b |
ediff-copy-B-to-A |
Copy the version of the current difference found in buffer B to buffer A. |
r a or r b |
ediff-restore-diff |
Restore the current difference in buffer A (or B) to the way it was before copying from the other buffer. |
A or B |
ediff-toggle-read-only |
Switch the specified buffer into (or out of) read-only mode. |
g a or g b |
ediff-jump-to-difference-at-point |
Recenter the comparison buffers on the difference nearest to your current location (point) in the specified buffer. |
! |
ediff-update-diffs |
Recalculate and redisplay the highlighted regions; useful if you've manually made extensive changes to a buffer. |
w a or w b |
ediff-save-buffer |
Save the specified buffer to disk. |
z |
ediff-suspend |
Close the Ediff control window, but leave the session active so you can resume it later. |
q |
ediff-quit |
Close the Ediff window and end this comparison session. |
Table E-22. CUA mode commands
Table E-22. CUA mode commands ( Chapter 13)
Keystrokes |
Command name |
Action |
C-c C-x C-x |
cua-exchange-point-and-mark |
Exchange location of cursor and mark. |
C-x or C-w or S-Delete |
kill-region |
Delete the region. |
C-v or C-y or S-Insert |
cua-paste |
Paste most recently killed or copied text. |
C-c |
copy-region-as-kill |
Copy the region. |
M-v |
cua-repeat-replace-region |
After highlighting and replacing a string, find the next string and replace it the same way. |
M-y |
cua-paste-pop |
After C-v, pastes earlier deletion. |
C-z or C-x u |
cua-undo |
Undoes the last change. |
C-x C-z |
iconify-frame |
Minimize the current frame (what C-zdoes outside CUA mode). |
Table E-23. Help commands
Table E-23. Help commands ( Chapter 14 Chapter 14. The Help System Emacs has the most comprehensive help facility of any text editor—and one of the best such facilities of any program at all. In fact, the Emacs help facilities probably cut down the time it took for us to write this book by an order of magnitude, and they can help you immeasurably in your ongoing quest to learn more about Emacs. In this chapter, we describe Emacs help in the following areas: • The tutorial. • The help key ( C-h ) and Help menu, which allow you to get help on a wide variety of topics. • The help facilities of complex commands like query-replace and dired . • Navigating Emacs manuals and using the info documentation reader. • Completion , in which Emacs helps you finish typing names of functions, variables, filenames, and more. Completion not only saves you time and helps you complete names of functions you know about but can help you discover new commands and variables.
)
Keystrokes |
Command name |
Question answered |
C-h k Help → Describe → Describe Key |
describe-key |
What command does this keystroke sequence run, and what does it do? |
C-h f Help → Describe → Describe Function |
describe-function |
What does this function do? |
C-h v Help → Describe → Describe Variable |
describe-variable |
What does this variable mean, and what is its value? |
C-h m Help → Describe → Describe Buffer Modes |
describe-mode |
Tell me about the modes the current buffer is in. |
C-h b Help → Describe → List Key Bindings |
describe-bindings |
What are all the key bindings for this buffer? |
C-h a Help → Search Documentation → Find Commands by Name |
apropos-command |
What commands include this word? |
( none ) Help → Search Documentation → Find Options by Name |
apropos-variable |
What variables include this regular expression? |
( none ) Help → Search Documentation → Find Any Object by Name |
apropos |
What functions and variables involve this regular expression? |
Table E-24. Documentation help commands
Table E-24. Documentation help commands ( Chapter 14 Chapter 14. The Help System Emacs has the most comprehensive help facility of any text editor—and one of the best such facilities of any program at all. In fact, the Emacs help facilities probably cut down the time it took for us to write this book by an order of magnitude, and they can help you immeasurably in your ongoing quest to learn more about Emacs. In this chapter, we describe Emacs help in the following areas: • The tutorial. • The help key ( C-h ) and Help menu, which allow you to get help on a wide variety of topics. • The help facilities of complex commands like query-replace and dired . • Navigating Emacs manuals and using the info documentation reader. • Completion , in which Emacs helps you finish typing names of functions, variables, filenames, and more. Completion not only saves you time and helps you complete names of functions you know about but can help you discover new commands and variables.
)
Keystrokes |
Command name |
Action |
C-h t Help → Emacs Tutorial |
help-with-tutorial |
Run the Emacs tutorial. |
C-h i |
info |
Start the Info documentation reader. If prefaced with C-u, reads an Info file of your choice. |
C-h r Help → Read the Emacs Manual |
info-emacs-manual |
Open the Emacs manual. |
C-h K Help → More Manuals → Find Key in Manual |
Info-goto-emacs-key-command-node |
Start Info documentation reader at the node that discusses this key sequence. |
( none ) Help → Search Documentation → Look Up Subject in User Manual |
emacs-index-search |
Search the index of the Emacs user manual. |
C-h p |
finder-by-keyword |
Invoke a menu that lets you get information about Emacs Lisp packages available on your system. |
Table E-25. Important modes
Читать дальше