Выбрать главу

Table B-4. Support for Text Processing

Table B-4. Support for Text Processing

Package Description Startup
text-mode Major mode for editing unprocessed text files text-mode, suffixes .txt, .text, .article, .letter, and files starting with /tmp/Re, Message and a digit (mail), /tmp/fol (news)
sgml-mode Major mode for editing structured documents (including HTML and XML)[101] html-mode, xml-mode, sgml-mode, suffixes .htm, .html, .shtml, .xml, .xsl, .dtd, .sgm, .sgml
tex-mode Major mode for editing TEX and LATEX files tex-mode, latex-mode, suffixes .tex, .ins, .TeX, .ltx, .sty, .cls, .clo, .bbl
bibtex Major mode for editing bibliography files bibtex-mode, suffix .bib
refbib Convert bibliography files in refer format to bibtex format r2b-convert-buffer
nroff Major mode for editing nroff and troff text files nroff-mode, suffixes .mm, .me, .ms, .man, or any digit following a period (manual page source)
scribe Major mode for editing Scribe text files scribe-mode, suffix .mss 

Table B-5. Emulations for other editors

Table B-5. Emulations for other editors

Package Description Startup
vi Major mode for emulating the vi editor vi-mode
vip Another major mode for emulating vi vip-mode
edt Function to set key bindings to emulate the VAX/VMS EDT editor 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 find command and use dired on the resulting list of files. find-dired
tar-mode Access files inside a tar archive 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
diff, ediff Tools to help in comparing files. See Chapter 12
вернуться

101

See Chapter 8 for an extensive discussion of working with markup languages in Emacs.

вернуться

102

Some of these will be useful on Windows only if you've installed a Unix compatibility package like Cygwin (see http://www.cygwin.com).