Debra Cameron - Learning GNU Emacs, 3rd Edition

Здесь есть возможность читать онлайн «Debra Cameron - Learning GNU Emacs, 3rd Edition» весь текст электронной книги совершенно бесплатно (целиком полную версию без сокращений). В некоторых случаях можно слушать аудио, скачать через торрент в формате fb2 и присутствует краткое содержание. Год выпуска: 2004, ISBN: 2004, Издательство: O'Reilly Media, Жанр: Программы, Программирование, на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале библиотеки ЛибКат.

Learning GNU Emacs, 3rd Edition: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «Learning GNU Emacs, 3rd Edition»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

GNU Emacs is the most popular and widespread of the Emacs family of editors. It is also the most powerful and flexible. Unlike all other text editors, GNU Emacs is a complete working environment—you can stay within Emacs all day without leaving.
, 3rd Edition tells readers how to get started with the GNU Emacs editor. It is a thorough guide that will also "grow" with you: as you become more proficient, this book will help you learn how to use Emacs more effectively. It takes you from basic Emacs usage (simple text editing) to moderately complicated customization and programming.The third edition of
describes Emacs 21.3 from the ground up, including new user interface features such as an icon-based toolbar and an interactive interface to Emacs customization. A new chapter details how to install and run Emacs on Mac OS X, Windows, and Linux, including tips for using Emacs effectively on those platforms.
, third edition, covers:
• How to edit files with Emacs
• Using the operating system shell through Emacs
• How to use multiple buffers, windows, and frames
• Customizing Emacs interactively and through startup files
• Writing macros to circumvent repetitious tasks
• Emacs as a programming environment for Java, C++, and Perl, among others
• Using Emacs as an integrated development environment (IDE)
• Integrating Emacs with CVS, Subversion and other change control systems for projects with multiple developers
• Writing HTML, XHTML, and XML with Emacs
• The basics of Emacs Lisp
The book is aimed at new Emacs users, whether or not they are programmers. Also useful for readers switching from other Emacs implementations to GNU Emacs.

Learning GNU Emacs, 3rd Edition — читать онлайн бесплатно полную книгу (весь текст) целиком

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «Learning GNU Emacs, 3rd Edition», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать
Variable Default Description
major-mode fundamental-mode Default mode for new buffers, unless set by virtue of the filename; when setting this variable, remember to precede the mode name with a single quote (the value is a symbol ).
default-major-mode fundamental-mode The major mode for new buffers.
auto-mode-alist ( see Chapter 10 ) List of associations between filenames and major modes.
interpreter-mode-alist ( see Chapter 9 ) A list similar to auto-mode-alist, but for interpreted languages like Perl and Python.
indent-tabs-mode t If non- nil, allow the use of tab characters (as well as spaces) when indenting with C-j. This can really drive other developers mad, so you should probably disable this if you are working on a team.
dired-kept-versions 2 When cleaning a directory in Dired, keep this many versions of files.
dired-garbage-files-regexp \\.\\(?:aux\\|bak\\|dvi\\|log\\|orig\\|rej\\|toc\\)\\' Defines what file types are marked when selecting garbage files in Dired.
dired-listing-switches " -al" Options passed to the lscommand for generating diredlistings; should contain at least " -l".
dired-view-command-alist ( see Chapter 10) Defines helper applications for Dired to invoke when opening certain types of files.
shell-file-name varies Filename of shell to run with functions that use one, such as list-directory, dired, and compile; taken from value of the Unix environment variable SHELL.
load-path List of directories to search for Lisp packages to load (see Chapter 11); often set to lisp subdirectory of directory where Emacs source code is installed on your system.
lpr-switches nil Defines command-line options to pass to lpr.
calendar-week-start-day 0 Day defined as first day of the week. 0 is Sunday, 1 is Monday and so on.
picture-tab-characters " !-~" Characters interpreted as tab stops in picture mode if they appear on a line of their own.

Table A-5. Text editing

Table A-5. Text editing ( Chapter 2, 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. , Chapter 7, Chapter 8)

Variable Default Description
sentence-end ( see Chapter 13 ) Regular expression that matches ends of sentences.
sentence-end-double-space t If non- nil, do not treat single spaces after periods as ends of sentences.
paragraph-separate " [ \t\f]*$" Regular expression that matches beginnings of lines that separate paragraphs.
paragraph-start " \f\\|[ \t]*$" Regular expression that matches beginnings of lines that start or separate paragraphs.
page-delimiter " ^\f" Regular expression that matches page breaks.
tex-default-mode 'latex-mode Mode to invoke when creating a file that could be either TEX or LATEX.
tex-run-command " tex" Character string used as a command to run in a subprocess on a file in mode.
latex-run-command " latex" String used as a command to run LATEX in a subprocess.
slitex-run-command " slitex" String used as a command to run SliTEX in a subprocess.
tex-dvi-print-command " lpr -d" Character string used as a command to print a file in tex mode with C-c C-p.
tex-alt-dvi-print-command " lpr -d" Command to direct .dvi files to a secondary printer.
tex-dvi-view-command (if (eq window-system 'x) "xdvi" "dvi2tty * | cat -s") Character string used as command to view a .dvi output file with C-c C-v; this expression yields xdvi on X Window systems, and a terminal-based alternative on others. This will only work if a Unix-like operating environment is present (such as Mac OS X, or Cygwin under Windows).
tex-offer-save t If non- nil, offer to save any unsaved buffers before running TEX.
tex-show-queue-command " lpq" Character string used as command to show the print queue with C-c C-qin Tex mode.
tex-directory " ." Directory for TEX to put temporary files in; default is the current directory.
outline-regexp " [*\f]+" Regular expression that matches heading lines in outline mode.
outline-heading-end-regexp " \n" Regular expression that matches ends of heading lines in outline mode.
selective-display-ellipses t If t, display "..." in place of hidden text in outline mode; otherwise don't display anything.

Table A-6. Programming

Table A-6. Programming ( Chapter 9)

Variable Default Description
compile-command "make -k" Default compilation command to use when compiling files via Emacs language modes. For example, to set ant as the default compilation tool, set this to " ant -emacs".
compilation-error-regexp-alist ( very long regular expression ) Regular expression designed to match error messages from all the compilers supported by Emacs.
comment-column 32 The column at which Emacs should insert comments. If code reaches this column, inserts comment one space beyond code.
comment-multi-line nil If t, continue comment on the next line. If nil, start a new comment on the next line.
c-style-alist ( see Chapter 9 ) The code indentation style to use. Many are available; see Chapter 9.
debug-on-error nil If non- nil, emacs will go into debug mode when an error occurs in evaluating Lisp code. This can be handy when you're trying out a new function, but you probably want to read the debugger's help first to learn your way around.
c-macro-preprocessor "/lib/cpp -C" Defines which command is used to invoke C preprocessor when you type C-c C-e.
stack-trace-on-error nil If non- nil, Emacs displays a stack trace when an error occurs in evaluating Lisp code. This is useful in similar situations as debug-on-errorand might give you enough information without having to learn the debugger interface.

Table A-7. Completion

Читать дальше
Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «Learning GNU Emacs, 3rd Edition»

Представляем Вашему вниманию похожие книги на «Learning GNU Emacs, 3rd Edition» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё непрочитанные произведения.


Отзывы о книге «Learning GNU Emacs, 3rd Edition»

Обсуждение, отзывы о книге «Learning GNU Emacs, 3rd Edition» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.

x