Table B-5. Emulations for other editors
Package |
Description |
Startup |
vi |
Major mode for emulating the vieditor |
vi-mode |
vip |
Another major mode for emulating vi |
vip-mode |
edt |
Function to set key bindings to emulate the VAX/VMS EDTeditor |
edt-emulation-on |
Table B-6. Interfaces to operating system utilities
Table B-6. Interfaces to operating system utilities [102]
Package |
Description |
Startup |
shell |
Major mode for interacting with the command-line shell. |
shell-mode |
find-dired |
Run the findcommand and use diredon the resulting list of files. |
find-dired |
tar-mode |
Access files inside a tararchive through a dired-like interface. |
tar-mode, suffix .tar |
arc-mode |
Access files in several other archive formats through a dired-like interface. |
archive-mode, suffixes .arc , .zip , .lzh , .zoo , .ear , .jar , .war , as well as capitalized variants; .sxd , .sxm , .sxi , .sxc , .sxw |
lpr |
Print the contents of a buffer or region. |
lpr-buffer, print-buffer, lpr-region, print-region |
sort |
Sort the contents of a buffer. |
sort-columns, sort-fields, sort-lines, sort-numeric-fields, sort-paragraphs, sort-regexp-fields |
spell , ispell |
Various tools for checking spelling. |
See Chapter 3 Chapter 3. Search and Replace The commands we discussed in the first two chapters are enough to get you started, but they're certainly not enough to do any serious editing. If you're using Emacs for anything longer than a few paragraphs, you'll want the support this chapter describes. In this chapter, we cover the various ways that Emacs lets you search for and replace text. Emacs provides the traditional search and replace facilities you would expect in any editor; it also provides several important variants, including incremental searches, regular expression searches, and query-replace. We also cover spell-checking here, because it is a type of replacement (errors are sought and replaced with corrections). Finally, we cover word abbreviation mode; this feature is a type of automatic replacement that can be a real timesaver. |
diff , ediff |
Tools to help in comparing files. |
See Chapter 12 |
Table B-7. Networking support
Table B-7. Networking support
Package |
Description |
Startup |
ange-ftp |
Provides transparent access to remote files via FTP |
most standard file-handling commands |
url |
Functions for retrieving the contents of documents through URLs |
Invoked from Lisp code, not interactively |
quickurl |
Functions for looking up and adding URLs to documents |
many commands beginning with quickurl |
talk |
A multi-user talk package that runs in Emacs |
talk-connect |
eudc |
A unified directory client for looking up address information from LDAP, BBDB, CCSO PH/QU and other directory servers |
eudc-mode |
net-utils |
Provides access to common network utility programs (ping, traceroute, netstat, etc. |
ping, traceroute, netstat, etc. |
Table B-8. Games and amusements
Table B-8. Games and amusements
Package |
Description |
Startup |
animate |
Draws animated text. |
animate-birthday-present |
blackbox |
Major mode to play the Blackbox game. |
blackbox-mode |
decipher |
Major mode to cryptanalyze monoalphabetic substitution ciphers (break simple codes). |
decipher |
dissociate |
Randomly scramble text. |
dissociated-press |
doctor |
Major mode for playing the famous "psychoanalyst" game. |
doctor |
dunnet |
Major mode for playing an adventure game. |
dunnet |
gomoku |
Major mode for playing Gomoku. |
gomoku |
hanoi |
Solve the Towers of Hanoi puzzle for you. |
hanoi |
life |
Explore cellular automata using John Conway's "life" game rules. |
life |
mpuz |
Generate a random multiplication puzzle. |
mpuz |
snake |
Steer an animated snake towards food without hitting yourself or the walls. |
snake |
solitaire |
Play the peg solitaire game. |
solitaire |
studly |
Randomly capitalize letters for that polished, professional look. |
studlify-region |
tetris |
Guide falling tiles to complete rows. |
tetris |
yow |
Print a random quotation from Zippy the Pinhead. |
yow |
zone |
Rearrange your buffer in a hypnotic way. |
zone |
Again, this is only a sampling of some available packages, to give you a sense of the breadth and depth of capabilities that ship with Emacs. The list isn't close to complete even with respect to what's available at this time, and new features are always being added. Your best bet is to explore for yourself using the tools mentioned at the beginning of this appendix. And don't forget to search the Web for nonstandard additions that might be just what you need for your own environment and projects!
Appendix C. Bugs and Bug Fixes
There are no perfect programs. GNU Emacs is very thoroughly debugged, but it is certainly possible to find things that don't work correctly.
The Free Software Foundation (FSF) welcomes problem reports. However, they need to be real problem reports; simple differences of opinion about how something should work are not bugs. If you think that a certain command should work differently, remember that Emacs has been around for a long time and has many users; it can't be changed to satisfy a single user. (On the other hand, in most cases, you could write some Lisp to change it yourself.) In the GNU Emacs Manual , the FSF publishes some excellent guidelines for reporting bugs, which we'll summarize very quickly:
Читать дальше