diff options
| author | Glenn Morris | 2012-04-13 18:46:06 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-04-13 18:46:06 -0700 |
| commit | 35dc09a19c606f9e7a078df32d030451c7c90ba1 (patch) | |
| tree | 8df2ade99ad8620568094d61bba9dd4ac8856c43 /doc | |
| parent | 327732d994c98849c765659aa2164a7482b6beab (diff) | |
| parent | ad3a2b411dc2b34f5d6fa434aee3ca56fa7a88e7 (diff) | |
| download | emacs-35dc09a19c606f9e7a078df32d030451c7c90ba1.tar.gz emacs-35dc09a19c606f9e7a078df32d030451c7c90ba1.zip | |
Merge from emacs-24, up to 2012-04-10T02:06:19Z!larsi@gnus.org
Diffstat (limited to 'doc')
57 files changed, 870 insertions, 558 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 43ae54b2c02..156f59471f6 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,47 @@ | |||
| 1 | 2012-04-14 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * mule.texi (Select Input Method, Coding Systems, Recognize Coding): | ||
| 4 | Copyedits. | ||
| 5 | (Coding Systems): Mac OS X apparently uses newlines for EOL. | ||
| 6 | (Recognize Coding): Remove old auto-coding-regexp-alist example. | ||
| 7 | auto-coding-functions does not override coding: tags. | ||
| 8 | Remove rmail-decode-mime-charset; it no longer has any effect. | ||
| 9 | |||
| 10 | 2012-04-14 Chong Yidong <cyd@gnu.org> | ||
| 11 | |||
| 12 | * custom.texi (Creating Custom Themes): Add reference to Custom | ||
| 13 | Themes node in Lisp manual. | ||
| 14 | |||
| 15 | 2012-04-14 Glenn Morris <rgm@gnu.org> | ||
| 16 | |||
| 17 | * mule.texi (International): Copyedits. | ||
| 18 | (International Chars): Update C-x = example output. | ||
| 19 | (Disabling Multibyte): Rename from "Enabling Multibyte". | ||
| 20 | Clarify what "unibyte: t" does, and mode-line description. | ||
| 21 | (Unibyte Mode): Update for "Disabling Multibyte" node name change. | ||
| 22 | Use Texinfo recommended convention for quotes+punctuation. | ||
| 23 | (Language Environments): Copyedits. | ||
| 24 | (Input Methods): Copyedits. Use "^" for the postfix example, | ||
| 25 | because it is less confusing inside Info's `quotes'. | ||
| 26 | |||
| 27 | * custom.texi (Specifying File Variables): Fix "unibyte" description. | ||
| 28 | Update for "Disabling Multibyte" node name change. | ||
| 29 | * emacs.texi: Update for "Disabling Multibyte" node name change. | ||
| 30 | |||
| 31 | * abbrevs.texi, arevert-xtra.texi, buffers.texi, building.texi: | ||
| 32 | * cmdargs.texi, custom.texi, entering.texi, files.texi, frames.texi: | ||
| 33 | * glossary.texi, help.texi, macos.texi, maintaining.texi, mini.texi: | ||
| 34 | * misc.texi, package.texi, programs.texi, screen.texi, search.texi: | ||
| 35 | * sending.texi, text.texi, trouble.texi: | ||
| 36 | Use @file for buffers, per the Texinfo manual. | ||
| 37 | |||
| 38 | * entering.texi (Entering Emacs): | ||
| 39 | Do not mention initial-buffer-choice = t. | ||
| 40 | |||
| 41 | * misc.texi (Gnus Startup): Use @env for environment variables. | ||
| 42 | |||
| 43 | * Makefile.in: Replace non-portable use of $< in ordinary rules. | ||
| 44 | |||
| 1 | 2012-04-12 Glenn Morris <rgm@gnu.org> | 45 | 2012-04-12 Glenn Morris <rgm@gnu.org> |
| 2 | 46 | ||
| 3 | * ack.texi (Acknowledgments): Don't mention obsolete mailpost.el. | 47 | * ack.texi (Acknowledgments): Don't mention obsolete mailpost.el. |
diff --git a/doc/emacs/Makefile.in b/doc/emacs/Makefile.in index 2ed265ecd70..b25f6dbe490 100644 --- a/doc/emacs/Makefile.in +++ b/doc/emacs/Makefile.in | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #### Makefile for the Emacs Manual | 1 | #### Makefile for the Emacs Manual |
| 2 | 2 | ||
| 3 | # Copyright (C) 1994, 1996-2012 Free Software Foundation, Inc. | 3 | # Copyright (C) 1994, 1996-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | # This file is part of GNU Emacs. | 5 | # This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -127,31 +127,31 @@ ps: emacs.ps | |||
| 127 | # Note that all the Info targets build the Info files in srcdir. | 127 | # Note that all the Info targets build the Info files in srcdir. |
| 128 | # There is no provision for Info files to exist in the build directory. | 128 | # There is no provision for Info files to exist in the build directory. |
| 129 | # In a distribution of Emacs, the Info files should be up to date. | 129 | # In a distribution of Emacs, the Info files should be up to date. |
| 130 | 130 | # Note: "<" is not portable in ordinary make rules. | |
| 131 | $(infodir)/emacs: ${EMACSSOURCES} | 131 | $(infodir)/emacs: ${EMACSSOURCES} |
| 132 | $(mkinfodir) | 132 | $(mkinfodir) |
| 133 | $(MAKEINFO) $(MAKEINFO_OPTS) -o $@ $< | 133 | $(MAKEINFO) $(MAKEINFO_OPTS) -o $@ ${srcdir}/emacs.texi |
| 134 | 134 | ||
| 135 | emacs.dvi: ${EMACSSOURCES} | 135 | emacs.dvi: ${EMACSSOURCES} |
| 136 | $(ENVADD) $(TEXI2DVI) $< | 136 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs.texi |
| 137 | 137 | ||
| 138 | emacs.ps: emacs.dvi | 138 | emacs.ps: emacs.dvi |
| 139 | $(DVIPS) -o $@ $< | 139 | $(DVIPS) -o $@ emacs.dvi |
| 140 | 140 | ||
| 141 | emacs.pdf: ${EMACSSOURCES} | 141 | emacs.pdf: ${EMACSSOURCES} |
| 142 | $(ENVADD) $(TEXI2PDF) $< | 142 | $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs.texi |
| 143 | 143 | ||
| 144 | emacs.html: ${EMACSSOURCES} | 144 | emacs.html: ${EMACSSOURCES} |
| 145 | $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ $< | 145 | $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ ${srcdir}/emacs.texi |
| 146 | 146 | ||
| 147 | emacs-xtra.dvi: $(EMACS_XTRA) | 147 | emacs-xtra.dvi: $(EMACS_XTRA) |
| 148 | $(ENVADD) $(TEXI2DVI) $< | 148 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-xtra.texi |
| 149 | 149 | ||
| 150 | emacs-xtra.ps: emacs-xtra.dvi | 150 | emacs-xtra.ps: emacs-xtra.dvi |
| 151 | $(DVIPS) -o $@ $< | 151 | $(DVIPS) -o $@ emacs-xtra.dvi |
| 152 | 152 | ||
| 153 | emacs-xtra.pdf: $(EMACS_XTRA) | 153 | emacs-xtra.pdf: $(EMACS_XTRA) |
| 154 | $(ENVADD) $(TEXI2PDF) $< | 154 | $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-xtra.texi |
| 155 | 155 | ||
| 156 | .PHONY: mostlyclean clean distclean maintainer-clean infoclean | 156 | .PHONY: mostlyclean clean distclean maintainer-clean infoclean |
| 157 | 157 | ||
diff --git a/doc/emacs/abbrevs.texi b/doc/emacs/abbrevs.texi index f3b272c359d..a8a34e62c1f 100644 --- a/doc/emacs/abbrevs.texi +++ b/doc/emacs/abbrevs.texi | |||
| @@ -261,12 +261,12 @@ expands to itself, and save it to your abbrev file. | |||
| 261 | @kbd{M-x edit-abbrevs} allows you to add, change or kill abbrev | 261 | @kbd{M-x edit-abbrevs} allows you to add, change or kill abbrev |
| 262 | definitions by editing a list of them in an Emacs buffer. The list has | 262 | definitions by editing a list of them in an Emacs buffer. The list has |
| 263 | the same format described above. The buffer of abbrevs is called | 263 | the same format described above. The buffer of abbrevs is called |
| 264 | @samp{*Abbrevs*}, and is in Edit-Abbrevs mode. Type @kbd{C-c C-c} in | 264 | @file{*Abbrevs*}, and is in Edit-Abbrevs mode. Type @kbd{C-c C-c} in |
| 265 | this buffer to install the abbrev definitions as specified in the | 265 | this buffer to install the abbrev definitions as specified in the |
| 266 | buffer---and delete any abbrev definitions not listed. | 266 | buffer---and delete any abbrev definitions not listed. |
| 267 | 267 | ||
| 268 | The command @code{edit-abbrevs} is actually the same as | 268 | The command @code{edit-abbrevs} is actually the same as |
| 269 | @code{list-abbrevs} except that it selects the buffer @samp{*Abbrevs*} | 269 | @code{list-abbrevs} except that it selects the buffer @file{*Abbrevs*} |
| 270 | whereas @code{list-abbrevs} merely displays it in another window. | 270 | whereas @code{list-abbrevs} merely displays it in another window. |
| 271 | 271 | ||
| 272 | @node Saving Abbrevs | 272 | @node Saving Abbrevs |
diff --git a/doc/emacs/arevert-xtra.texi b/doc/emacs/arevert-xtra.texi index 4032c0b9882..55d7646542d 100644 --- a/doc/emacs/arevert-xtra.texi +++ b/doc/emacs/arevert-xtra.texi | |||
| @@ -93,8 +93,8 @@ deleting or changing marks or flags will mark it modified again. | |||
| 93 | 93 | ||
| 94 | Remote Dired buffers are not auto-reverted (because it may be slow). | 94 | Remote Dired buffers are not auto-reverted (because it may be slow). |
| 95 | Neither are Dired buffers for which you used shell wildcards or file | 95 | Neither are Dired buffers for which you used shell wildcards or file |
| 96 | arguments to list only some of the files. @samp{*Find*} and | 96 | arguments to list only some of the files. @file{*Find*} and |
| 97 | @samp{*Locate*} buffers do not auto-revert either. | 97 | @file{*Locate*} buffers do not auto-revert either. |
| 98 | 98 | ||
| 99 | @c FIXME? This should be in the elisp manual? | 99 | @c FIXME? This should be in the elisp manual? |
| 100 | @node Supporting additional buffers | 100 | @node Supporting additional buffers |
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index d0ec1103580..d2783bcb0ba 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | the file's text. Each time you invoke Dired, a buffer is used to hold | 11 | the file's text. Each time you invoke Dired, a buffer is used to hold |
| 12 | the directory listing. If you send a message with @kbd{C-x m}, a | 12 | the directory listing. If you send a message with @kbd{C-x m}, a |
| 13 | buffer is used to hold the text of the message. When you ask for a | 13 | buffer is used to hold the text of the message. When you ask for a |
| 14 | command's documentation, that appears in a buffer named @samp{*Help*}. | 14 | command's documentation, that appears in a buffer named @file{*Help*}. |
| 15 | 15 | ||
| 16 | Each buffer has a unique name, which can be of any length. When a | 16 | Each buffer has a unique name, which can be of any length. When a |
| 17 | buffer is displayed in a window, its name is shown in the mode line | 17 | buffer is displayed in a window, its name is shown in the mode line |
| @@ -19,7 +19,7 @@ buffer is displayed in a window, its name is shown in the mode line | |||
| 19 | matters in buffer names. Most buffers are made by visiting files, and | 19 | matters in buffer names. Most buffers are made by visiting files, and |
| 20 | their names are derived from the files' names; however, you can also | 20 | their names are derived from the files' names; however, you can also |
| 21 | create an empty buffer with any name you want. A newly started Emacs | 21 | create an empty buffer with any name you want. A newly started Emacs |
| 22 | has several buffers, including one named @samp{*scratch*}, which can | 22 | has several buffers, including one named @file{*scratch*}, which can |
| 23 | be used for evaluating Lisp expressions and is not associated with any | 23 | be used for evaluating Lisp expressions and is not associated with any |
| 24 | file (@pxref{Lisp Interaction}). | 24 | file (@pxref{Lisp Interaction}). |
| 25 | 25 | ||
| @@ -198,7 +198,7 @@ CRM Buffer Size Mode File | |||
| 198 | @end smallexample | 198 | @end smallexample |
| 199 | 199 | ||
| 200 | @noindent | 200 | @noindent |
| 201 | The buffer @samp{*Help*} was made by a help request (@pxref{Help}); it | 201 | The buffer @file{*Help*} was made by a help request (@pxref{Help}); it |
| 202 | is not visiting any file. The buffer @code{src} was made by Dired on | 202 | is not visiting any file. The buffer @code{src} was made by Dired on |
| 203 | the directory @file{~/cvs/emacs/src/}. You can list only buffers that | 203 | the directory @file{~/cvs/emacs/src/}. You can list only buffers that |
| 204 | are visiting files by giving the command a prefix argument, as in | 204 | are visiting files by giving the command a prefix argument, as in |
| @@ -248,9 +248,9 @@ happens and no renaming is done. | |||
| 248 | @kbd{M-x rename-uniquely} renames the current buffer to a similar | 248 | @kbd{M-x rename-uniquely} renames the current buffer to a similar |
| 249 | name with a numeric suffix added to make it both different and unique. | 249 | name with a numeric suffix added to make it both different and unique. |
| 250 | This command does not need an argument. It is useful for creating | 250 | This command does not need an argument. It is useful for creating |
| 251 | multiple shell buffers: if you rename the @samp{*shell*} buffer, then | 251 | multiple shell buffers: if you rename the @file{*shell*} buffer, then |
| 252 | do @kbd{M-x shell} again, it makes a new shell buffer named | 252 | do @kbd{M-x shell} again, it makes a new shell buffer named |
| 253 | @samp{*shell*}; meanwhile, the old shell buffer continues to exist | 253 | @file{*shell*}; meanwhile, the old shell buffer continues to exist |
| 254 | under its new name. This method is also good for mail buffers, | 254 | under its new name. This method is also good for mail buffers, |
| 255 | compilation buffers, and most Emacs features that create special | 255 | compilation buffers, and most Emacs features that create special |
| 256 | buffers with particular names. (With some of these features, such as | 256 | buffers with particular names. (With some of these features, such as |
| @@ -354,7 +354,7 @@ operations on buffers, through an interface similar to Dired | |||
| 354 | @findex buffer-menu | 354 | @findex buffer-menu |
| 355 | @findex buffer-menu-other-window | 355 | @findex buffer-menu-other-window |
| 356 | To use the buffer menu, type @kbd{C-x C-b} and switch to the window | 356 | To use the buffer menu, type @kbd{C-x C-b} and switch to the window |
| 357 | displaying the @samp{*Buffer List*} buffer. You can also type | 357 | displaying the @file{*Buffer List*} buffer. You can also type |
| 358 | @kbd{M-x buffer-menu} to open the buffer menu in the selected window. | 358 | @kbd{M-x buffer-menu} to open the buffer menu in the selected window. |
| 359 | Alternatively, the command @kbd{M-x buffer-menu-other-window} opens | 359 | Alternatively, the command @kbd{M-x buffer-menu-other-window} opens |
| 360 | the buffer menu in another window, and selects that window. | 360 | the buffer menu in another window, and selects that window. |
| @@ -409,11 +409,11 @@ Quit the buffer menu---immediately display the most recent formerly | |||
| 409 | visible buffer in its place. | 409 | visible buffer in its place. |
| 410 | @item @key{RET} | 410 | @item @key{RET} |
| 411 | @itemx f | 411 | @itemx f |
| 412 | Immediately select this line's buffer in place of the @samp{*Buffer | 412 | Immediately select this line's buffer in place of the @file{*Buffer |
| 413 | List*} buffer. | 413 | List*} buffer. |
| 414 | @item o | 414 | @item o |
| 415 | Immediately select this line's buffer in another window as if by | 415 | Immediately select this line's buffer in another window as if by |
| 416 | @kbd{C-x 4 b}, leaving @samp{*Buffer List*} visible. | 416 | @kbd{C-x 4 b}, leaving @file{*Buffer List*} visible. |
| 417 | @item C-o | 417 | @item C-o |
| 418 | Immediately display this line's buffer in another window, but don't | 418 | Immediately display this line's buffer in another window, but don't |
| 419 | select the window. | 419 | select the window. |
| @@ -422,7 +422,7 @@ Immediately select this line's buffer in a full-screen window. | |||
| 422 | @item 2 | 422 | @item 2 |
| 423 | Immediately set up two windows, with this line's buffer selected in | 423 | Immediately set up two windows, with this line's buffer selected in |
| 424 | one, and the previously current buffer (aside from the buffer | 424 | one, and the previously current buffer (aside from the buffer |
| 425 | @samp{*Buffer List*}) displayed in the other. | 425 | @file{*Buffer List*}) displayed in the other. |
| 426 | @item b | 426 | @item b |
| 427 | Bury the buffer listed on this line. | 427 | Bury the buffer listed on this line. |
| 428 | @item m | 428 | @item m |
| @@ -448,19 +448,19 @@ the inclusion of such buffers in the buffer list. | |||
| 448 | suitable buffer, and turn on Buffer Menu mode in it. Everything else | 448 | suitable buffer, and turn on Buffer Menu mode in it. Everything else |
| 449 | described above is implemented by the special commands provided in | 449 | described above is implemented by the special commands provided in |
| 450 | Buffer Menu mode. One consequence of this is that you can switch from | 450 | Buffer Menu mode. One consequence of this is that you can switch from |
| 451 | the @samp{*Buffer List*} buffer to another Emacs buffer, and edit | 451 | the @file{*Buffer List*} buffer to another Emacs buffer, and edit |
| 452 | there. You can reselect the @samp{*Buffer List*} buffer later, to | 452 | there. You can reselect the @file{*Buffer List*} buffer later, to |
| 453 | perform the operations already requested, or you can kill it, or pay | 453 | perform the operations already requested, or you can kill it, or pay |
| 454 | no further attention to it. | 454 | no further attention to it. |
| 455 | 455 | ||
| 456 | Normally, the buffer @samp{*Buffer List*} is not updated | 456 | Normally, the buffer @file{*Buffer List*} is not updated |
| 457 | automatically when buffers are created and killed; its contents are | 457 | automatically when buffers are created and killed; its contents are |
| 458 | just text. If you have created, deleted or renamed buffers, the way | 458 | just text. If you have created, deleted or renamed buffers, the way |
| 459 | to update @samp{*Buffer List*} to show what you have done is to type | 459 | to update @file{*Buffer List*} to show what you have done is to type |
| 460 | @kbd{g} (@code{revert-buffer}). You can make this happen regularly | 460 | @kbd{g} (@code{revert-buffer}). You can make this happen regularly |
| 461 | every @code{auto-revert-interval} seconds if you enable Auto Revert | 461 | every @code{auto-revert-interval} seconds if you enable Auto Revert |
| 462 | mode in this buffer, as long as it is not marked modified. Global | 462 | mode in this buffer, as long as it is not marked modified. Global |
| 463 | Auto Revert mode applies to the @samp{*Buffer List*} buffer only if | 463 | Auto Revert mode applies to the @file{*Buffer List*} buffer only if |
| 464 | @code{global-auto-revert-non-file-buffers} is non-@code{nil}. | 464 | @code{global-auto-revert-non-file-buffers} is non-@code{nil}. |
| 465 | @iftex | 465 | @iftex |
| 466 | @inforef{Autorevert,, emacs-xtra}, for details. | 466 | @inforef{Autorevert,, emacs-xtra}, for details. |
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index 2f977c7d923..61ddc283e31 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi | |||
| @@ -44,7 +44,7 @@ messages and show you where the errors occurred. | |||
| 44 | @table @kbd | 44 | @table @kbd |
| 45 | @item M-x compile | 45 | @item M-x compile |
| 46 | Run a compiler asynchronously under Emacs, with error messages going to | 46 | Run a compiler asynchronously under Emacs, with error messages going to |
| 47 | the @samp{*compilation*} buffer. | 47 | the @file{*compilation*} buffer. |
| 48 | @item M-x recompile | 48 | @item M-x recompile |
| 49 | Invoke a compiler with the same command as in the last invocation of | 49 | Invoke a compiler with the same command as in the last invocation of |
| 50 | @kbd{M-x compile}. | 50 | @kbd{M-x compile}. |
| @@ -57,7 +57,7 @@ Kill the running compilation subprocess. | |||
| 57 | compile}. This reads a shell command line using the minibuffer, and | 57 | compile}. This reads a shell command line using the minibuffer, and |
| 58 | then executes the command by running a shell as a subprocess (or | 58 | then executes the command by running a shell as a subprocess (or |
| 59 | @dfn{inferior process}) of Emacs. The output is inserted in a buffer | 59 | @dfn{inferior process}) of Emacs. The output is inserted in a buffer |
| 60 | named @samp{*compilation*}. The current buffer's default directory is | 60 | named @file{*compilation*}. The current buffer's default directory is |
| 61 | used as the working directory for the execution of the command; | 61 | used as the working directory for the execution of the command; |
| 62 | normally, therefore, compilation takes place in this directory. | 62 | normally, therefore, compilation takes place in this directory. |
| 63 | 63 | ||
| @@ -72,19 +72,19 @@ specified is automatically stored in the variable | |||
| 72 | type @kbd{M-x compile}. A file can also specify a file-local value | 72 | type @kbd{M-x compile}. A file can also specify a file-local value |
| 73 | for @code{compile-command} (@pxref{File Variables}). | 73 | for @code{compile-command} (@pxref{File Variables}). |
| 74 | 74 | ||
| 75 | Starting a compilation displays the @samp{*compilation*} buffer in | 75 | Starting a compilation displays the @file{*compilation*} buffer in |
| 76 | another window but does not select it. While the compilation is | 76 | another window but does not select it. While the compilation is |
| 77 | running, the word @samp{run} is shown in the major mode indicator for | 77 | running, the word @samp{run} is shown in the major mode indicator for |
| 78 | the @samp{*compilation*} buffer, and the word @samp{Compiling} appears | 78 | the @file{*compilation*} buffer, and the word @samp{Compiling} appears |
| 79 | in all mode lines. You do not have to keep the @samp{*compilation*} | 79 | in all mode lines. You do not have to keep the @file{*compilation*} |
| 80 | buffer visible while compilation is running; it continues in any case. | 80 | buffer visible while compilation is running; it continues in any case. |
| 81 | When the compilation ends, for whatever reason, the mode line of the | 81 | When the compilation ends, for whatever reason, the mode line of the |
| 82 | @samp{*compilation*} buffer changes to say @samp{exit} (followed by | 82 | @file{*compilation*} buffer changes to say @samp{exit} (followed by |
| 83 | the exit code: @samp{[0]} for a normal exit), or @samp{signal} (if a | 83 | the exit code: @samp{[0]} for a normal exit), or @samp{signal} (if a |
| 84 | signal terminated the process). | 84 | signal terminated the process). |
| 85 | 85 | ||
| 86 | If you want to watch the compilation transcript as it appears, | 86 | If you want to watch the compilation transcript as it appears, |
| 87 | switch to the @samp{*compilation*} buffer and move point to the end of | 87 | switch to the @file{*compilation*} buffer and move point to the end of |
| 88 | the buffer. When point is at the end, new compilation output is | 88 | the buffer. When point is at the end, new compilation output is |
| 89 | inserted above point, which remains at the end. Otherwise, point | 89 | inserted above point, which remains at the end. Otherwise, point |
| 90 | remains fixed while compilation output is added at the end of the | 90 | remains fixed while compilation output is added at the end of the |
| @@ -93,7 +93,7 @@ buffer. | |||
| 93 | @cindex compilation buffer, keeping point at end | 93 | @cindex compilation buffer, keeping point at end |
| 94 | @vindex compilation-scroll-output | 94 | @vindex compilation-scroll-output |
| 95 | If you change the variable @code{compilation-scroll-output} to a | 95 | If you change the variable @code{compilation-scroll-output} to a |
| 96 | non-@code{nil} value, the @samp{*compilation*} buffer scrolls | 96 | non-@code{nil} value, the @file{*compilation*} buffer scrolls |
| 97 | automatically to follow the output. If the value is | 97 | automatically to follow the output. If the value is |
| 98 | @code{first-error}, scrolling stops when the first error appears, | 98 | @code{first-error}, scrolling stops when the first error appears, |
| 99 | leaving point at that error. For any other non-@code{nil} value, | 99 | leaving point at that error. For any other non-@code{nil} value, |
| @@ -103,22 +103,22 @@ scrolling continues until there is no more output. | |||
| 103 | To rerun the last compilation with the same command, type @kbd{M-x | 103 | To rerun the last compilation with the same command, type @kbd{M-x |
| 104 | recompile}. This reuses the compilation command from the last | 104 | recompile}. This reuses the compilation command from the last |
| 105 | invocation of @kbd{M-x compile}. It also reuses the | 105 | invocation of @kbd{M-x compile}. It also reuses the |
| 106 | @samp{*compilation*} buffer and starts the compilation in its default | 106 | @file{*compilation*} buffer and starts the compilation in its default |
| 107 | directory, which is the directory in which the previous compilation | 107 | directory, which is the directory in which the previous compilation |
| 108 | was started. | 108 | was started. |
| 109 | 109 | ||
| 110 | @findex kill-compilation | 110 | @findex kill-compilation |
| 111 | Starting a new compilation also kills any compilation already | 111 | Starting a new compilation also kills any compilation already |
| 112 | running in @samp{*compilation*}, as the buffer can only handle one | 112 | running in @file{*compilation*}, as the buffer can only handle one |
| 113 | compilation at any time. However, @kbd{M-x compile} asks for | 113 | compilation at any time. However, @kbd{M-x compile} asks for |
| 114 | confirmation before actually killing a compilation that is running. | 114 | confirmation before actually killing a compilation that is running. |
| 115 | You can also kill the compilation process with @kbd{M-x | 115 | You can also kill the compilation process with @kbd{M-x |
| 116 | kill-compilation}. | 116 | kill-compilation}. |
| 117 | 117 | ||
| 118 | To run two compilations at once, start the first one, then rename | 118 | To run two compilations at once, start the first one, then rename |
| 119 | the @samp{*compilation*} buffer (perhaps using @code{rename-uniquely}; | 119 | the @file{*compilation*} buffer (perhaps using @code{rename-uniquely}; |
| 120 | @pxref{Misc Buffer}), then switch buffers and start the other | 120 | @pxref{Misc Buffer}), then switch buffers and start the other |
| 121 | compilation. This will create a new @samp{*compilation*} buffer. | 121 | compilation. This will create a new @file{*compilation*} buffer. |
| 122 | 122 | ||
| 123 | @vindex compilation-environment | 123 | @vindex compilation-environment |
| 124 | You can control the environment passed to the compilation command | 124 | You can control the environment passed to the compilation command |
| @@ -133,7 +133,7 @@ variable settings override the usual ones. | |||
| 133 | @cindex Compilation mode | 133 | @cindex Compilation mode |
| 134 | @cindex mode, Compilation | 134 | @cindex mode, Compilation |
| 135 | @cindex locus | 135 | @cindex locus |
| 136 | The @samp{*compilation*} buffer uses a major mode called Compilation | 136 | The @file{*compilation*} buffer uses a major mode called Compilation |
| 137 | mode. Compilation mode turns each error message in the buffer into a | 137 | mode. Compilation mode turns each error message in the buffer into a |
| 138 | hyperlink; you can move point to it and type @key{RET}, or click on it | 138 | hyperlink; you can move point to it and type @key{RET}, or click on it |
| 139 | with the mouse (@pxref{Mouse References}), to visit the @dfn{locus} of | 139 | with the mouse (@pxref{Mouse References}), to visit the @dfn{locus} of |
| @@ -145,10 +145,10 @@ position in a file where that error occurred. | |||
| 145 | If you change the variable | 145 | If you change the variable |
| 146 | @code{compilation-auto-jump-to-first-error} to a non-@code{nil} value, | 146 | @code{compilation-auto-jump-to-first-error} to a non-@code{nil} value, |
| 147 | Emacs automatically visits the locus of the first error message that | 147 | Emacs automatically visits the locus of the first error message that |
| 148 | appears in the @samp{*compilation*} buffer. | 148 | appears in the @file{*compilation*} buffer. |
| 149 | 149 | ||
| 150 | Compilation mode provides the following additional commands. These | 150 | Compilation mode provides the following additional commands. These |
| 151 | commands can also be used in @samp{*grep*} buffers, where the | 151 | commands can also be used in @file{*grep*} buffers, where the |
| 152 | hyperlinks are search matches rather than error messages (@pxref{Grep | 152 | hyperlinks are search matches rather than error messages (@pxref{Grep |
| 153 | Searching}). | 153 | Searching}). |
| 154 | 154 | ||
| @@ -190,7 +190,7 @@ mode buffer. The first time you invoke it after a compilation, it | |||
| 190 | visits the locus of the first error message. Each subsequent | 190 | visits the locus of the first error message. Each subsequent |
| 191 | @w{@kbd{C-x `}} visits the next error, in a similar fashion. If you | 191 | @w{@kbd{C-x `}} visits the next error, in a similar fashion. If you |
| 192 | visit a specific error with @key{RET} or a mouse click in the | 192 | visit a specific error with @key{RET} or a mouse click in the |
| 193 | @samp{*compilation*} buffer, subsequent @w{@kbd{C-x `}} commands | 193 | @file{*compilation*} buffer, subsequent @w{@kbd{C-x `}} commands |
| 194 | advance from there. When @w{@kbd{C-x `}} finds no more error messages | 194 | advance from there. When @w{@kbd{C-x `}} finds no more error messages |
| 195 | to visit, it signals an error. @w{@kbd{C-u C-x `}} starts again from | 195 | to visit, it signals an error. @w{@kbd{C-u C-x `}} starts again from |
| 196 | the beginning of the compilation buffer, and visits the first locus. | 196 | the beginning of the compilation buffer, and visits the first locus. |
| @@ -199,8 +199,8 @@ the beginning of the compilation buffer, and visits the first locus. | |||
| 199 | through errors in the opposite direction. | 199 | through errors in the opposite direction. |
| 200 | 200 | ||
| 201 | The @code{next-error} and @code{previous-error} commands don't just | 201 | The @code{next-error} and @code{previous-error} commands don't just |
| 202 | act on the errors or matches listed in @samp{*compilation*} and | 202 | act on the errors or matches listed in @file{*compilation*} and |
| 203 | @samp{*grep*} buffers; they also know how to iterate through error or | 203 | @file{*grep*} buffers; they also know how to iterate through error or |
| 204 | match lists produced by other commands, such as @kbd{M-x occur} | 204 | match lists produced by other commands, such as @kbd{M-x occur} |
| 205 | (@pxref{Other Repeating Search}). If you are already in a buffer | 205 | (@pxref{Other Repeating Search}). If you are already in a buffer |
| 206 | containing error messages or matches, those are the ones that are | 206 | containing error messages or matches, those are the ones that are |
| @@ -224,7 +224,7 @@ highlights the relevant source line. The duration of this highlight | |||
| 224 | is determined by the variable @code{next-error-highlight}. | 224 | is determined by the variable @code{next-error-highlight}. |
| 225 | 225 | ||
| 226 | @vindex compilation-context-lines | 226 | @vindex compilation-context-lines |
| 227 | If the @samp{*compilation*} buffer is shown in a window with a left | 227 | If the @file{*compilation*} buffer is shown in a window with a left |
| 228 | fringe (@pxref{Fringes}), the locus-visiting commands put an arrow in | 228 | fringe (@pxref{Fringes}), the locus-visiting commands put an arrow in |
| 229 | the fringe, pointing to the current error message. If the window has | 229 | the fringe, pointing to the current error message. If the window has |
| 230 | no left fringe, such as on a text-only terminal, these commands scroll | 230 | no left fringe, such as on a text-only terminal, these commands scroll |
| @@ -276,7 +276,7 @@ Names}). | |||
| 276 | command, but specifies the option for a noninteractive shell. This | 276 | command, but specifies the option for a noninteractive shell. This |
| 277 | means, in particular, that the shell should start with no prompt. If | 277 | means, in particular, that the shell should start with no prompt. If |
| 278 | you find your usual shell prompt making an unsightly appearance in the | 278 | you find your usual shell prompt making an unsightly appearance in the |
| 279 | @samp{*compilation*} buffer, it means you have made a mistake in your | 279 | @file{*compilation*} buffer, it means you have made a mistake in your |
| 280 | shell's init file by setting the prompt unconditionally. (This init | 280 | shell's init file by setting the prompt unconditionally. (This init |
| 281 | file may be named @file{.bashrc}, @file{.profile}, @file{.cshrc}, | 281 | file may be named @file{.bashrc}, @file{.profile}, @file{.cshrc}, |
| 282 | @file{.shrc}, etc., depending on what shell you use.) The shell init | 282 | @file{.shrc}, etc., depending on what shell you use.) The shell init |
| @@ -339,14 +339,14 @@ mode (@pxref{Compilation Mode}). | |||
| 339 | @item M-x grep | 339 | @item M-x grep |
| 340 | @itemx M-x lgrep | 340 | @itemx M-x lgrep |
| 341 | Run @command{grep} asynchronously under Emacs, listing matching lines in | 341 | Run @command{grep} asynchronously under Emacs, listing matching lines in |
| 342 | the buffer named @samp{*grep*}. | 342 | the buffer named @file{*grep*}. |
| 343 | @item M-x grep-find | 343 | @item M-x grep-find |
| 344 | @itemx M-x find-grep | 344 | @itemx M-x find-grep |
| 345 | @itemx M-x rgrep | 345 | @itemx M-x rgrep |
| 346 | Run @command{grep} via @code{find}, and collect output in the | 346 | Run @command{grep} via @code{find}, and collect output in the |
| 347 | @samp{*grep*} buffer. | 347 | @file{*grep*} buffer. |
| 348 | @item M-x zrgrep | 348 | @item M-x zrgrep |
| 349 | Run @code{zgrep} and collect output in the @samp{*grep*} buffer. | 349 | Run @code{zgrep} and collect output in the @file{*grep*} buffer. |
| 350 | @item M-x kill-grep | 350 | @item M-x kill-grep |
| 351 | Kill the running @command{grep} subprocess. | 351 | Kill the running @command{grep} subprocess. |
| 352 | @end table | 352 | @end table |
| @@ -369,7 +369,7 @@ can chain @command{grep} commands, like this: | |||
| 369 | grep -nH -e foo *.el | grep bar | grep toto | 369 | grep -nH -e foo *.el | grep bar | grep toto |
| 370 | @end example | 370 | @end example |
| 371 | 371 | ||
| 372 | The output from @command{grep} goes in the @samp{*grep*} buffer. You | 372 | The output from @command{grep} goes in the @file{*grep*} buffer. You |
| 373 | can find the corresponding lines in the original files using @w{@kbd{C-x | 373 | can find the corresponding lines in the original files using @w{@kbd{C-x |
| 374 | `}}, @key{RET}, and so forth, just like compilation errors. | 374 | `}}, @key{RET}, and so forth, just like compilation errors. |
| 375 | 375 | ||
| @@ -1506,14 +1506,14 @@ commands are used; its default is @code{t}. | |||
| 1506 | @section Lisp Interaction Buffers | 1506 | @section Lisp Interaction Buffers |
| 1507 | 1507 | ||
| 1508 | @findex lisp-interaction-mode | 1508 | @findex lisp-interaction-mode |
| 1509 | When Emacs starts up, it contains a buffer named @samp{*scratch*}, | 1509 | When Emacs starts up, it contains a buffer named @file{*scratch*}, |
| 1510 | which is provided for evaluating Emacs Lisp expressions interactively. | 1510 | which is provided for evaluating Emacs Lisp expressions interactively. |
| 1511 | Its major mode is Lisp Interaction mode. You can also enable Lisp | 1511 | Its major mode is Lisp Interaction mode. You can also enable Lisp |
| 1512 | Interaction mode by typing @kbd{M-x lisp-interaction-mode}. | 1512 | Interaction mode by typing @kbd{M-x lisp-interaction-mode}. |
| 1513 | 1513 | ||
| 1514 | @findex eval-print-last-sexp | 1514 | @findex eval-print-last-sexp |
| 1515 | @kindex C-j @r{(Lisp Interaction mode)} | 1515 | @kindex C-j @r{(Lisp Interaction mode)} |
| 1516 | In the @samp{*scratch*} buffer, and other Lisp Interaction mode | 1516 | In the @file{*scratch*} buffer, and other Lisp Interaction mode |
| 1517 | buffers, @kbd{C-j} (@code{eval-print-last-sexp}) evaluates the Lisp | 1517 | buffers, @kbd{C-j} (@code{eval-print-last-sexp}) evaluates the Lisp |
| 1518 | expression before point, and inserts the value at point. Thus, as you | 1518 | expression before point, and inserts the value at point. Thus, as you |
| 1519 | type expressions into the buffer followed by @kbd{C-j} after each | 1519 | type expressions into the buffer followed by @kbd{C-j} after each |
| @@ -1522,7 +1522,7 @@ expressions and their values. All other commands in Lisp Interaction | |||
| 1522 | mode are the same as in Emacs Lisp mode. | 1522 | mode are the same as in Emacs Lisp mode. |
| 1523 | 1523 | ||
| 1524 | @vindex initial-scratch-message | 1524 | @vindex initial-scratch-message |
| 1525 | At startup, the @samp{*scratch*} buffer contains a short message, in | 1525 | At startup, the @file{*scratch*} buffer contains a short message, in |
| 1526 | the form of a Lisp comment, that explains what it is for. This | 1526 | the form of a Lisp comment, that explains what it is for. This |
| 1527 | message is controlled by the variable @code{initial-scratch-message}, | 1527 | message is controlled by the variable @code{initial-scratch-message}, |
| 1528 | which should be either a string, or @code{nil} (which means to | 1528 | which should be either a string, or @code{nil} (which means to |
| @@ -1533,7 +1533,7 @@ suppress the message). | |||
| 1533 | interactively is to use Inferior Emacs Lisp mode, which provides an | 1533 | interactively is to use Inferior Emacs Lisp mode, which provides an |
| 1534 | interface rather like Shell mode (@pxref{Shell Mode}) for evaluating | 1534 | interface rather like Shell mode (@pxref{Shell Mode}) for evaluating |
| 1535 | Emacs Lisp expressions. Type @kbd{M-x ielm} to create an | 1535 | Emacs Lisp expressions. Type @kbd{M-x ielm} to create an |
| 1536 | @samp{*ielm*} buffer which uses this mode. For more information, see | 1536 | @file{*ielm*} buffer which uses this mode. For more information, see |
| 1537 | that command's documentation. | 1537 | that command's documentation. |
| 1538 | 1538 | ||
| 1539 | @node External Lisp | 1539 | @node External Lisp |
| @@ -1555,13 +1555,13 @@ whose names end in @file{.l}, @file{.lsp}, or @file{.lisp}. | |||
| 1555 | evaluated. To begin an external Lisp session, type @kbd{M-x | 1555 | evaluated. To begin an external Lisp session, type @kbd{M-x |
| 1556 | run-lisp}. This runs the program named @command{lisp}, and sets it up | 1556 | run-lisp}. This runs the program named @command{lisp}, and sets it up |
| 1557 | so that both input and output go through an Emacs buffer named | 1557 | so that both input and output go through an Emacs buffer named |
| 1558 | @samp{*inferior-lisp*}. To change the name of the Lisp program run by | 1558 | @file{*inferior-lisp*}. To change the name of the Lisp program run by |
| 1559 | @kbd{M-x run-lisp}, change the variable @code{inferior-lisp-program}. | 1559 | @kbd{M-x run-lisp}, change the variable @code{inferior-lisp-program}. |
| 1560 | 1560 | ||
| 1561 | The major mode for the @samp{*lisp*} buffer is Inferior Lisp mode, | 1561 | The major mode for the @file{*lisp*} buffer is Inferior Lisp mode, |
| 1562 | which combines the characteristics of Lisp mode and Shell mode | 1562 | which combines the characteristics of Lisp mode and Shell mode |
| 1563 | (@pxref{Shell Mode}). To send input to the Lisp session, go to the | 1563 | (@pxref{Shell Mode}). To send input to the Lisp session, go to the |
| 1564 | end of the @samp{*lisp*} buffer and type the input, followed by | 1564 | end of the @file{*lisp*} buffer and type the input, followed by |
| 1565 | @key{RET}. Terminal output from the Lisp session is automatically | 1565 | @key{RET}. Terminal output from the Lisp session is automatically |
| 1566 | inserted in the buffer. | 1566 | inserted in the buffer. |
| 1567 | 1567 | ||
| @@ -1572,7 +1572,7 @@ inserted in the buffer. | |||
| 1572 | buffer to a Lisp session that you had started with @kbd{M-x run-lisp}. | 1572 | buffer to a Lisp session that you had started with @kbd{M-x run-lisp}. |
| 1573 | The expression sent is the top-level Lisp expression at or following | 1573 | The expression sent is the top-level Lisp expression at or following |
| 1574 | point. The resulting value goes as usual into the | 1574 | point. The resulting value goes as usual into the |
| 1575 | @samp{*inferior-lisp*} buffer. Note that the effect of @kbd{C-M-x} in | 1575 | @file{*inferior-lisp*} buffer. Note that the effect of @kbd{C-M-x} in |
| 1576 | Lisp mode is thus very similar to its effect in Emacs Lisp mode | 1576 | Lisp mode is thus very similar to its effect in Emacs Lisp mode |
| 1577 | (@pxref{Lisp Eval}), except that the expression is sent to a different | 1577 | (@pxref{Lisp Eval}), except that the expression is sent to a different |
| 1578 | Lisp environment instead of being evaluated in Emacs. | 1578 | Lisp environment instead of being evaluated in Emacs. |
| @@ -1587,4 +1587,4 @@ to a Scheme subprocess, are very similar. Scheme source files are | |||
| 1587 | edited in Scheme mode, which can be explicitly enabled with @kbd{M-x | 1587 | edited in Scheme mode, which can be explicitly enabled with @kbd{M-x |
| 1588 | scheme-mode}. You can initiate a Scheme session by typing @kbd{M-x | 1588 | scheme-mode}. You can initiate a Scheme session by typing @kbd{M-x |
| 1589 | run-scheme} (the buffer for interacting with Scheme is named | 1589 | run-scheme} (the buffer for interacting with Scheme is named |
| 1590 | @samp{*scheme*}), and send expressions to it by typing @kbd{C-M-x}. | 1590 | @file{*scheme*}), and send expressions to it by typing @kbd{C-M-x}. |
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index 00730cc6510..56af8d426f6 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi | |||
| @@ -157,7 +157,7 @@ Evaluate Lisp expression @var{expression}. | |||
| 157 | @item --insert=@var{file} | 157 | @item --insert=@var{file} |
| 158 | @opindex --insert | 158 | @opindex --insert |
| 159 | @cindex insert file contents, command-line argument | 159 | @cindex insert file contents, command-line argument |
| 160 | Insert the contents of @var{file} into the @samp{*scratch*} buffer | 160 | Insert the contents of @var{file} into the @file{*scratch*} buffer |
| 161 | (@pxref{Lisp Interaction}). This is like what @kbd{M-x insert-file} | 161 | (@pxref{Lisp Interaction}). This is like what @kbd{M-x insert-file} |
| 162 | does (@pxref{Misc File Ops}). | 162 | does (@pxref{Misc File Ops}). |
| 163 | 163 | ||
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index a00423a5826..72b4961e209 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi | |||
| @@ -561,7 +561,7 @@ format of a theme file and how to make one. | |||
| 561 | @vindex custom-theme-directory | 561 | @vindex custom-theme-directory |
| 562 | @cindex color scheme | 562 | @cindex color scheme |
| 563 | Type @kbd{M-x customize-themes} to switch to a buffer named | 563 | Type @kbd{M-x customize-themes} to switch to a buffer named |
| 564 | @samp{*Custom Themes*}, which lists the Custom themes that Emacs knows | 564 | @file{*Custom Themes*}, which lists the Custom themes that Emacs knows |
| 565 | about. By default, Emacs looks for theme files in two locations: the | 565 | about. By default, Emacs looks for theme files in two locations: the |
| 566 | directory specified by the variable @code{custom-theme-directory} | 566 | directory specified by the variable @code{custom-theme-directory} |
| 567 | (which defaults to @file{~/.emacs.d/}), and a directory named | 567 | (which defaults to @file{~/.emacs.d/}), and a directory named |
| @@ -580,11 +580,11 @@ add the directory name to the list variable | |||
| 580 | @code{custom-theme-directory} has the special meaning of the value of | 580 | @code{custom-theme-directory} has the special meaning of the value of |
| 581 | the variable @code{custom-theme-directory}, while @code{t} stands for | 581 | the variable @code{custom-theme-directory}, while @code{t} stands for |
| 582 | the built-in theme directory @file{etc/themes}. The themes listed in | 582 | the built-in theme directory @file{etc/themes}. The themes listed in |
| 583 | the @samp{*Custom Themes*} buffer are those found in the directories | 583 | the @file{*Custom Themes*} buffer are those found in the directories |
| 584 | specified by @code{custom-theme-load-path}. | 584 | specified by @code{custom-theme-load-path}. |
| 585 | 585 | ||
| 586 | @kindex C-x C-s @r{(Custom Themes buffer)} | 586 | @kindex C-x C-s @r{(Custom Themes buffer)} |
| 587 | In the @samp{*Custom Themes*} buffer, you can activate the checkbox | 587 | In the @file{*Custom Themes*} buffer, you can activate the checkbox |
| 588 | next to a Custom theme to enable or disable the theme for the current | 588 | next to a Custom theme to enable or disable the theme for the current |
| 589 | Emacs session. When a Custom theme is enabled, all of its settings | 589 | Emacs session. When a Custom theme is enabled, all of its settings |
| 590 | (variables and faces) take effect in the Emacs session. To apply the | 590 | (variables and faces) take effect in the Emacs session. To apply the |
| @@ -608,7 +608,7 @@ always considered safe. | |||
| 608 | Setting or saving Custom themes actually works by customizing the | 608 | Setting or saving Custom themes actually works by customizing the |
| 609 | variable @code{custom-enabled-themes}. The value of this variable is | 609 | variable @code{custom-enabled-themes}. The value of this variable is |
| 610 | a list of Custom theme names (as Lisp symbols, e.g.@: @code{tango}). | 610 | a list of Custom theme names (as Lisp symbols, e.g.@: @code{tango}). |
| 611 | Instead of using the @samp{*Custom Themes*} buffer to set | 611 | Instead of using the @file{*Custom Themes*} buffer to set |
| 612 | @code{custom-enabled-themes}, you can customize the variable using the | 612 | @code{custom-enabled-themes}, you can customize the variable using the |
| 613 | usual customization interface, e.g.@: with @kbd{M-x customize-option}. | 613 | usual customization interface, e.g.@: with @kbd{M-x customize-option}. |
| 614 | Note that Custom themes are not allowed to set | 614 | Note that Custom themes are not allowed to set |
| @@ -635,7 +635,7 @@ type @kbd{M-x disable-theme}. | |||
| 635 | 635 | ||
| 636 | @findex describe-theme | 636 | @findex describe-theme |
| 637 | To see a description of a Custom theme, type @kbd{?} on its line in | 637 | To see a description of a Custom theme, type @kbd{?} on its line in |
| 638 | the @samp{*Custom Themes*} buffer; or type @kbd{M-x describe-theme} | 638 | the @file{*Custom Themes*} buffer; or type @kbd{M-x describe-theme} |
| 639 | anywhere in Emacs and enter the theme name in the minibuffer. | 639 | anywhere in Emacs and enter the theme name in the minibuffer. |
| 640 | 640 | ||
| 641 | @node Creating Custom Themes | 641 | @node Creating Custom Themes |
| @@ -645,12 +645,12 @@ anywhere in Emacs and enter the theme name in the minibuffer. | |||
| 645 | @findex customize-create-theme | 645 | @findex customize-create-theme |
| 646 | You can define a Custom theme using an interface similar to the | 646 | You can define a Custom theme using an interface similar to the |
| 647 | customization buffer, by typing @kbd{M-x customize-create-theme}. | 647 | customization buffer, by typing @kbd{M-x customize-create-theme}. |
| 648 | This switches to a buffer named @samp{*Custom Theme*}. It also offers | 648 | This switches to a buffer named @file{*Custom Theme*}. It also offers |
| 649 | to insert some common Emacs faces into the theme (a convenience, since | 649 | to insert some common Emacs faces into the theme (a convenience, since |
| 650 | Custom themes are often used to customize faces). If you answer no, | 650 | Custom themes are often used to customize faces). If you answer no, |
| 651 | the theme will initially contain no settings. | 651 | the theme will initially contain no settings. |
| 652 | 652 | ||
| 653 | Near the top of the @samp{*Custom Theme*} buffer are editable fields | 653 | Near the top of the @file{*Custom Theme*} buffer are editable fields |
| 654 | where you can enter the theme's name and description. The name can be | 654 | where you can enter the theme's name and description. The name can be |
| 655 | anything except @samp{user}. The description is the one that will be | 655 | anything except @samp{user}. The description is the one that will be |
| 656 | shown when you invoke @kbd{M-x describe-theme} for the theme. Its | 656 | shown when you invoke @kbd{M-x describe-theme} for the theme. Its |
| @@ -673,7 +673,7 @@ theme, uncheck the checkbox next to its name. | |||
| 673 | @file{@var{name}-theme.el} where @var{name} is the theme name, in the | 673 | @file{@var{name}-theme.el} where @var{name} is the theme name, in the |
| 674 | directory named by @code{custom-theme-directory}. | 674 | directory named by @code{custom-theme-directory}. |
| 675 | 675 | ||
| 676 | From the @samp{*Custom Theme*} buffer, you can view and edit an | 676 | From the @file{*Custom Theme*} buffer, you can view and edit an |
| 677 | existing Custom theme by activating the @samp{[Visit Theme]} button | 677 | existing Custom theme by activating the @samp{[Visit Theme]} button |
| 678 | and specifying the theme name. You can also add the settings of | 678 | and specifying the theme name. You can also add the settings of |
| 679 | another theme into the buffer, using the @samp{[Merge Theme]} button. | 679 | another theme into the buffer, using the @samp{[Merge Theme]} button. |
| @@ -683,10 +683,9 @@ the @samp{[Merge Theme]} button and specifying the special theme named | |||
| 683 | 683 | ||
| 684 | A theme file is simply an Emacs Lisp source file, and loading the | 684 | A theme file is simply an Emacs Lisp source file, and loading the |
| 685 | Custom theme works by loading the Lisp file. Therefore, you can edit | 685 | Custom theme works by loading the Lisp file. Therefore, you can edit |
| 686 | a theme file directly instead of using the @samp{*Custom Theme*} | 686 | a theme file directly instead of using the @file{*Custom Theme*} |
| 687 | buffer. | 687 | buffer. @xref{Custom Themes,,, elisp, The Emacs Lisp Reference |
| 688 | @c Add link to the relevant Emacs Lisp Reference manual node, once | 688 | Manual}, for details. |
| 689 | @c that is written. | ||
| 690 | 689 | ||
| 691 | @node Variables | 690 | @node Variables |
| 692 | @section Variables | 691 | @section Variables |
| @@ -809,7 +808,7 @@ can set any variable with a Lisp expression like this: | |||
| 809 | @noindent | 808 | @noindent |
| 810 | To execute such an expression, type @kbd{M-:} (@code{eval-expression}) | 809 | To execute such an expression, type @kbd{M-:} (@code{eval-expression}) |
| 811 | and enter the expression in the minibuffer (@pxref{Lisp Eval}). | 810 | and enter the expression in the minibuffer (@pxref{Lisp Eval}). |
| 812 | Alternatively, go to the @samp{*scratch*} buffer, type in the | 811 | Alternatively, go to the @file{*scratch*} buffer, type in the |
| 813 | expression, and then type @kbd{C-j} (@pxref{Lisp Interaction}). | 812 | expression, and then type @kbd{C-j} (@pxref{Lisp Interaction}). |
| 814 | 813 | ||
| 815 | Setting variables, like all means of customizing Emacs except where | 814 | Setting variables, like all means of customizing Emacs except where |
| @@ -1163,8 +1162,8 @@ returned by that expression is ignored). | |||
| 1163 | conversion of this file. @xref{Coding Systems}. | 1162 | conversion of this file. @xref{Coding Systems}. |
| 1164 | 1163 | ||
| 1165 | @item | 1164 | @item |
| 1166 | @code{unibyte} says to visit the file in a unibyte buffer, if the | 1165 | @code{unibyte} says to load or compile a file of Emacs Lisp in unibyte |
| 1167 | value is @code{t}. @xref{Enabling Multibyte}. | 1166 | mode, if the value is @code{t}. @xref{Disabling Multibyte}. |
| 1168 | @end itemize | 1167 | @end itemize |
| 1169 | 1168 | ||
| 1170 | @noindent | 1169 | @noindent |
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index 152fa73edea..a842f412356 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi | |||
| @@ -516,7 +516,7 @@ Frames and Graphical Displays | |||
| 516 | International Character Set Support | 516 | International Character Set Support |
| 517 | 517 | ||
| 518 | * International Chars:: Basic concepts of multibyte characters. | 518 | * International Chars:: Basic concepts of multibyte characters. |
| 519 | * Enabling Multibyte:: Controlling whether to use multibyte characters. | 519 | * Disabling Multibyte:: Controlling whether to use multibyte characters. |
| 520 | * Language Environments:: Setting things up for the language you use. | 520 | * Language Environments:: Setting things up for the language you use. |
| 521 | * Input Methods:: Entering text characters not on your keyboard. | 521 | * Input Methods:: Entering text characters not on your keyboard. |
| 522 | * Select Input Method:: Specifying your choice of input methods. | 522 | * Select Input Method:: Specifying your choice of input methods. |
diff --git a/doc/emacs/entering.texi b/doc/emacs/entering.texi index ba7f3132b6b..3ec7f739e6c 100644 --- a/doc/emacs/entering.texi +++ b/doc/emacs/entering.texi | |||
| @@ -63,7 +63,7 @@ certain Lisp files, where to put the initial frame, and so forth. | |||
| 63 | If the variable @code{inhibit-startup-screen} is non-@code{nil}, | 63 | If the variable @code{inhibit-startup-screen} is non-@code{nil}, |
| 64 | Emacs does not display the startup screen. In that case, if one or | 64 | Emacs does not display the startup screen. In that case, if one or |
| 65 | more files were specified on the command line, Emacs simply displays | 65 | more files were specified on the command line, Emacs simply displays |
| 66 | those files; otherwise, it displays a buffer named @samp{*scratch*}, | 66 | those files; otherwise, it displays a buffer named @file{*scratch*}, |
| 67 | which can be used to evaluate Emacs Lisp expressions interactively. | 67 | which can be used to evaluate Emacs Lisp expressions interactively. |
| 68 | @xref{Lisp Interaction}. You can set the variable | 68 | @xref{Lisp Interaction}. You can set the variable |
| 69 | @code{inhibit-startup-screen} using the Customize facility | 69 | @code{inhibit-startup-screen} using the Customize facility |
| @@ -77,9 +77,13 @@ information about @file{site-start.el}.} | |||
| 77 | by setting the variable @code{initial-buffer-choice} to a | 77 | by setting the variable @code{initial-buffer-choice} to a |
| 78 | non-@code{nil} value. (In that case, even if you specify one or more | 78 | non-@code{nil} value. (In that case, even if you specify one or more |
| 79 | files on the command line, Emacs opens but does not display them.) | 79 | files on the command line, Emacs opens but does not display them.) |
| 80 | The value of @code{initial-buffer-choice} can be either the name of | 80 | The value of @code{initial-buffer-choice} should be the name of |
| 81 | the desired file or directory, or @code{t}, which means to display the | 81 | the desired file or directory. |
| 82 | @samp{*scratch*} buffer. | 82 | @ignore |
| 83 | @c I do not think this should be mentioned. AFAICS it is just a dodge | ||
| 84 | @c around inhibit-startup-screen not being settable on a site-wide basis. | ||
| 85 | or @code{t}, which means to display the @file{*scratch*} buffer. | ||
| 86 | @end ignore | ||
| 83 | 87 | ||
| 84 | @node Exiting, Basic, Entering Emacs, Top | 88 | @node Exiting, Basic, Entering Emacs, Top |
| 85 | @section Exiting Emacs | 89 | @section Exiting Emacs |
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index b0d4e130c67..d85e7756816 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -976,7 +976,7 @@ are not visiting files are auto-saved only if you request it explicitly; | |||
| 976 | when they are auto-saved, the auto-save file name is made by appending | 976 | when they are auto-saved, the auto-save file name is made by appending |
| 977 | @samp{#} to the front and rear of buffer name, then | 977 | @samp{#} to the front and rear of buffer name, then |
| 978 | adding digits and letters at the end for uniqueness. For | 978 | adding digits and letters at the end for uniqueness. For |
| 979 | example, the @samp{*mail*} buffer in which you compose messages to be | 979 | example, the @file{*mail*} buffer in which you compose messages to be |
| 980 | sent might be auto-saved in a file named @file{#*mail*#704juu}. Auto-save file | 980 | sent might be auto-saved in a file named @file{#*mail*#704juu}. Auto-save file |
| 981 | names are made this way unless you reprogram parts of Emacs to do | 981 | names are made this way unless you reprogram parts of Emacs to do |
| 982 | something different (the functions @code{make-auto-save-file-name} and | 982 | something different (the functions @code{make-auto-save-file-name} and |
| @@ -1245,7 +1245,7 @@ for more information about using the Trash. | |||
| 1245 | @vindex diff-switches | 1245 | @vindex diff-switches |
| 1246 | The command @kbd{M-x diff} prompts for two file names, using the | 1246 | The command @kbd{M-x diff} prompts for two file names, using the |
| 1247 | minibuffer, and displays the differences between the two files in a | 1247 | minibuffer, and displays the differences between the two files in a |
| 1248 | buffer named @samp{*diff*}. This works by running the @command{diff} | 1248 | buffer named @file{*diff*}. This works by running the @command{diff} |
| 1249 | program, using options taken from the variable @code{diff-switches}. | 1249 | program, using options taken from the variable @code{diff-switches}. |
| 1250 | The value of @code{diff-switches} should be a string; the default is | 1250 | The value of @code{diff-switches} should be a string; the default is |
| 1251 | @code{"-c"} to specify a context diff. @xref{Top,, Diff, diff, | 1251 | @code{"-c"} to specify a context diff. @xref{Top,, Diff, diff, |
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 4cfaffdadb8..8d6a39665da 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -257,7 +257,7 @@ highlighting. | |||
| 257 | @key{RET}, or by clicking either @kbd{Mouse-1} or @kbd{Mouse-2} on the | 257 | @key{RET}, or by clicking either @kbd{Mouse-1} or @kbd{Mouse-2} on the |
| 258 | button. For example, in a Dired buffer, each file name is a button; | 258 | button. For example, in a Dired buffer, each file name is a button; |
| 259 | activating it causes Emacs to visit that file (@pxref{Dired}). In a | 259 | activating it causes Emacs to visit that file (@pxref{Dired}). In a |
| 260 | @samp{*Compilation*} buffer, each error message is a button, and | 260 | @file{*Compilation*} buffer, each error message is a button, and |
| 261 | activating it visits the source code for that error | 261 | activating it visits the source code for that error |
| 262 | (@pxref{Compilation}). | 262 | (@pxref{Compilation}). |
| 263 | 263 | ||
diff --git a/doc/emacs/glossary.texi b/doc/emacs/glossary.texi index f4ea4f30cd5..765a4b59053 100644 --- a/doc/emacs/glossary.texi +++ b/doc/emacs/glossary.texi | |||
| @@ -421,7 +421,7 @@ tell it to. @xref{Bugs}. | |||
| 421 | The echo area is the bottom line of the screen, used for echoing the | 421 | The echo area is the bottom line of the screen, used for echoing the |
| 422 | arguments to commands, for asking questions, and showing brief messages | 422 | arguments to commands, for asking questions, and showing brief messages |
| 423 | (including error messages). The messages are stored in the buffer | 423 | (including error messages). The messages are stored in the buffer |
| 424 | @samp{*Messages*} so you can review them later. @xref{Echo Area}. | 424 | @file{*Messages*} so you can review them later. @xref{Echo Area}. |
| 425 | 425 | ||
| 426 | @item Echoing | 426 | @item Echoing |
| 427 | Echoing is acknowledging the receipt of input events by displaying | 427 | Echoing is acknowledging the receipt of input events by displaying |
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi index 84da0a9a681..eef38136583 100644 --- a/doc/emacs/help.texi +++ b/doc/emacs/help.texi | |||
| @@ -102,7 +102,7 @@ to (@code{describe-key-briefly}). Here @kbd{c} stands for | |||
| 102 | Display the commands and variables whose documentation matches | 102 | Display the commands and variables whose documentation matches |
| 103 | @var{topics} (@code{apropos-documentation}). | 103 | @var{topics} (@code{apropos-documentation}). |
| 104 | @item C-h e | 104 | @item C-h e |
| 105 | Display the @code{*Messages*} buffer | 105 | Display the @file{*Messages*} buffer |
| 106 | (@code{view-echo-area-messages}). | 106 | (@code{view-echo-area-messages}). |
| 107 | @item C-h f @var{function} @key{RET} | 107 | @item C-h f @var{function} @key{RET} |
| 108 | Display documentation on the Lisp function named @var{function} | 108 | Display documentation on the Lisp function named @var{function} |
| @@ -168,7 +168,7 @@ programming language you are editing (@code{info-lookup-symbol}). | |||
| 168 | @item C-h . | 168 | @item C-h . |
| 169 | Display the help message for a special text area, if point is in one | 169 | Display the help message for a special text area, if point is in one |
| 170 | (@code{display-local-help}). (These include, for example, links in | 170 | (@code{display-local-help}). (These include, for example, links in |
| 171 | @samp{*Help*} buffers.) | 171 | @file{*Help*} buffers.) |
| 172 | @end table | 172 | @end table |
| 173 | 173 | ||
| 174 | @node Key Help | 174 | @node Key Help |
| @@ -519,7 +519,7 @@ use @kbd{C-h c} to find out what they do. | |||
| 519 | @findex view-echo-area-messages | 519 | @findex view-echo-area-messages |
| 520 | To review recent echo area messages, use @kbd{C-h e} | 520 | To review recent echo area messages, use @kbd{C-h e} |
| 521 | (@code{view-echo-area-messages}). This displays the buffer | 521 | (@code{view-echo-area-messages}). This displays the buffer |
| 522 | @code{*Messages*}, where those messages are kept. | 522 | @file{*Messages*}, where those messages are kept. |
| 523 | 523 | ||
| 524 | @kindex C-h m | 524 | @kindex C-h m |
| 525 | @findex describe-mode | 525 | @findex describe-mode |
diff --git a/doc/emacs/macos.texi b/doc/emacs/macos.texi index 10293fe7747..695f8f9c6c3 100644 --- a/doc/emacs/macos.texi +++ b/doc/emacs/macos.texi | |||
| @@ -142,7 +142,7 @@ Emacs open a file. A typical reason for this would be a user | |||
| 142 | double-clicking a file in the Finder application. By default, Emacs | 142 | double-clicking a file in the Finder application. By default, Emacs |
| 143 | responds to this event by opening a new frame and visiting the file in | 143 | responds to this event by opening a new frame and visiting the file in |
| 144 | that frame (@code{ns-find-file}). As an exception, if the selected | 144 | that frame (@code{ns-find-file}). As an exception, if the selected |
| 145 | buffer is the @samp{*scratch*} buffer, Emacs visits the file in the | 145 | buffer is the @file{*scratch*} buffer, Emacs visits the file in the |
| 146 | selected frame. | 146 | selected frame. |
| 147 | 147 | ||
| 148 | You can change how Emacs responds to a @code{ns-open-file} event by | 148 | You can change how Emacs responds to a @code{ns-open-file} event by |
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index e812c9112df..9d56b3bdc6e 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -477,7 +477,7 @@ If every work file in the VC fileset is unchanged, do nothing. | |||
| 477 | 477 | ||
| 478 | @item | 478 | @item |
| 479 | If every work file in the VC fileset has been modified, commit the | 479 | If every work file in the VC fileset has been modified, commit the |
| 480 | changes. To do this, Emacs pops up a @samp{*vc-log*} buffer; type the | 480 | changes. To do this, Emacs pops up a @file{*vc-log*} buffer; type the |
| 481 | desired log entry for the new revision, followed by @kbd{C-c C-c} to | 481 | desired log entry for the new revision, followed by @kbd{C-c C-c} to |
| 482 | commit. @xref{Log Buffer}. | 482 | commit. @xref{Log Buffer}. |
| 483 | 483 | ||
| @@ -530,7 +530,7 @@ so that you can begin to edit it. | |||
| 530 | 530 | ||
| 531 | @item | 531 | @item |
| 532 | If each file is locked by you and contains changes, commit the | 532 | If each file is locked by you and contains changes, commit the |
| 533 | changes. To do this, Emacs pops up a @samp{*vc-log*} buffer; type the | 533 | changes. To do this, Emacs pops up a @file{*vc-log*} buffer; type the |
| 534 | desired log entry for the new revision, followed by @kbd{C-c C-c} to | 534 | desired log entry for the new revision, followed by @kbd{C-c C-c} to |
| 535 | commit (@pxref{Log Buffer}). | 535 | commit (@pxref{Log Buffer}). |
| 536 | 536 | ||
| @@ -588,7 +588,7 @@ they use the concept of ``checking out'' individual files. | |||
| 588 | @cindex C-c C-c @r{(Log Edit mode)} | 588 | @cindex C-c C-c @r{(Log Edit mode)} |
| 589 | @findex log-edit-done | 589 | @findex log-edit-done |
| 590 | When you tell VC to commit a change, it pops up a buffer named | 590 | When you tell VC to commit a change, it pops up a buffer named |
| 591 | @samp{*vc-log*}. In this buffer, you should write a @dfn{log entry} | 591 | @file{*vc-log*}. In this buffer, you should write a @dfn{log entry} |
| 592 | describing the changes you have made (@pxref{Why Version Control?}). | 592 | describing the changes you have made (@pxref{Why Version Control?}). |
| 593 | After you are done, type @kbd{C-c C-c} (@code{log-edit-done}) to exit | 593 | After you are done, type @kbd{C-c C-c} (@code{log-edit-done}) to exit |
| 594 | the buffer and commit the change, together with your log entry. | 594 | the buffer and commit the change, together with your log entry. |
| @@ -596,12 +596,12 @@ the buffer and commit the change, together with your log entry. | |||
| 596 | @cindex Log Edit mode | 596 | @cindex Log Edit mode |
| 597 | @cindex mode, Log Edit | 597 | @cindex mode, Log Edit |
| 598 | @vindex vc-log-mode-hook | 598 | @vindex vc-log-mode-hook |
| 599 | The major mode for the @samp{*vc-log*} buffer is Log Edit mode, a | 599 | The major mode for the @file{*vc-log*} buffer is Log Edit mode, a |
| 600 | variant of Text mode (@pxref{Text Mode}). On entering Log Edit mode, | 600 | variant of Text mode (@pxref{Text Mode}). On entering Log Edit mode, |
| 601 | Emacs runs the hooks @code{text-mode-hook} and @code{vc-log-mode-hook} | 601 | Emacs runs the hooks @code{text-mode-hook} and @code{vc-log-mode-hook} |
| 602 | (@pxref{Hooks}). | 602 | (@pxref{Hooks}). |
| 603 | 603 | ||
| 604 | In the @samp{*vc-log*} buffer, you can write one or more @dfn{header | 604 | In the @file{*vc-log*} buffer, you can write one or more @dfn{header |
| 605 | lines}, specifying additional information to be supplied to the | 605 | lines}, specifying additional information to be supplied to the |
| 606 | version control system. Each header line must occupy a single line at | 606 | version control system. Each header line must occupy a single line at |
| 607 | the top of the buffer; the first line that is not a header line is | 607 | the top of the buffer; the first line that is not a header line is |
| @@ -626,7 +626,7 @@ support it, the header is treated as part of the log entry. | |||
| 626 | @findex log-edit-show-files | 626 | @findex log-edit-show-files |
| 627 | @kindex C-c C-d @r{(Log Edit mode)} | 627 | @kindex C-c C-d @r{(Log Edit mode)} |
| 628 | @findex log-edit-show-diff | 628 | @findex log-edit-show-diff |
| 629 | While in the @samp{*vc-log*} buffer, the ``current VC fileset'' is | 629 | While in the @file{*vc-log*} buffer, the ``current VC fileset'' is |
| 630 | considered to be the fileset that will be committed if you type | 630 | considered to be the fileset that will be committed if you type |
| 631 | @w{@kbd{C-c C-c}}. To view a list of the files in the VC fileset, | 631 | @w{@kbd{C-c C-c}}. To view a list of the files in the VC fileset, |
| 632 | type @w{@kbd{C-c C-f}} (@code{log-edit-show-files}). To view a diff | 632 | type @w{@kbd{C-c C-f}} (@code{log-edit-show-files}). To view a diff |
| @@ -639,7 +639,7 @@ started editing (@pxref{Old Revisions}), type @kbd{C-c C-d} | |||
| 639 | If the VC fileset includes one or more @file{ChangeLog} files | 639 | If the VC fileset includes one or more @file{ChangeLog} files |
| 640 | (@pxref{Change Log}), type @kbd{C-c C-a} | 640 | (@pxref{Change Log}), type @kbd{C-c C-a} |
| 641 | (@code{log-edit-insert-changelog}) to pull the relevant entries into | 641 | (@code{log-edit-insert-changelog}) to pull the relevant entries into |
| 642 | the @samp{*vc-log*} buffer. If the topmost item in each | 642 | the @file{*vc-log*} buffer. If the topmost item in each |
| 643 | @file{ChangeLog} was made under your user name on the current date, | 643 | @file{ChangeLog} was made under your user name on the current date, |
| 644 | this command searches that item for entries matching the file(s) to be | 644 | this command searches that item for entries matching the file(s) to be |
| 645 | committed, and inserts them. | 645 | committed, and inserts them. |
| @@ -652,7 +652,7 @@ Edit buffer. | |||
| 652 | To abort a commit, just @strong{don't} type @kbd{C-c C-c} in that | 652 | To abort a commit, just @strong{don't} type @kbd{C-c C-c} in that |
| 653 | buffer. You can switch buffers and do other editing. As long as you | 653 | buffer. You can switch buffers and do other editing. As long as you |
| 654 | don't try to make another commit, the entry you were editing remains | 654 | don't try to make another commit, the entry you were editing remains |
| 655 | in the @samp{*vc-log*} buffer, and you can go back to that buffer at | 655 | in the @file{*vc-log*} buffer, and you can go back to that buffer at |
| 656 | any time to complete the commit. | 656 | any time to complete the commit. |
| 657 | 657 | ||
| 658 | @kindex M-n @r{(Log Edit mode)} | 658 | @kindex M-n @r{(Log Edit mode)} |
| @@ -904,10 +904,10 @@ Display the changes that will be sent by the next push operation | |||
| 904 | @kindex C-x v l | 904 | @kindex C-x v l |
| 905 | @findex vc-print-log | 905 | @findex vc-print-log |
| 906 | The command @kbd{C-x v l} (@code{vc-print-log}) displays a buffer | 906 | The command @kbd{C-x v l} (@code{vc-print-log}) displays a buffer |
| 907 | named @samp{*vc-change-log*}, showing the history of changes made to | 907 | named @file{*vc-change-log*}, showing the history of changes made to |
| 908 | the current file, including who made the changes, the dates, and the | 908 | the current file, including who made the changes, the dates, and the |
| 909 | log entry for each change (these are the same log entries you would | 909 | log entry for each change (these are the same log entries you would |
| 910 | enter via the @samp{*vc-log*} buffer; @pxref{Log Buffer}). Point is | 910 | enter via the @file{*vc-log*} buffer; @pxref{Log Buffer}). Point is |
| 911 | centered at the revision of the file currently being visited. With a | 911 | centered at the revision of the file currently being visited. With a |
| 912 | prefix argument, the command prompts for the revision to center on, | 912 | prefix argument, the command prompts for the revision to center on, |
| 913 | and the maximum number of revisions to display. | 913 | and the maximum number of revisions to display. |
| @@ -919,7 +919,7 @@ file listed on the current line. | |||
| 919 | @findex vc-print-root-log | 919 | @findex vc-print-root-log |
| 920 | @findex log-view-toggle-entry-display | 920 | @findex log-view-toggle-entry-display |
| 921 | @kbd{C-x v L} (@code{vc-print-root-log}) displays a | 921 | @kbd{C-x v L} (@code{vc-print-root-log}) displays a |
| 922 | @samp{*vc-change-log*} buffer showing the history of the entire | 922 | @file{*vc-change-log*} buffer showing the history of the entire |
| 923 | version-controlled directory tree (RCS, SCCS, and CVS do not support | 923 | version-controlled directory tree (RCS, SCCS, and CVS do not support |
| 924 | this feature). With a prefix argument, the command prompts for the | 924 | this feature). With a prefix argument, the command prompts for the |
| 925 | maximum number of revisions to display. | 925 | maximum number of revisions to display. |
| @@ -927,7 +927,7 @@ maximum number of revisions to display. | |||
| 927 | The @kbd{C-x v L} history is shown in a compact form, usually | 927 | The @kbd{C-x v L} history is shown in a compact form, usually |
| 928 | showing only the first line of each log entry. However, you can type | 928 | showing only the first line of each log entry. However, you can type |
| 929 | @key{RET} (@code{log-view-toggle-entry-display}) in the | 929 | @key{RET} (@code{log-view-toggle-entry-display}) in the |
| 930 | @samp{*vc-change-log*} buffer to reveal the entire log entry for the | 930 | @file{*vc-change-log*} buffer to reveal the entire log entry for the |
| 931 | revision at point. A second @key{RET} hides it again. | 931 | revision at point. A second @key{RET} hides it again. |
| 932 | 932 | ||
| 933 | On a decentralized version control system, the @kbd{C-x v I} | 933 | On a decentralized version control system, the @kbd{C-x v I} |
| @@ -942,7 +942,7 @@ specific repository. Similarly, @kbd{C-x v O} | |||
| 942 | another repository, the next time you run the ``push'' command; with a | 942 | another repository, the next time you run the ``push'' command; with a |
| 943 | prefix argument, it prompts for a specific destination repository. | 943 | prefix argument, it prompts for a specific destination repository. |
| 944 | 944 | ||
| 945 | In the @samp{*vc-change-log*} buffer, you can use the following keys | 945 | In the @file{*vc-change-log*} buffer, you can use the following keys |
| 946 | to move between the logs of revisions and of files, and to examine and | 946 | to move between the logs of revisions and of files, and to examine and |
| 947 | compare past revisions (@pxref{Old Revisions}): | 947 | compare past revisions (@pxref{Old Revisions}): |
| 948 | 948 | ||
| @@ -993,11 +993,11 @@ revision at point. | |||
| 993 | 993 | ||
| 994 | @vindex vc-log-show-limit | 994 | @vindex vc-log-show-limit |
| 995 | Because fetching many log entries can be slow, the | 995 | Because fetching many log entries can be slow, the |
| 996 | @samp{*vc-change-log*} buffer displays no more than 2000 revisions by | 996 | @file{*vc-change-log*} buffer displays no more than 2000 revisions by |
| 997 | default. The variable @code{vc-log-show-limit} specifies this limit; | 997 | default. The variable @code{vc-log-show-limit} specifies this limit; |
| 998 | if you set the value to zero, that removes the limit. You can also | 998 | if you set the value to zero, that removes the limit. You can also |
| 999 | increase the number of revisions shown in an existing | 999 | increase the number of revisions shown in an existing |
| 1000 | @samp{*vc-change-log*} buffer by clicking on the @samp{Show 2X | 1000 | @file{*vc-change-log*} buffer by clicking on the @samp{Show 2X |
| 1001 | entries} or @samp{Show unlimited entries} buttons at the end of the | 1001 | entries} or @samp{Show unlimited entries} buttons at the end of the |
| 1002 | buffer. However, RCS, SCCS, and CVS do not support this feature. | 1002 | buffer. However, RCS, SCCS, and CVS do not support this feature. |
| 1003 | 1003 | ||
| @@ -1045,7 +1045,7 @@ it is used to specify multi-file VC filesets for commands like | |||
| 1045 | To use the VC Directory buffer, type @kbd{C-x v d} (@code{vc-dir}). | 1045 | To use the VC Directory buffer, type @kbd{C-x v d} (@code{vc-dir}). |
| 1046 | This reads a directory name using the minibuffer, and switches to a VC | 1046 | This reads a directory name using the minibuffer, and switches to a VC |
| 1047 | Directory buffer for that directory. By default, the buffer is named | 1047 | Directory buffer for that directory. By default, the buffer is named |
| 1048 | @samp{*vc-dir*}. Its contents are described | 1048 | @file{*vc-dir*}. Its contents are described |
| 1049 | @iftex | 1049 | @iftex |
| 1050 | below. | 1050 | below. |
| 1051 | @end iftex | 1051 | @end iftex |
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi index e20d5a347cd..e498516ae7f 100644 --- a/doc/emacs/mini.texi +++ b/doc/emacs/mini.texi | |||
| @@ -197,7 +197,7 @@ set the variable @code{enable-recursive-minibuffers} to @code{t}. | |||
| 197 | 197 | ||
| 198 | @findex minibuffer-inactive-mode | 198 | @findex minibuffer-inactive-mode |
| 199 | When not active, the minibuffer is in @code{minibuffer-inactive-mode}, | 199 | When not active, the minibuffer is in @code{minibuffer-inactive-mode}, |
| 200 | and clicking @kbd{Mouse-1} there shows the @samp{*Messages*} buffer. | 200 | and clicking @kbd{Mouse-1} there shows the @file{*Messages*} buffer. |
| 201 | If you use a dedicated frame for minibuffers, Emacs also recognizes | 201 | If you use a dedicated frame for minibuffers, Emacs also recognizes |
| 202 | certain keys there, for example @kbd{n} to make a new frame. | 202 | certain keys there, for example @kbd{n} to make a new frame. |
| 203 | 203 | ||
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 84b9d6ee03b..b291aff0ba4 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -92,7 +92,7 @@ file named @file{.newsrc} in your home directory which lists your | |||
| 92 | Usenet newsgroups and subscriptions (this file is not unique to Gnus; | 92 | Usenet newsgroups and subscriptions (this file is not unique to Gnus; |
| 93 | it is used by many other newsreader programs). It then tries to | 93 | it is used by many other newsreader programs). It then tries to |
| 94 | contact the system's default news server, which is typically specified | 94 | contact the system's default news server, which is typically specified |
| 95 | by the @samp{NNTPSERVER} environment variable. | 95 | by the @env{NNTPSERVER} environment variable. |
| 96 | 96 | ||
| 97 | If your system does not have a default news server, or if you wish | 97 | If your system does not have a default news server, or if you wish |
| 98 | to use Gnus for reading email, then before invoking @kbd{M-x gnus} you | 98 | to use Gnus for reading email, then before invoking @kbd{M-x gnus} you |
| @@ -507,7 +507,7 @@ minibuffer and executes it as a shell command, in a subshell made just | |||
| 507 | for that command. Standard input for the command comes from the null | 507 | for that command. Standard input for the command comes from the null |
| 508 | device. If the shell command produces any output, the output appears | 508 | device. If the shell command produces any output, the output appears |
| 509 | either in the echo area (if it is short), or in an Emacs buffer named | 509 | either in the echo area (if it is short), or in an Emacs buffer named |
| 510 | @samp{*Shell Command Output*}, displayed in another window (if the | 510 | @file{*Shell Command Output*}, displayed in another window (if the |
| 511 | output is long). | 511 | output is long). |
| 512 | 512 | ||
| 513 | For instance, one way to decompress a file named @file{foo.gz} is to | 513 | For instance, one way to decompress a file named @file{foo.gz} is to |
| @@ -554,7 +554,7 @@ old region and replaces it with the output from the shell command. | |||
| 554 | see what keys are in the buffer. If the buffer contains a GnuPG key, | 554 | see what keys are in the buffer. If the buffer contains a GnuPG key, |
| 555 | type @kbd{C-x h M-| gpg @key{RET}} to feed the entire buffer contents | 555 | type @kbd{C-x h M-| gpg @key{RET}} to feed the entire buffer contents |
| 556 | to @command{gpg}. This will output the list of keys to the | 556 | to @command{gpg}. This will output the list of keys to the |
| 557 | @samp{*Shell Command Output*} buffer. | 557 | @file{*Shell Command Output*} buffer. |
| 558 | 558 | ||
| 559 | @vindex shell-file-name | 559 | @vindex shell-file-name |
| 560 | The above commands use the shell specified by the variable | 560 | The above commands use the shell specified by the variable |
| @@ -577,7 +577,7 @@ inserted into a buffer of that name. | |||
| 577 | 577 | ||
| 578 | @findex shell | 578 | @findex shell |
| 579 | To run a subshell interactively, type @kbd{M-x shell}. This creates | 579 | To run a subshell interactively, type @kbd{M-x shell}. This creates |
| 580 | (or reuses) a buffer named @samp{*shell*}, and runs a shell subprocess | 580 | (or reuses) a buffer named @file{*shell*}, and runs a shell subprocess |
| 581 | with input coming from and output going to that buffer. That is to | 581 | with input coming from and output going to that buffer. That is to |
| 582 | say, any terminal output from the subshell goes into the buffer, | 582 | say, any terminal output from the subshell goes into the buffer, |
| 583 | advancing point, and any terminal input for the subshell comes from | 583 | advancing point, and any terminal input for the subshell comes from |
| @@ -600,8 +600,8 @@ easier to distinguish input lines from the shell output. | |||
| 600 | To make multiple subshells, invoke @kbd{M-x shell} with a prefix | 600 | To make multiple subshells, invoke @kbd{M-x shell} with a prefix |
| 601 | argument (e.g. @kbd{C-u M-x shell}). Then the command will read a | 601 | argument (e.g. @kbd{C-u M-x shell}). Then the command will read a |
| 602 | buffer name, and create (or reuse) a subshell in that buffer. You can | 602 | buffer name, and create (or reuse) a subshell in that buffer. You can |
| 603 | also rename the @samp{*shell*} buffer using @kbd{M-x rename-uniquely}, | 603 | also rename the @file{*shell*} buffer using @kbd{M-x rename-uniquely}, |
| 604 | then create a new @samp{*shell*} buffer using plain @kbd{M-x shell}. | 604 | then create a new @file{*shell*} buffer using plain @kbd{M-x shell}. |
| 605 | Subshells in different buffers run independently and in parallel. | 605 | Subshells in different buffers run independently and in parallel. |
| 606 | 606 | ||
| 607 | @vindex explicit-shell-file-name | 607 | @vindex explicit-shell-file-name |
| @@ -1183,7 +1183,7 @@ underlying shell, of course. | |||
| 1183 | @findex term | 1183 | @findex term |
| 1184 | 1184 | ||
| 1185 | To run a subshell in a terminal emulator, use @kbd{M-x term}. This | 1185 | To run a subshell in a terminal emulator, use @kbd{M-x term}. This |
| 1186 | creates (or reuses) a buffer named @samp{*terminal*}, and runs a | 1186 | creates (or reuses) a buffer named @file{*terminal*}, and runs a |
| 1187 | subshell with input coming from your keyboard, and output going to | 1187 | subshell with input coming from your keyboard, and output going to |
| 1188 | that buffer. | 1188 | that buffer. |
| 1189 | 1189 | ||
| @@ -1212,7 +1212,7 @@ serial port. @xref{Serial Terminal}. | |||
| 1212 | 1212 | ||
| 1213 | The file name used to load the subshell is determined the same way | 1213 | The file name used to load the subshell is determined the same way |
| 1214 | as for Shell mode. To make multiple terminal emulators, rename the | 1214 | as for Shell mode. To make multiple terminal emulators, rename the |
| 1215 | buffer @samp{*terminal*} to something different using @kbd{M-x | 1215 | buffer @file{*terminal*} to something different using @kbd{M-x |
| 1216 | rename-uniquely}, just as with Shell mode. | 1216 | rename-uniquely}, just as with Shell mode. |
| 1217 | 1217 | ||
| 1218 | Unlike Shell mode, Term mode does not track the current directory by | 1218 | Unlike Shell mode, Term mode does not track the current directory by |
| @@ -1511,7 +1511,7 @@ systems, such as MS-Windows (@pxref{Windows Startup, emacsclient}), | |||
| 1511 | where it cannot create graphical frames when started from a text-only | 1511 | where it cannot create graphical frames when started from a text-only |
| 1512 | terminal, it creates a new text-only terminal frame (@pxref{Frames}). | 1512 | terminal, it creates a new text-only terminal frame (@pxref{Frames}). |
| 1513 | If you omit a filename argument while supplying the @samp{-c} option, | 1513 | If you omit a filename argument while supplying the @samp{-c} option, |
| 1514 | the new frame displays the @samp{*scratch*} buffer (@pxref{Buffers}). | 1514 | the new frame displays the @file{*scratch*} buffer (@pxref{Buffers}). |
| 1515 | 1515 | ||
| 1516 | @item -F @var{alist} | 1516 | @item -F @var{alist} |
| 1517 | @itemx --frame-parameters=@var{alist} | 1517 | @itemx --frame-parameters=@var{alist} |
| @@ -1600,7 +1600,7 @@ graphical display. On systems, such as MS-Windows, where this is | |||
| 1600 | impossible, Emacs will create a new frame, either GUI or text-only, on | 1600 | impossible, Emacs will create a new frame, either GUI or text-only, on |
| 1601 | the same terminal where it was started (@pxref{Windows Startup, | 1601 | the same terminal where it was started (@pxref{Windows Startup, |
| 1602 | emacsclient}). If you omit a filename argument while supplying this | 1602 | emacsclient}). If you omit a filename argument while supplying this |
| 1603 | option, the new frame displays the @samp{*scratch*} buffer. | 1603 | option, the new frame displays the @file{*scratch*} buffer. |
| 1604 | @xref{Buffers}. | 1604 | @xref{Buffers}. |
| 1605 | @end table | 1605 | @end table |
| 1606 | 1606 | ||
| @@ -1868,7 +1868,7 @@ init file (@pxref{Init File}), followed by @code{(pr-update-menus)}. | |||
| 1868 | This function replaces the usual printing commands in the menu bar | 1868 | This function replaces the usual printing commands in the menu bar |
| 1869 | with a @samp{Printing} submenu that contains various printing options. | 1869 | with a @samp{Printing} submenu that contains various printing options. |
| 1870 | You can also type @kbd{M-x pr-interface RET}; this creates a | 1870 | You can also type @kbd{M-x pr-interface RET}; this creates a |
| 1871 | @samp{*Printing Interface*} buffer, similar to a customization buffer, | 1871 | @file{*Printing Interface*} buffer, similar to a customization buffer, |
| 1872 | where you can set the printing options. After selecting what and how | 1872 | where you can set the printing options. After selecting what and how |
| 1873 | to print, you start the print job using the @samp{Print} button (click | 1873 | to print, you start the print job using the @samp{Print} button (click |
| 1874 | @kbd{mouse-2} on it, or move point over it and type @kbd{RET}). For | 1874 | @kbd{mouse-2} on it, or move point over it and type @kbd{RET}). For |
| @@ -2482,7 +2482,7 @@ encrypted in a simple monoalphabetic substitution cipher. | |||
| 2482 | @findex dissociated-press | 2482 | @findex dissociated-press |
| 2483 | @kbd{M-x dissociated-press} scrambles the text in the current Emacs | 2483 | @kbd{M-x dissociated-press} scrambles the text in the current Emacs |
| 2484 | buffer, word by word or character by character, writing its output to | 2484 | buffer, word by word or character by character, writing its output to |
| 2485 | a buffer named @samp{*Dissociation*}. A positive argument tells it to | 2485 | a buffer named @file{*Dissociation*}. A positive argument tells it to |
| 2486 | operate character by character, and specifies the number of overlap | 2486 | operate character by character, and specifies the number of overlap |
| 2487 | characters. A negative argument tells it to operate word by word, and | 2487 | characters. A negative argument tells it to operate word by word, and |
| 2488 | specifies the number of overlap words. Dissociated Press produces | 2488 | specifies the number of overlap words. Dissociated Press produces |
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index aeaec2c502e..4cf66c14138 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi | |||
| @@ -41,7 +41,7 @@ including European and Vietnamese variants of the Latin alphabet, as | |||
| 41 | well as Cyrillic, Devanagari (for Hindi and Marathi), Ethiopic, Greek, | 41 | well as Cyrillic, Devanagari (for Hindi and Marathi), Ethiopic, Greek, |
| 42 | Han (for Chinese and Japanese), Hangul (for Korean), Hebrew, IPA, | 42 | Han (for Chinese and Japanese), Hangul (for Korean), Hebrew, IPA, |
| 43 | Kannada, Lao, Malayalam, Tamil, Thai, Tibetan, and Vietnamese scripts. | 43 | Kannada, Lao, Malayalam, Tamil, Thai, Tibetan, and Vietnamese scripts. |
| 44 | Emacs also supports various encodings of these characters used by | 44 | Emacs also supports various encodings of these characters that are used by |
| 45 | other internationalized software, such as word processors and mailers. | 45 | other internationalized software, such as word processors and mailers. |
| 46 | 46 | ||
| 47 | Emacs allows editing text with international characters by supporting | 47 | Emacs allows editing text with international characters by supporting |
| @@ -74,14 +74,14 @@ others. | |||
| 74 | @item | 74 | @item |
| 75 | You can insert non-@acronym{ASCII} characters or search for them. To do that, | 75 | You can insert non-@acronym{ASCII} characters or search for them. To do that, |
| 76 | you can specify an input method (@pxref{Select Input Method}) suitable | 76 | you can specify an input method (@pxref{Select Input Method}) suitable |
| 77 | for your language, or use the default input method set up when you set | 77 | for your language, or use the default input method set up when you chose |
| 78 | your language environment. If | 78 | your language environment. If |
| 79 | your keyboard can produce non-@acronym{ASCII} characters, you can select an | 79 | your keyboard can produce non-@acronym{ASCII} characters, you can select an |
| 80 | appropriate keyboard coding system (@pxref{Terminal Coding}), and Emacs | 80 | appropriate keyboard coding system (@pxref{Terminal Coding}), and Emacs |
| 81 | will accept those characters. Latin-1 characters can also be input by | 81 | will accept those characters. Latin-1 characters can also be input by |
| 82 | using the @kbd{C-x 8} prefix, see @ref{Unibyte Mode}. | 82 | using the @kbd{C-x 8} prefix, see @ref{Unibyte Mode}. |
| 83 | 83 | ||
| 84 | On the X Window System, your locale should be set to an appropriate | 84 | With the X Window System, your locale should be set to an appropriate |
| 85 | value to make sure Emacs interprets keyboard input correctly; see | 85 | value to make sure Emacs interprets keyboard input correctly; see |
| 86 | @ref{Language Environments, locales}. | 86 | @ref{Language Environments, locales}. |
| 87 | @end itemize | 87 | @end itemize |
| @@ -90,7 +90,7 @@ value to make sure Emacs interprets keyboard input correctly; see | |||
| 90 | 90 | ||
| 91 | @menu | 91 | @menu |
| 92 | * International Chars:: Basic concepts of multibyte characters. | 92 | * International Chars:: Basic concepts of multibyte characters. |
| 93 | * Enabling Multibyte:: Controlling whether to use multibyte characters. | 93 | * Disabling Multibyte:: Controlling whether to use multibyte characters. |
| 94 | * Language Environments:: Setting things up for the language you use. | 94 | * Language Environments:: Setting things up for the language you use. |
| 95 | * Input Methods:: Entering text characters not on your keyboard. | 95 | * Input Methods:: Entering text characters not on your keyboard. |
| 96 | * Select Input Method:: Specifying your choice of input methods. | 96 | * Select Input Method:: Specifying your choice of input methods. |
| @@ -224,29 +224,30 @@ faces used to display the character, and any overlays containing it | |||
| 224 | in a buffer whose coding system is @code{utf-8-unix}: | 224 | in a buffer whose coding system is @code{utf-8-unix}: |
| 225 | 225 | ||
| 226 | @smallexample | 226 | @smallexample |
| 227 | character: @`A (192, #o300, #xc0) | 227 | position: 1 of 1 (0%), column: 0 |
| 228 | preferred charset: unicode (Unicode (ISO10646)) | 228 | character: @`A (displayed as @`A) (codepoint 192, #o300, #xc0) |
| 229 | code point: 0xC0 | 229 | preferred charset: unicode (Unicode (ISO10646)) |
| 230 | syntax: w which means: word | 230 | code point in charset: 0xC0 |
| 231 | category: j:Japanese l:Latin v:Vietnamese | 231 | syntax: w which means: word |
| 232 | buffer code: #xC3 #x80 | 232 | category: .:Base, L:Left-to-right (strong), |
| 233 | file code: not encodable by coding system undecided-unix | 233 | j:Japanese, l:Latin, v:Viet |
| 234 | display: by this font (glyph code) | 234 | buffer code: #xC3 #x80 |
| 235 | file code: not encodable by coding system undecided-unix | ||
| 236 | display: by this font (glyph code) | ||
| 235 | xft:-unknown-DejaVu Sans Mono-normal-normal- | 237 | xft:-unknown-DejaVu Sans Mono-normal-normal- |
| 236 | normal-*-13-*-*-*-m-0-iso10646-1 (#x82) | 238 | normal-*-13-*-*-*-m-0-iso10646-1 (#x82) |
| 237 | 239 | ||
| 238 | Character code properties: customize what to show | 240 | Character code properties: customize what to show |
| 239 | name: LATIN CAPITAL LETTER A WITH GRAVE | 241 | name: LATIN CAPITAL LETTER A WITH GRAVE |
| 242 | old-name: LATIN CAPITAL LETTER A GRAVE | ||
| 240 | general-category: Lu (Letter, Uppercase) | 243 | general-category: Lu (Letter, Uppercase) |
| 241 | decomposition: (65 768) ('A' '`') | 244 | decomposition: (65 768) ('A' '`') |
| 242 | old-name: LATIN CAPITAL LETTER A GRAVE | ||
| 243 | |||
| 244 | There are text properties here: | ||
| 245 | auto-composed t | ||
| 246 | @end smallexample | 245 | @end smallexample |
| 247 | 246 | ||
| 248 | @node Enabling Multibyte | 247 | @c FIXME? Does this section even belong in the user manual? |
| 249 | @section Enabling Multibyte Characters | 248 | @c Seems more appropriate to the lispref? |
| 249 | @node Disabling Multibyte | ||
| 250 | @section Disabling Multibyte Characters | ||
| 250 | 251 | ||
| 251 | By default, Emacs starts in multibyte mode: it stores the contents | 252 | By default, Emacs starts in multibyte mode: it stores the contents |
| 252 | of buffers and strings using an internal encoding that represents | 253 | of buffers and strings using an internal encoding that represents |
| @@ -275,32 +276,48 @@ Coding}. Unlike @code{find-file-literally}, finding a file as | |||
| 275 | @samp{raw-text} doesn't disable format conversion, uncompression, or | 276 | @samp{raw-text} doesn't disable format conversion, uncompression, or |
| 276 | auto mode selection. | 277 | auto mode selection. |
| 277 | 278 | ||
| 279 | @c Not a single file in Emacs uses this feature. Is it really worth | ||
| 280 | @c mentioning in the _user_ manual? Also, this duplicates somewhat | ||
| 281 | @c "Loading Non-ASCII" from the lispref. | ||
| 278 | @cindex Lisp files, and multibyte operation | 282 | @cindex Lisp files, and multibyte operation |
| 279 | @cindex multibyte operation, and Lisp files | 283 | @cindex multibyte operation, and Lisp files |
| 280 | @cindex unibyte operation, and Lisp files | 284 | @cindex unibyte operation, and Lisp files |
| 281 | @cindex init file, and non-@acronym{ASCII} characters | 285 | @cindex init file, and non-@acronym{ASCII} characters |
| 282 | Emacs normally loads Lisp files as multibyte. | 286 | Emacs normally loads Lisp files as multibyte. |
| 283 | This includes the Emacs initialization | 287 | This includes the Emacs initialization |
| 284 | file, @file{.emacs}, and the initialization files of Emacs packages | 288 | file, @file{.emacs}, and the initialization files of packages |
| 285 | such as Gnus. However, you can specify unibyte loading for a | 289 | such as Gnus. However, you can specify unibyte loading for a |
| 286 | particular Lisp file, by putting @w{@samp{-*-unibyte: t;-*-}} in a | 290 | particular Lisp file, by adding an entry @samp{unibyte: t} in a file |
| 287 | comment on the first line (@pxref{File Variables}). Then that file is | 291 | local variables section (@pxref{File Variables}). Then that file is |
| 288 | always loaded as unibyte text. The motivation for these conventions | 292 | always loaded as unibyte text. Note that this does not represent a |
| 289 | is that it is more reliable to always load any particular Lisp file in | 293 | real @code{unibyte} variable, rather it just acts as an indicator |
| 290 | the same way. However, you can load a Lisp file as unibyte, on any | 294 | to Emacs in the same way as @code{coding} does (@pxref{Specify Coding}). |
| 291 | one occasion, by typing @kbd{C-x @key{RET} c raw-text @key{RET}} | 295 | @ignore |
| 292 | immediately before loading it. | 296 | @c I don't see the point of this statement: |
| 293 | 297 | The motivation for these conventions is that it is more reliable to | |
| 294 | The mode line indicates whether multibyte character support is | 298 | always load any particular Lisp file in the same way. |
| 295 | enabled in the current buffer. If it is, there are two or more | 299 | @end ignore |
| 296 | characters (most often two dashes) near the beginning of the mode | 300 | Note also that this feature only applies to @emph{loading} Lisp files |
| 297 | line, before the indication of the visited file's end-of-line | 301 | for evaluation, not to visiting them for editing. You can also load a |
| 298 | convention (colon, backslash, etc.). When multibyte characters | 302 | Lisp file as unibyte, on any one occasion, by typing @kbd{C-x |
| 299 | are not enabled, nothing precedes the colon except a single dash. | 303 | @key{RET} c raw-text @key{RET}} immediately before loading it. |
| 300 | @xref{Mode Line}, for more details about this. | 304 | |
| 305 | @c See http://debbugs.gnu.org/11226 for lack of unibyte tooltip. | ||
| 306 | @vindex enable-multibyte-characters | ||
| 307 | The buffer-local variable @code{enable-multibyte-characters} is | ||
| 308 | non-@code{nil} in multibyte buffers, and @code{nil} in unibyte ones. | ||
| 309 | The mode line also indicates whether a buffer is multibyte or not. | ||
| 310 | @xref{Mode Line}. With a graphical display, in a multibyte buffer, | ||
| 311 | the portion of the mode line that indicates the character set has a | ||
| 312 | tooltip that (amongst other things) says that the buffer is multibyte. | ||
| 313 | In a unibyte buffer, the character set indicator is absent. Thus, in | ||
| 314 | a unibyte buffer (when using a graphical display) there is normally | ||
| 315 | nothing before the indication of the visited file's end-of-line | ||
| 316 | convention (colon, backslash, etc.), unless you are using an input | ||
| 317 | method. | ||
| 301 | 318 | ||
| 302 | @findex toggle-enable-multibyte-characters | 319 | @findex toggle-enable-multibyte-characters |
| 303 | You can turn on multibyte support in a specific buffer by invoking the | 320 | You can turn off multibyte support in a specific buffer by invoking the |
| 304 | command @code{toggle-enable-multibyte-characters} in that buffer. | 321 | command @code{toggle-enable-multibyte-characters} in that buffer. |
| 305 | 322 | ||
| 306 | @node Language Environments | 323 | @node Language Environments |
| @@ -309,8 +326,8 @@ command @code{toggle-enable-multibyte-characters} in that buffer. | |||
| 309 | 326 | ||
| 310 | All supported character sets are supported in Emacs buffers whenever | 327 | All supported character sets are supported in Emacs buffers whenever |
| 311 | multibyte characters are enabled; there is no need to select a | 328 | multibyte characters are enabled; there is no need to select a |
| 312 | particular language in order to display its characters in an Emacs | 329 | particular language in order to display its characters. |
| 313 | buffer. However, it is important to select a @dfn{language | 330 | However, it is important to select a @dfn{language |
| 314 | environment} in order to set various defaults. Roughly speaking, the | 331 | environment} in order to set various defaults. Roughly speaking, the |
| 315 | language environment represents a choice of preferred script rather | 332 | language environment represents a choice of preferred script rather |
| 316 | than a choice of language. | 333 | than a choice of language. |
| @@ -327,7 +344,8 @@ language environment also specifies a default input method. | |||
| 327 | @code{current-language-environment} or use the command @kbd{M-x | 344 | @code{current-language-environment} or use the command @kbd{M-x |
| 328 | set-language-environment}. It makes no difference which buffer is | 345 | set-language-environment}. It makes no difference which buffer is |
| 329 | current when you use this command, because the effects apply globally | 346 | current when you use this command, because the effects apply globally |
| 330 | to the Emacs session. The supported language environments include: | 347 | to the Emacs session. The supported language environments |
| 348 | (see the variable @code{language-info-alist}) include: | ||
| 331 | 349 | ||
| 332 | @cindex Euro sign | 350 | @cindex Euro sign |
| 333 | @cindex UTF-8 | 351 | @cindex UTF-8 |
| @@ -351,11 +369,15 @@ which prefers Cyrillic characters and files encoded in Windows-1255). | |||
| 351 | @cindex Intlfonts package, installation | 369 | @cindex Intlfonts package, installation |
| 352 | To display the script(s) used by your language environment on a | 370 | To display the script(s) used by your language environment on a |
| 353 | graphical display, you need to have a suitable font. If some of the | 371 | graphical display, you need to have a suitable font. If some of the |
| 354 | characters appear as empty boxes or hex codes, you should install the | 372 | characters appear as empty boxes or hex codes, you should install |
| 373 | extra fonts. Your operating system may have optional fonts that | ||
| 374 | you can install; or you can install the | ||
| 355 | GNU Intlfonts package, which includes fonts for most supported | 375 | GNU Intlfonts package, which includes fonts for most supported |
| 356 | scripts.@footnote{If you run Emacs on X, you need to inform the X | 376 | scripts.@footnote{If you run Emacs on X, you may need to inform the X |
| 357 | server about the location of the newly installed fonts with the | 377 | server about the location of the newly installed fonts with |
| 358 | following commands: | 378 | commands such as: |
| 379 | @c FIXME? I feel like this may be out of date. | ||
| 380 | @c Eg the intlfonts tarfile is ~ 10 years old. | ||
| 359 | 381 | ||
| 360 | @example | 382 | @example |
| 361 | xset fp+ /usr/local/share/emacs/fonts | 383 | xset fp+ /usr/local/share/emacs/fonts |
| @@ -370,22 +392,25 @@ following commands: | |||
| 370 | @cindex locales | 392 | @cindex locales |
| 371 | Some operating systems let you specify the character-set locale you | 393 | Some operating systems let you specify the character-set locale you |
| 372 | are using by setting the locale environment variables @env{LC_ALL}, | 394 | are using by setting the locale environment variables @env{LC_ALL}, |
| 373 | @env{LC_CTYPE}, or @env{LANG}.@footnote{If more than one of these is | 395 | @env{LC_CTYPE}, or @env{LANG}. (If more than one of these is |
| 374 | set, the first one that is nonempty specifies your locale for this | 396 | set, the first one that is nonempty specifies your locale for this |
| 375 | purpose.} During startup, Emacs looks up your character-set locale's | 397 | purpose.) During startup, Emacs looks up your character-set locale's |
| 376 | name in the system locale alias table, matches its canonical name | 398 | name in the system locale alias table, matches its canonical name |
| 377 | against entries in the value of the variables | 399 | against entries in the value of the variables |
| 378 | @code{locale-charset-language-names} and @code{locale-language-names}, | 400 | @code{locale-charset-language-names} and @code{locale-language-names} |
| 401 | (the former overrides the latter), | ||
| 379 | and selects the corresponding language environment if a match is found. | 402 | and selects the corresponding language environment if a match is found. |
| 380 | (The former variable overrides the latter.) It also adjusts the display | 403 | It also adjusts the display |
| 381 | table and terminal coding system, the locale coding system, the | 404 | table and terminal coding system, the locale coding system, the |
| 382 | preferred coding system as needed for the locale, and---last but not | 405 | preferred coding system as needed for the locale, and---last but not |
| 383 | least---the way Emacs decodes non-@acronym{ASCII} characters sent by your keyboard. | 406 | least---the way Emacs decodes non-@acronym{ASCII} characters sent by your keyboard. |
| 384 | 407 | ||
| 408 | @c This seems unlikely, doesn't it? | ||
| 385 | If you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG} | 409 | If you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG} |
| 386 | environment variables while running Emacs, you may want to invoke the | 410 | environment variables while running Emacs (by using @kbd{M-x setenv}), |
| 387 | @code{set-locale-environment} function afterwards to readjust the | 411 | you may want to invoke the @code{set-locale-environment} |
| 388 | language environment from the new locale. | 412 | function afterwards to readjust the language environment from the new |
| 413 | locale. | ||
| 389 | 414 | ||
| 390 | @vindex locale-preferred-coding-systems | 415 | @vindex locale-preferred-coding-systems |
| 391 | The @code{set-locale-environment} function normally uses the preferred | 416 | The @code{set-locale-environment} function normally uses the preferred |
| @@ -421,7 +446,7 @@ this command describes the chosen language environment. | |||
| 421 | language environment. The hook functions can test for a specific | 446 | language environment. The hook functions can test for a specific |
| 422 | language environment by checking the variable | 447 | language environment by checking the variable |
| 423 | @code{current-language-environment}. This hook is where you should | 448 | @code{current-language-environment}. This hook is where you should |
| 424 | put non-default settings for specific language environment, such as | 449 | put non-default settings for specific language environments, such as |
| 425 | coding systems for keyboard input and terminal output, the default | 450 | coding systems for keyboard input and terminal output, the default |
| 426 | input method, etc. | 451 | input method, etc. |
| 427 | 452 | ||
| @@ -441,7 +466,7 @@ for that key. | |||
| 441 | @cindex input methods | 466 | @cindex input methods |
| 442 | An @dfn{input method} is a kind of character conversion designed | 467 | An @dfn{input method} is a kind of character conversion designed |
| 443 | specifically for interactive input. In Emacs, typically each language | 468 | specifically for interactive input. In Emacs, typically each language |
| 444 | has its own input method; sometimes several languages which use the same | 469 | has its own input method; sometimes several languages that use the same |
| 445 | characters can share one input method. A few languages support several | 470 | characters can share one input method. A few languages support several |
| 446 | input methods. | 471 | input methods. |
| 447 | 472 | ||
| @@ -454,14 +479,14 @@ work this way. | |||
| 454 | characters into one letter. Many European input methods use composition | 479 | characters into one letter. Many European input methods use composition |
| 455 | to produce a single non-@acronym{ASCII} letter from a sequence that consists of a | 480 | to produce a single non-@acronym{ASCII} letter from a sequence that consists of a |
| 456 | letter followed by accent characters (or vice versa). For example, some | 481 | letter followed by accent characters (or vice versa). For example, some |
| 457 | methods convert the sequence @kbd{a'} into a single accented letter. | 482 | methods convert the sequence @kbd{o ^} into a single accented letter. |
| 458 | These input methods have no special commands of their own; all they do | 483 | These input methods have no special commands of their own; all they do |
| 459 | is compose sequences of printing characters. | 484 | is compose sequences of printing characters. |
| 460 | 485 | ||
| 461 | The input methods for syllabic scripts typically use mapping followed | 486 | The input methods for syllabic scripts typically use mapping followed |
| 462 | by composition. The input methods for Thai and Korean work this way. | 487 | by composition. The input methods for Thai and Korean work this way. |
| 463 | First, letters are mapped into symbols for particular sounds or tone | 488 | First, letters are mapped into symbols for particular sounds or tone |
| 464 | marks; then, sequences of these which make up a whole syllable are | 489 | marks; then, sequences of these that make up a whole syllable are |
| 465 | mapped into one syllable sign. | 490 | mapped into one syllable sign. |
| 466 | 491 | ||
| 467 | Chinese and Japanese require more complex methods. In Chinese input | 492 | Chinese and Japanese require more complex methods. In Chinese input |
| @@ -471,7 +496,8 @@ portions of the character (input methods @code{chinese-4corner} and | |||
| 471 | @code{chinese-sw}, and others). One input sequence typically | 496 | @code{chinese-sw}, and others). One input sequence typically |
| 472 | corresponds to many possible Chinese characters. You select the one | 497 | corresponds to many possible Chinese characters. You select the one |
| 473 | you mean using keys such as @kbd{C-f}, @kbd{C-b}, @kbd{C-n}, | 498 | you mean using keys such as @kbd{C-f}, @kbd{C-b}, @kbd{C-n}, |
| 474 | @kbd{C-p}, and digits, which have special meanings in this situation. | 499 | @kbd{C-p} (or the arrow keys), and digits, which have special meanings |
| 500 | in this situation. | ||
| 475 | 501 | ||
| 476 | The possible characters are conceptually arranged in several rows, | 502 | The possible characters are conceptually arranged in several rows, |
| 477 | with each row holding up to 10 alternatives. Normally, Emacs displays | 503 | with each row holding up to 10 alternatives. Normally, Emacs displays |
| @@ -485,8 +511,8 @@ the alternatives in the current row. As you do this, Emacs highlights | |||
| 485 | the current alternative with a special color; type @code{C-@key{SPC}} | 511 | the current alternative with a special color; type @code{C-@key{SPC}} |
| 486 | to select the current alternative and use it as input. The | 512 | to select the current alternative and use it as input. The |
| 487 | alternatives in the row are also numbered; the number appears before | 513 | alternatives in the row are also numbered; the number appears before |
| 488 | the alternative. Typing a digit @var{n} selects the @var{n}th | 514 | the alternative. Typing a number selects the associated alternative |
| 489 | alternative of the current row and uses it as input. | 515 | of the current row and uses it as input. |
| 490 | 516 | ||
| 491 | @key{TAB} in these Chinese input methods displays a buffer showing | 517 | @key{TAB} in these Chinese input methods displays a buffer showing |
| 492 | all the possible characters at once; then clicking @kbd{Mouse-2} on | 518 | all the possible characters at once; then clicking @kbd{Mouse-2} on |
| @@ -505,15 +531,15 @@ the alternatives. | |||
| 505 | Sometimes it is useful to cut off input method processing so that the | 531 | Sometimes it is useful to cut off input method processing so that the |
| 506 | characters you have just entered will not combine with subsequent | 532 | characters you have just entered will not combine with subsequent |
| 507 | characters. For example, in input method @code{latin-1-postfix}, the | 533 | characters. For example, in input method @code{latin-1-postfix}, the |
| 508 | sequence @kbd{e '} combines to form an @samp{e} with an accent. What if | 534 | sequence @kbd{o ^} combines to form an @samp{o} with an accent. What if |
| 509 | you want to enter them as separate characters? | 535 | you want to enter them as separate characters? |
| 510 | 536 | ||
| 511 | One way is to type the accent twice; this is a special feature for | 537 | One way is to type the accent twice; this is a special feature for |
| 512 | entering the separate letter and accent. For example, @kbd{e ' '} gives | 538 | entering the separate letter and accent. For example, @kbd{o ^ ^} gives |
| 513 | you the two characters @samp{e'}. Another way is to type another letter | 539 | you the two characters @samp{o^}. Another way is to type another letter |
| 514 | after the @kbd{e}---something that won't combine with that---and | 540 | after the @kbd{o}---something that won't combine with that---and |
| 515 | immediately delete it. For example, you could type @kbd{e e @key{DEL} | 541 | immediately delete it. For example, you could type @kbd{o o @key{DEL} |
| 516 | '} to get separate @samp{e} and @samp{'}. | 542 | ^} to get separate @samp{o} and @samp{^}. |
| 517 | 543 | ||
| 518 | Another method, more general but not quite as easy to type, is to use | 544 | Another method, more general but not quite as easy to type, is to use |
| 519 | @kbd{C-\ C-\} between two characters to stop them from combining. This | 545 | @kbd{C-\ C-\} between two characters to stop them from combining. This |
| @@ -542,7 +568,7 @@ possible characters to type next is displayed in the echo area (but | |||
| 542 | not when you are in the minibuffer). | 568 | not when you are in the minibuffer). |
| 543 | 569 | ||
| 544 | Another facility for typing characters not on your keyboard is by | 570 | Another facility for typing characters not on your keyboard is by |
| 545 | using the @kbd{C-x 8 @key{RET}} (@code{ucs-insert}) to insert a single | 571 | using @kbd{C-x 8 @key{RET}} (@code{ucs-insert}) to insert a single |
| 546 | character based on its Unicode name or code-point; see @ref{Inserting | 572 | character based on its Unicode name or code-point; see @ref{Inserting |
| 547 | Text}. | 573 | Text}. |
| 548 | 574 | ||
| @@ -588,7 +614,7 @@ turn off the input method temporarily. To do this, type @kbd{C-\} | |||
| 588 | @kbd{C-\} again. | 614 | @kbd{C-\} again. |
| 589 | 615 | ||
| 590 | If you type @kbd{C-\} and you have not yet selected an input method, | 616 | If you type @kbd{C-\} and you have not yet selected an input method, |
| 591 | it prompts for you to specify one. This has the same effect as using | 617 | it prompts you to specify one. This has the same effect as using |
| 592 | @kbd{C-x @key{RET} C-\} to specify an input method. | 618 | @kbd{C-x @key{RET} C-\} to specify an input method. |
| 593 | 619 | ||
| 594 | When invoked with a numeric argument, as in @kbd{C-u C-\}, | 620 | When invoked with a numeric argument, as in @kbd{C-u C-\}, |
| @@ -631,7 +657,7 @@ automatically. For example: | |||
| 631 | @end lisp | 657 | @end lisp |
| 632 | 658 | ||
| 633 | @noindent | 659 | @noindent |
| 634 | This activates the input method ``german-prefix'' automatically in the | 660 | This automatically activates the input method ``german-prefix'' in |
| 635 | Text mode. | 661 | Text mode. |
| 636 | 662 | ||
| 637 | @findex quail-set-keyboard-layout | 663 | @findex quail-set-keyboard-layout |
| @@ -645,7 +671,7 @@ the command @kbd{M-x quail-set-keyboard-layout}. | |||
| 645 | You can use the command @kbd{M-x quail-show-key} to show what key (or | 671 | You can use the command @kbd{M-x quail-show-key} to show what key (or |
| 646 | key sequence) to type in order to input the character following point, | 672 | key sequence) to type in order to input the character following point, |
| 647 | using the selected keyboard layout. The command @kbd{C-u C-x =} also | 673 | using the selected keyboard layout. The command @kbd{C-u C-x =} also |
| 648 | shows that information in addition to the other information about the | 674 | shows that information, in addition to other information about the |
| 649 | character. | 675 | character. |
| 650 | 676 | ||
| 651 | @findex list-input-methods | 677 | @findex list-input-methods |
| @@ -685,7 +711,8 @@ system; for example, to visit a file encoded in codepage 850, type | |||
| 685 | In addition to converting various representations of non-@acronym{ASCII} | 711 | In addition to converting various representations of non-@acronym{ASCII} |
| 686 | characters, a coding system can perform end-of-line conversion. Emacs | 712 | characters, a coding system can perform end-of-line conversion. Emacs |
| 687 | handles three different conventions for how to separate lines in a file: | 713 | handles three different conventions for how to separate lines in a file: |
| 688 | newline, carriage-return linefeed, and just carriage-return. | 714 | newline (``unix''), carriage-return linefeed (``dos''), and just |
| 715 | carriage-return (``mac''). | ||
| 689 | 716 | ||
| 690 | @table @kbd | 717 | @table @kbd |
| 691 | @item C-h C @var{coding} @key{RET} | 718 | @item C-h C @var{coding} @key{RET} |
| @@ -725,27 +752,27 @@ end-of-line conversion to be decided based on the contents of each file. | |||
| 725 | For example, if the file appears to use the sequence carriage-return | 752 | For example, if the file appears to use the sequence carriage-return |
| 726 | linefeed to separate lines, DOS end-of-line conversion will be used. | 753 | linefeed to separate lines, DOS end-of-line conversion will be used. |
| 727 | 754 | ||
| 728 | Each of the listed coding systems has three variants which specify | 755 | Each of the listed coding systems has three variants, which specify |
| 729 | exactly what to do for end-of-line conversion: | 756 | exactly what to do for end-of-line conversion: |
| 730 | 757 | ||
| 731 | @table @code | 758 | @table @code |
| 732 | @item @dots{}-unix | 759 | @item @dots{}-unix |
| 733 | Don't do any end-of-line conversion; assume the file uses | 760 | Don't do any end-of-line conversion; assume the file uses |
| 734 | newline to separate lines. (This is the convention normally used | 761 | newline to separate lines. (This is the convention normally used |
| 735 | on Unix and GNU systems.) | 762 | on Unix and GNU systems, and Mac OS X.) |
| 736 | 763 | ||
| 737 | @item @dots{}-dos | 764 | @item @dots{}-dos |
| 738 | Assume the file uses carriage-return linefeed to separate lines, and do | 765 | Assume the file uses carriage-return linefeed to separate lines, and do |
| 739 | the appropriate conversion. (This is the convention normally used on | 766 | the appropriate conversion. (This is the convention normally used on |
| 740 | Microsoft systems.@footnote{It is also specified for MIME @samp{text/*} | 767 | Microsoft systems.@footnote{It is also specified for MIME @samp{text/*} |
| 741 | bodies and in other network transport contexts. It is different | 768 | bodies and in other network transport contexts. It is different |
| 742 | from the SGML reference syntax record-start/record-end format which | 769 | from the SGML reference syntax record-start/record-end format, which |
| 743 | Emacs doesn't support directly.}) | 770 | Emacs doesn't support directly.}) |
| 744 | 771 | ||
| 745 | @item @dots{}-mac | 772 | @item @dots{}-mac |
| 746 | Assume the file uses carriage-return to separate lines, and do the | 773 | Assume the file uses carriage-return to separate lines, and do the |
| 747 | appropriate conversion. (This is the convention normally used on the | 774 | appropriate conversion. (This was the convention used on the |
| 748 | Macintosh system.) | 775 | Macintosh system prior to OS X.) |
| 749 | @end table | 776 | @end table |
| 750 | 777 | ||
| 751 | These variant coding systems are omitted from the | 778 | These variant coding systems are omitted from the |
| @@ -763,7 +790,7 @@ be deduced from the text itself. | |||
| 763 | 790 | ||
| 764 | @cindex @code{raw-text}, coding system | 791 | @cindex @code{raw-text}, coding system |
| 765 | The coding system @code{raw-text} is good for a file which is mainly | 792 | The coding system @code{raw-text} is good for a file which is mainly |
| 766 | @acronym{ASCII} text, but may contain byte values above 127 which are | 793 | @acronym{ASCII} text, but may contain byte values above 127 that are |
| 767 | not meant to encode non-@acronym{ASCII} characters. With | 794 | not meant to encode non-@acronym{ASCII} characters. With |
| 768 | @code{raw-text}, Emacs copies those byte values unchanged, and sets | 795 | @code{raw-text}, Emacs copies those byte values unchanged, and sets |
| 769 | @code{enable-multibyte-characters} to @code{nil} in the current buffer | 796 | @code{enable-multibyte-characters} to @code{nil} in the current buffer |
| @@ -880,37 +907,47 @@ the buffer. | |||
| 880 | 907 | ||
| 881 | The default value of @code{inhibit-iso-escape-detection} is | 908 | The default value of @code{inhibit-iso-escape-detection} is |
| 882 | @code{nil}. We recommend that you not change it permanently, only for | 909 | @code{nil}. We recommend that you not change it permanently, only for |
| 883 | one specific operation. That's because many Emacs Lisp source files | 910 | one specific operation. That's because some Emacs Lisp source files |
| 884 | in the Emacs distribution contain non-@acronym{ASCII} characters encoded in the | 911 | in the Emacs distribution contain non-@acronym{ASCII} characters encoded in the |
| 885 | coding system @code{iso-2022-7bit}, and they won't be | 912 | coding system @code{iso-2022-7bit}, and they won't be |
| 886 | decoded correctly when you visit those files if you suppress the | 913 | decoded correctly when you visit those files if you suppress the |
| 887 | escape sequence detection. | 914 | escape sequence detection. |
| 915 | @c I count a grand total of 3 such files, so is the above really true? | ||
| 888 | 916 | ||
| 889 | @vindex auto-coding-alist | 917 | @vindex auto-coding-alist |
| 890 | @vindex auto-coding-regexp-alist | 918 | @vindex auto-coding-regexp-alist |
| 891 | @vindex auto-coding-functions | 919 | The variables @code{auto-coding-alist} and |
| 892 | The variables @code{auto-coding-alist}, | 920 | @code{auto-coding-regexp-alist} are |
| 893 | @code{auto-coding-regexp-alist} and @code{auto-coding-functions} are | ||
| 894 | the strongest way to specify the coding system for certain patterns of | 921 | the strongest way to specify the coding system for certain patterns of |
| 895 | file names, or for files containing certain patterns; these variables | 922 | file names, or for files containing certain patterns, respectively. |
| 896 | even override @samp{-*-coding:-*-} tags in the file itself. Emacs | 923 | These variables even override @samp{-*-coding:-*-} tags in the file |
| 924 | itself. For example, Emacs | ||
| 897 | uses @code{auto-coding-alist} for tar and archive files, to prevent it | 925 | uses @code{auto-coding-alist} for tar and archive files, to prevent it |
| 898 | from being confused by a @samp{-*-coding:-*-} tag in a member of the | 926 | from being confused by a @samp{-*-coding:-*-} tag in a member of the |
| 899 | archive and thinking it applies to the archive file as a whole. | 927 | archive and thinking it applies to the archive file as a whole. |
| 928 | @ignore | ||
| 929 | @c This describes old-style BABYL files, which are no longer relevant. | ||
| 900 | Likewise, Emacs uses @code{auto-coding-regexp-alist} to ensure that | 930 | Likewise, Emacs uses @code{auto-coding-regexp-alist} to ensure that |
| 901 | RMAIL files, whose names in general don't match any particular | 931 | RMAIL files, whose names in general don't match any particular |
| 902 | pattern, are decoded correctly. One of the builtin | 932 | pattern, are decoded correctly. |
| 933 | @end ignore | ||
| 934 | |||
| 935 | @vindex auto-coding-functions | ||
| 936 | Another way to specify a coding system is with the variable | ||
| 937 | @code{auto-coding-functions}. For example, one of the builtin | ||
| 903 | @code{auto-coding-functions} detects the encoding for XML files. | 938 | @code{auto-coding-functions} detects the encoding for XML files. |
| 939 | Unlike the previous two, this variable does not override any | ||
| 940 | @samp{-*-coding:-*-} tag. | ||
| 904 | 941 | ||
| 942 | @c FIXME? This seems somewhat out of place. Move to the Rmail section? | ||
| 905 | @vindex rmail-decode-mime-charset | 943 | @vindex rmail-decode-mime-charset |
| 906 | @vindex rmail-file-coding-system | 944 | @vindex rmail-file-coding-system |
| 907 | When you get new mail in Rmail, each message is translated | 945 | When you get new mail in Rmail, each message is translated |
| 908 | automatically from the coding system it is written in, as if it were a | 946 | automatically from the coding system it is written in, as if it were a |
| 909 | separate file. This uses the priority list of coding systems that you | 947 | separate file. This uses the priority list of coding systems that you |
| 910 | have specified. If a MIME message specifies a character set, Rmail | 948 | have specified. If a MIME message specifies a character set, Rmail |
| 911 | obeys that specification, unless @code{rmail-decode-mime-charset} is | 949 | obeys that specification. For reading and saving Rmail files |
| 912 | @code{nil}. For reading and saving Rmail files themselves, Emacs uses | 950 | themselves, Emacs uses the coding system specified by the variable |
| 913 | the coding system specified by the variable | ||
| 914 | @code{rmail-file-coding-system}. The default value is @code{nil}, | 951 | @code{rmail-file-coding-system}. The default value is @code{nil}, |
| 915 | which means that Rmail files are not translated (they are read and | 952 | which means that Rmail files are not translated (they are read and |
| 916 | written in the Emacs internal character code). | 953 | written in the Emacs internal character code). |
| @@ -1540,7 +1577,7 @@ can still handle these character codes as if they belonged to | |||
| 1540 | set-language-environment} and specify a suitable language environment | 1577 | set-language-environment} and specify a suitable language environment |
| 1541 | such as @samp{Latin-@var{n}}. | 1578 | such as @samp{Latin-@var{n}}. |
| 1542 | 1579 | ||
| 1543 | For more information about unibyte operation, see @ref{Enabling | 1580 | For more information about unibyte operation, see @ref{Disabling |
| 1544 | Multibyte}. Note particularly that you probably want to ensure that | 1581 | Multibyte}. Note particularly that you probably want to ensure that |
| 1545 | your initialization files are read as unibyte if they contain | 1582 | your initialization files are read as unibyte if they contain |
| 1546 | non-@acronym{ASCII} characters. | 1583 | non-@acronym{ASCII} characters. |
| @@ -1613,7 +1650,7 @@ a key sequence is allowed. | |||
| 1613 | library is loaded, the @key{ALT} modifier key, if the keyboard has | 1650 | library is loaded, the @key{ALT} modifier key, if the keyboard has |
| 1614 | one, serves the same purpose as @kbd{C-x 8}: use @key{ALT} together | 1651 | one, serves the same purpose as @kbd{C-x 8}: use @key{ALT} together |
| 1615 | with an accent character to modify the following letter. In addition, | 1652 | with an accent character to modify the following letter. In addition, |
| 1616 | if the keyboard has keys for the Latin-1 ``dead accent characters,'' | 1653 | if the keyboard has keys for the Latin-1 ``dead accent characters'', |
| 1617 | they too are defined to compose with the following character, once | 1654 | they too are defined to compose with the following character, once |
| 1618 | @code{iso-transl} is loaded. | 1655 | @code{iso-transl} is loaded. |
| 1619 | 1656 | ||
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi index 91b25cfa00e..4435590536f 100644 --- a/doc/emacs/package.texi +++ b/doc/emacs/package.texi | |||
| @@ -14,7 +14,7 @@ Emacs includes a facility that lets you easily download and install | |||
| 14 | separate Emacs Lisp program, sometimes including other components such | 14 | separate Emacs Lisp program, sometimes including other components such |
| 15 | as an Info manual. | 15 | as an Info manual. |
| 16 | 16 | ||
| 17 | @kbd{M-x list-packages} brings up a buffer named @samp{*Packages*} | 17 | @kbd{M-x list-packages} brings up a buffer named @file{*Packages*} |
| 18 | with a list of all packages. You can install or uninstall packages | 18 | with a list of all packages. You can install or uninstall packages |
| 19 | via this buffer. @xref{Package Menu}. | 19 | via this buffer. @xref{Package Menu}. |
| 20 | 20 | ||
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 8217400663f..5f7abcf3881 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -1130,7 +1130,7 @@ prompts for a topic, with completion (@pxref{Completion}), and runs | |||
| 1130 | the @command{man} program to format the corresponding man page. If | 1130 | the @command{man} program to format the corresponding man page. If |
| 1131 | the system permits, it runs @command{man} asynchronously, so that you | 1131 | the system permits, it runs @command{man} asynchronously, so that you |
| 1132 | can keep on editing while the page is being formatted. The result | 1132 | can keep on editing while the page is being formatted. The result |
| 1133 | goes in a buffer named @samp{*Man @var{topic}*}. These buffers use a | 1133 | goes in a buffer named @file{*Man @var{topic}*}. These buffers use a |
| 1134 | special major mode, Man mode, that facilitates scrolling and jumping | 1134 | special major mode, Man mode, that facilitates scrolling and jumping |
| 1135 | to other manual pages. For details, type @kbd{C-h m} while in a Man | 1135 | to other manual pages. For details, type @kbd{C-h m} while in a Man |
| 1136 | mode buffer. | 1136 | mode buffer. |
| @@ -1165,7 +1165,7 @@ command. Unlike @kbd{M-x man}, it does not run any external programs | |||
| 1165 | to format and display the man pages; the formatting is done by Emacs, | 1165 | to format and display the man pages; the formatting is done by Emacs, |
| 1166 | so it works on systems such as MS-Windows where the @command{man} | 1166 | so it works on systems such as MS-Windows where the @command{man} |
| 1167 | program may be unavailable. It prompts for a man page, and displays | 1167 | program may be unavailable. It prompts for a man page, and displays |
| 1168 | it in a buffer named @samp{*WoMan @var{section} @var{topic}}. | 1168 | it in a buffer named @file{*WoMan @var{section} @var{topic}}. |
| 1169 | 1169 | ||
| 1170 | @kbd{M-x woman} computes the completion list for manpages the first | 1170 | @kbd{M-x woman} computes the completion list for manpages the first |
| 1171 | time you invoke the command. With a numeric argument, it recomputes | 1171 | time you invoke the command. With a numeric argument, it recomputes |
| @@ -1705,7 +1705,7 @@ inserted on that line, and any @samp{\} there is deleted. | |||
| 1705 | @cindex preprocessor highlighting | 1705 | @cindex preprocessor highlighting |
| 1706 | @findex cpp-highlight-buffer | 1706 | @findex cpp-highlight-buffer |
| 1707 | Highlight parts of the text according to its preprocessor conditionals. | 1707 | Highlight parts of the text according to its preprocessor conditionals. |
| 1708 | This command displays another buffer named @samp{*CPP Edit*}, which | 1708 | This command displays another buffer named @file{*CPP Edit*}, which |
| 1709 | serves as a graphic menu for selecting how to display particular kinds | 1709 | serves as a graphic menu for selecting how to display particular kinds |
| 1710 | of conditionals and their contents. After changing various settings, | 1710 | of conditionals and their contents. After changing various settings, |
| 1711 | click on @samp{[A]pply these settings} (or go to that buffer and type | 1711 | click on @samp{[A]pply these settings} (or go to that buffer and type |
diff --git a/doc/emacs/screen.texi b/doc/emacs/screen.texi index fe3222e198f..fdc69a78cfc 100644 --- a/doc/emacs/screen.texi +++ b/doc/emacs/screen.texi | |||
| @@ -131,15 +131,15 @@ Commands that take a long time often display messages ending in | |||
| 131 | progress has been made, as a percentage), and add @samp{done} when | 131 | progress has been made, as a percentage), and add @samp{done} when |
| 132 | they are finished. | 132 | they are finished. |
| 133 | 133 | ||
| 134 | @cindex @samp{*Messages*} buffer | 134 | @cindex @file{*Messages*} buffer |
| 135 | @cindex saved echo area messages | 135 | @cindex saved echo area messages |
| 136 | @cindex messages saved from echo area | 136 | @cindex messages saved from echo area |
| 137 | @vindex message-log-max | 137 | @vindex message-log-max |
| 138 | Informative echo area messages are saved in a special buffer named | 138 | Informative echo area messages are saved in a special buffer named |
| 139 | @samp{*Messages*}. (We have not explained buffers yet; see | 139 | @file{*Messages*}. (We have not explained buffers yet; see |
| 140 | @ref{Buffers}, for more information about them.) If you miss a | 140 | @ref{Buffers}, for more information about them.) If you miss a |
| 141 | message that appeared briefly on the screen, you can switch to the | 141 | message that appeared briefly on the screen, you can switch to the |
| 142 | @samp{*Messages*} buffer to see it again. The @samp{*Messages*} | 142 | @file{*Messages*} buffer to see it again. The @file{*Messages*} |
| 143 | buffer is limited to a certain number of lines, specified by the | 143 | buffer is limited to a certain number of lines, specified by the |
| 144 | variable @code{message-log-max}. (We have not explained variables | 144 | variable @code{message-log-max}. (We have not explained variables |
| 145 | either; see @ref{Variables}, for more information about them.) Beyond | 145 | either; see @ref{Variables}, for more information about them.) Beyond |
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 877e291ff36..38f00f03532 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -1308,7 +1308,7 @@ displayed before and after each matching line. | |||
| 1308 | @kindex RET @r{(Occur mode)} | 1308 | @kindex RET @r{(Occur mode)} |
| 1309 | @kindex o @r{(Occur mode)} | 1309 | @kindex o @r{(Occur mode)} |
| 1310 | @kindex C-o @r{(Occur mode)} | 1310 | @kindex C-o @r{(Occur mode)} |
| 1311 | In the @samp{*Occur*} buffer, you can click on each entry, or move | 1311 | In the @file{*Occur*} buffer, you can click on each entry, or move |
| 1312 | point there and type @key{RET}, to visit the corresponding position in | 1312 | point there and type @key{RET}, to visit the corresponding position in |
| 1313 | the buffer that was searched. @kbd{o} and @kbd{C-o} display the match | 1313 | the buffer that was searched. @kbd{o} and @kbd{C-o} display the match |
| 1314 | in another window; @kbd{C-o} does not select it. Alternatively, you | 1314 | in another window; @kbd{C-o} does not select it. Alternatively, you |
| @@ -1317,7 +1317,7 @@ occurrences one by one (@pxref{Compilation Mode}). | |||
| 1317 | 1317 | ||
| 1318 | @cindex Occur Edit mode | 1318 | @cindex Occur Edit mode |
| 1319 | @cindex mode, Occur Edit | 1319 | @cindex mode, Occur Edit |
| 1320 | Typing @kbd{e} in the @samp{*Occur*} buffer switches to Occur Edit | 1320 | Typing @kbd{e} in the @file{*Occur*} buffer switches to Occur Edit |
| 1321 | mode, in which edits made to the entries are also applied to the text | 1321 | mode, in which edits made to the entries are also applied to the text |
| 1322 | in the originating buffer. Type @kbd{C-c C-c} to return to Occur | 1322 | in the originating buffer. Type @kbd{C-c C-c} to return to Occur |
| 1323 | mode. | 1323 | mode. |
diff --git a/doc/emacs/sending.texi b/doc/emacs/sending.texi index 5e80eb10824..bf2b41cdbe0 100644 --- a/doc/emacs/sending.texi +++ b/doc/emacs/sending.texi | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | @kindex C-x m | 12 | @kindex C-x m |
| 13 | @findex compose-mail | 13 | @findex compose-mail |
| 14 | To send an email message from Emacs, type @kbd{C-x m}. This | 14 | To send an email message from Emacs, type @kbd{C-x m}. This |
| 15 | switches to a buffer named @samp{*unsent mail*}, where you can edit | 15 | switches to a buffer named @file{*unsent mail*}, where you can edit |
| 16 | the text and headers of the message. When done, type @kbd{C-c C-s} or | 16 | the text and headers of the message. When done, type @kbd{C-c C-s} or |
| 17 | @kbd{C-c C-c} to send it. | 17 | @kbd{C-c C-c} to send it. |
| 18 | 18 | ||
| @@ -306,7 +306,7 @@ completion, and inserts its definition at point. | |||
| 306 | @cindex Message mode | 306 | @cindex Message mode |
| 307 | @cindex mode, Message | 307 | @cindex mode, Message |
| 308 | 308 | ||
| 309 | The default major mode for the @samp{*mail*} buffer is called | 309 | The default major mode for the @file{*mail*} buffer is called |
| 310 | Message mode. It behaves like Text mode in many ways, but provides | 310 | Message mode. It behaves like Text mode in many ways, but provides |
| 311 | several additional commands on the @kbd{C-c} prefix, which make | 311 | several additional commands on the @kbd{C-c} prefix, which make |
| 312 | editing a message more convenient. | 312 | editing a message more convenient. |
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 5363da7d649..e56b00e2723 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi | |||
| @@ -1548,7 +1548,7 @@ text that belongs inside. Afterward, use the command @kbd{C-c @}} | |||
| 1548 | point, and inserts two newlines to start a new paragraph. It outputs | 1548 | point, and inserts two newlines to start a new paragraph. It outputs |
| 1549 | a message in the echo area if any mismatch is found. @kbd{M-x | 1549 | a message in the echo area if any mismatch is found. @kbd{M-x |
| 1550 | tex-validate-region} checks a region, paragraph by paragraph. The | 1550 | tex-validate-region} checks a region, paragraph by paragraph. The |
| 1551 | errors are listed in an @samp{*Occur*} buffer; you can use the usual | 1551 | errors are listed in an @file{*Occur*} buffer; you can use the usual |
| 1552 | Occur mode commands in that buffer, such as @kbd{C-c C-c}, to visit a | 1552 | Occur mode commands in that buffer, such as @kbd{C-c C-c}, to visit a |
| 1553 | particular mismatch (@pxref{Other Repeating Search}). | 1553 | particular mismatch (@pxref{Other Repeating Search}). |
| 1554 | 1554 | ||
| @@ -1694,7 +1694,7 @@ name with @samp{*} in the command string. For example, | |||
| 1694 | @findex tex-recenter-output-buffer | 1694 | @findex tex-recenter-output-buffer |
| 1695 | @kindex C-c C-l @r{(@TeX{} mode)} | 1695 | @kindex C-c C-l @r{(@TeX{} mode)} |
| 1696 | The terminal output from @TeX{}, including any error messages, | 1696 | The terminal output from @TeX{}, including any error messages, |
| 1697 | appears in a buffer called @samp{*tex-shell*}. If @TeX{} gets an | 1697 | appears in a buffer called @file{*tex-shell*}. If @TeX{} gets an |
| 1698 | error, you can switch to this buffer and feed it input (this works as | 1698 | error, you can switch to this buffer and feed it input (this works as |
| 1699 | in Shell mode; @pxref{Interactive Shell}). Without switching to this | 1699 | in Shell mode; @pxref{Interactive Shell}). Without switching to this |
| 1700 | buffer you can scroll it so that its last line is visible by typing | 1700 | buffer you can scroll it so that its last line is visible by typing |
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index 1b3f1419af4..c4f291bde82 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi | |||
| @@ -636,7 +636,7 @@ Emacs, so you will have to report the bug somewhere else. | |||
| 636 | The type of machine you are using, and the operating system name and | 636 | The type of machine you are using, and the operating system name and |
| 637 | version number (again, automatically included by @kbd{M-x | 637 | version number (again, automatically included by @kbd{M-x |
| 638 | report-emacs-bug}). @kbd{M-x emacs-version @key{RET}} provides this | 638 | report-emacs-bug}). @kbd{M-x emacs-version @key{RET}} provides this |
| 639 | information too. Copy its output from the @samp{*Messages*} buffer, | 639 | information too. Copy its output from the @file{*Messages*} buffer, |
| 640 | so that you get it all and get it accurately. | 640 | so that you get it all and get it accurately. |
| 641 | 641 | ||
| 642 | @item | 642 | @item |
| @@ -699,7 +699,7 @@ The way to collect the terminal output is to execute the Lisp expression | |||
| 699 | @end example | 699 | @end example |
| 700 | 700 | ||
| 701 | @noindent | 701 | @noindent |
| 702 | using @kbd{M-:} or from the @samp{*scratch*} buffer just after | 702 | using @kbd{M-:} or from the @file{*scratch*} buffer just after |
| 703 | starting Emacs. From then on, Emacs copies all terminal output to the | 703 | starting Emacs. From then on, Emacs copies all terminal output to the |
| 704 | specified termscript file as well, until the Emacs process is killed. | 704 | specified termscript file as well, until the Emacs process is killed. |
| 705 | If the problem happens when Emacs starts up, put this expression into | 705 | If the problem happens when Emacs starts up, put this expression into |
| @@ -725,10 +725,10 @@ Alternatively, use the @command{locale} command, if your system has it, | |||
| 725 | to display your locale settings. | 725 | to display your locale settings. |
| 726 | 726 | ||
| 727 | You can use the @kbd{M-!} command to execute these commands from | 727 | You can use the @kbd{M-!} command to execute these commands from |
| 728 | Emacs, and then copy the output from the @samp{*Messages*} buffer into | 728 | Emacs, and then copy the output from the @file{*Messages*} buffer into |
| 729 | the bug report. Alternatively, @kbd{M-x getenv @key{RET} LC_ALL | 729 | the bug report. Alternatively, @kbd{M-x getenv @key{RET} LC_ALL |
| 730 | @key{RET}} will display the value of @code{LC_ALL} in the echo area, and | 730 | @key{RET}} will display the value of @code{LC_ALL} in the echo area, and |
| 731 | you can copy its output from the @samp{*Messages*} buffer. | 731 | you can copy its output from the @file{*Messages*} buffer. |
| 732 | 732 | ||
| 733 | @item | 733 | @item |
| 734 | A description of what behavior you observe that you believe is | 734 | A description of what behavior you observe that you believe is |
| @@ -761,7 +761,7 @@ important to report the precise text of the error message, and a | |||
| 761 | backtrace showing how the Lisp program in Emacs arrived at the error. | 761 | backtrace showing how the Lisp program in Emacs arrived at the error. |
| 762 | 762 | ||
| 763 | To get the error message text accurately, copy it from the | 763 | To get the error message text accurately, copy it from the |
| 764 | @samp{*Messages*} buffer into the bug report. Copy all of it, not just | 764 | @file{*Messages*} buffer into the bug report. Copy all of it, not just |
| 765 | part. | 765 | part. |
| 766 | 766 | ||
| 767 | @findex toggle-debug-on-error | 767 | @findex toggle-debug-on-error |
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index adac111f5f9..d9ebf07952c 100644 --- a/doc/lispintro/ChangeLog +++ b/doc/lispintro/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-04-14 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in: Replace non-portable use of $< in ordinary rules. | ||
| 4 | |||
| 1 | 2012-02-28 Glenn Morris <rgm@gnu.org> | 5 | 2012-02-28 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * emacs-lisp-intro.texi: Standardize possessive apostrophe usage. | 7 | * emacs-lisp-intro.texi: Standardize possessive apostrophe usage. |
diff --git a/doc/lispintro/Makefile.in b/doc/lispintro/Makefile.in index fa9a0a4037c..c638dd6135f 100644 --- a/doc/lispintro/Makefile.in +++ b/doc/lispintro/Makefile.in | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #### Makefile for the Emacs Lisp Introduction manual | 1 | #### Makefile for the Emacs Lisp Introduction manual |
| 2 | 2 | ||
| 3 | # Copyright (C) 1994-1999, 2001-2012 Free Software Foundation, Inc. | 3 | # Copyright (C) 1994-1999, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | # This file is part of GNU Emacs. | 5 | # This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -48,21 +48,22 @@ ps: emacs-lisp-intro.ps | |||
| 48 | 48 | ||
| 49 | # The file name eintr must fit within 5 characters, to allow for | 49 | # The file name eintr must fit within 5 characters, to allow for |
| 50 | # -NN extensions to fit into DOS 8+3 limits without clashing. | 50 | # -NN extensions to fit into DOS 8+3 limits without clashing. |
| 51 | # Note: "<" is not portable in ordinary make rules. | ||
| 51 | ${infodir}/eintr: ${srcdir}/emacs-lisp-intro.texi | 52 | ${infodir}/eintr: ${srcdir}/emacs-lisp-intro.texi |
| 52 | $(mkinfodir) | 53 | $(mkinfodir) |
| 53 | $(MAKEINFO) $(MAKEINFO_OPTS) -o $@ $< | 54 | $(MAKEINFO) $(MAKEINFO_OPTS) -o $@ ${srcdir}/emacs-lisp-intro.texi |
| 54 | 55 | ||
| 55 | emacs-lisp-intro.dvi: ${srcdir}/emacs-lisp-intro.texi | 56 | emacs-lisp-intro.dvi: ${srcdir}/emacs-lisp-intro.texi |
| 56 | $(ENVADD) $(TEXI2DVI) $< | 57 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-lisp-intro.texi |
| 57 | 58 | ||
| 58 | emacs-lisp-intro.ps: emacs-lisp-intro.dvi | 59 | emacs-lisp-intro.ps: emacs-lisp-intro.dvi |
| 59 | $(DVIPS) -o $@ $< | 60 | $(DVIPS) -o $@ emacs-lisp-intro.dvi |
| 60 | 61 | ||
| 61 | emacs-lisp-intro.pdf: ${srcdir}/emacs-lisp-intro.texi | 62 | emacs-lisp-intro.pdf: ${srcdir}/emacs-lisp-intro.texi |
| 62 | $(ENVADD) $(TEXI2PDF) $< | 63 | $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-lisp-intro.texi |
| 63 | 64 | ||
| 64 | emacs-lisp-intro.html: ${srcdir}/emacs-lisp-intro.texi | 65 | emacs-lisp-intro.html: ${srcdir}/emacs-lisp-intro.texi |
| 65 | $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ $< | 66 | $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ ${srcdir}/emacs-lisp-intro.texi |
| 66 | 67 | ||
| 67 | .PHONY: mostlyclean clean distclean maintainer-clean infoclean | 68 | .PHONY: mostlyclean clean distclean maintainer-clean infoclean |
| 68 | 69 | ||
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index b5bdba1296f..6b3aba6d799 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,40 @@ | |||
| 1 | 2012-04-14 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * customize.texi (Applying Customizations): | ||
| 4 | (Custom Themes): New nodes. | ||
| 5 | |||
| 6 | * display.texi (Defining Faces): Reference custom-set-faces. | ||
| 7 | |||
| 8 | * modes.texi (Defining Minor Modes, Defining Minor Modes): | ||
| 9 | * os.texi (Startup Summary): Copyedits. | ||
| 10 | |||
| 11 | 2012-04-14 Glenn Morris <rgm@gnu.org> | ||
| 12 | |||
| 13 | * loading.texi (Loading Non-ASCII): "unibyte:" can also be at the end. | ||
| 14 | |||
| 15 | * strings.texi (Case Tables): | ||
| 16 | * objects.texi (General Escape Syntax): | ||
| 17 | * keymaps.texi (Key Sequences): Use @acronym with "ASCII". | ||
| 18 | |||
| 19 | * buffers.texi, compile.texi, customize.texi, debugging.texi: | ||
| 20 | * display.texi, edebug.texi, eval.texi, help.texi, intro.texi: | ||
| 21 | * keymaps.texi, minibuf.texi, modes.texi, os.texi, processes.texi: | ||
| 22 | * text.texi: Use @file for buffers, per the Texinfo manual. | ||
| 23 | |||
| 24 | * compile.texi (Compiler Errors): Add missing space in buffer name. | ||
| 25 | |||
| 26 | 2012-04-14 Chong Yidong <cyd@gnu.org> | ||
| 27 | |||
| 28 | * processes.texi (Query Before Exit): Remove obsolete function | ||
| 29 | process-kill-without-query (Bug#11190). | ||
| 30 | |||
| 31 | 2012-04-14 Glenn Morris <rgm@gnu.org> | ||
| 32 | |||
| 33 | * files.texi, frames.texi, loading.texi, os.texi, processes.texi: | ||
| 34 | Use @env for environment variables. | ||
| 35 | |||
| 36 | * Makefile.in: Replace non-portable use of $< in ordinary rules. | ||
| 37 | |||
| 1 | 2012-04-12 Jari Aalto <jari.aalto@cante.net> | 38 | 2012-04-12 Jari Aalto <jari.aalto@cante.net> |
| 2 | 39 | ||
| 3 | * processes.texi (Synchronous Processes): Mention | 40 | * processes.texi (Synchronous Processes): Mention |
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in index 5094a3f8ab6..10ec236eaee 100644 --- a/doc/lispref/Makefile.in +++ b/doc/lispref/Makefile.in | |||
| @@ -106,21 +106,22 @@ html: elisp.html | |||
| 106 | pdf: elisp.pdf | 106 | pdf: elisp.pdf |
| 107 | ps: elisp.ps | 107 | ps: elisp.ps |
| 108 | 108 | ||
| 109 | ## Note: "<" is not portable in ordinary make rules. | ||
| 109 | $(infodir)/elisp: $(srcs) | 110 | $(infodir)/elisp: $(srcs) |
| 110 | $(mkinfodir) | 111 | $(mkinfodir) |
| 111 | $(MAKEINFO) $(MAKEINFO_OPTS) -o $@ $< | 112 | $(MAKEINFO) $(MAKEINFO_OPTS) -o $@ $(srcdir)/elisp.texi |
| 112 | 113 | ||
| 113 | elisp.dvi: $(srcs) | 114 | elisp.dvi: $(srcs) |
| 114 | $(ENVADD) $(TEXI2DVI) $< | 115 | $(ENVADD) $(TEXI2DVI) $(srcdir)/elisp.texi |
| 115 | 116 | ||
| 116 | elisp.html: $(srcs) | 117 | elisp.html: $(srcs) |
| 117 | $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ $< | 118 | $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ $(srcdir)/elisp.texi |
| 118 | 119 | ||
| 119 | elisp.ps: elisp.dvi | 120 | elisp.ps: elisp.dvi |
| 120 | $(DVIPS) -o $@ $< | 121 | $(DVIPS) -o $@ elisp.dvi |
| 121 | 122 | ||
| 122 | elisp.pdf: $(srcs) | 123 | elisp.pdf: $(srcs) |
| 123 | $(ENVADD) $(TEXI2PDF) $< | 124 | $(ENVADD) $(TEXI2PDF) $(srcdir)/elisp.texi |
| 124 | 125 | ||
| 125 | .PHONY: mostlyclean clean distclean maintainer-clean infoclean | 126 | .PHONY: mostlyclean clean distclean maintainer-clean infoclean |
| 126 | 127 | ||
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi index 125a886ecb2..433663b4260 100644 --- a/doc/lispref/buffers.texi +++ b/doc/lispref/buffers.texi | |||
| @@ -863,7 +863,7 @@ a buffer visible in any window on any visible frame, except as a last | |||
| 863 | resort. If @var{visible-ok} is non-@code{nil}, then it does not matter | 863 | resort. If @var{visible-ok} is non-@code{nil}, then it does not matter |
| 864 | whether a buffer is displayed somewhere or not. | 864 | whether a buffer is displayed somewhere or not. |
| 865 | 865 | ||
| 866 | If no suitable buffer exists, the buffer @samp{*scratch*} is returned | 866 | If no suitable buffer exists, the buffer @file{*scratch*} is returned |
| 867 | (and created, if necessary). | 867 | (and created, if necessary). |
| 868 | @end defun | 868 | @end defun |
| 869 | 869 | ||
| @@ -874,7 +874,7 @@ selected frame's buffer list. | |||
| 874 | 874 | ||
| 875 | The argument @var{visible-ok} is handled as with @code{other-buffer}, | 875 | The argument @var{visible-ok} is handled as with @code{other-buffer}, |
| 876 | see above. If no suitable buffer can be found, the buffer | 876 | see above. If no suitable buffer can be found, the buffer |
| 877 | @samp{*scratch*} is returned. | 877 | @file{*scratch*} is returned. |
| 878 | @end defun | 878 | @end defun |
| 879 | 879 | ||
| 880 | @deffn Command bury-buffer &optional buffer-or-name | 880 | @deffn Command bury-buffer &optional buffer-or-name |
diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi index 90d038c29d6..093c91f02b0 100644 --- a/doc/lispref/compile.texi +++ b/doc/lispref/compile.texi | |||
| @@ -92,7 +92,7 @@ the @code{byte-compile} function. You can compile a whole file with | |||
| 92 | 92 | ||
| 93 | Sometimes, the byte compiler produces warning and/or error messages | 93 | Sometimes, the byte compiler produces warning and/or error messages |
| 94 | (@pxref{Compiler Errors}, for details). These messages are recorded | 94 | (@pxref{Compiler Errors}, for details). These messages are recorded |
| 95 | in a buffer called @samp{*Compile-Log*}, which uses Compilation mode. | 95 | in a buffer called @file{*Compile-Log*}, which uses Compilation mode. |
| 96 | @xref{Compilation Mode,,,emacs, The GNU Emacs Manual}. | 96 | @xref{Compilation Mode,,,emacs, The GNU Emacs Manual}. |
| 97 | 97 | ||
| 98 | @cindex macro compilation | 98 | @cindex macro compilation |
| @@ -443,14 +443,14 @@ to what @code{eval-when-compile} does. | |||
| 443 | @cindex compiler errors | 443 | @cindex compiler errors |
| 444 | 444 | ||
| 445 | Byte compilation outputs all errors and warnings into the buffer | 445 | Byte compilation outputs all errors and warnings into the buffer |
| 446 | @samp{*Compile-Log*}. The messages include file names and line | 446 | @file{*Compile-Log*}. The messages include file names and line |
| 447 | numbers that identify the location of the problem. The usual Emacs | 447 | numbers that identify the location of the problem. The usual Emacs |
| 448 | commands for operating on compiler diagnostics work properly on these | 448 | commands for operating on compiler diagnostics work properly on these |
| 449 | messages. | 449 | messages. |
| 450 | 450 | ||
| 451 | When an error is due to invalid syntax in the program, the byte | 451 | When an error is due to invalid syntax in the program, the byte |
| 452 | compiler might get confused about the errors' exact location. One way | 452 | compiler might get confused about the errors' exact location. One way |
| 453 | to investigate is to switch to the buffer @w{@samp{*Compiler Input*}}. | 453 | to investigate is to switch to the buffer @w{@file{ *Compiler Input*}}. |
| 454 | (This buffer name starts with a space, so it does not show up in | 454 | (This buffer name starts with a space, so it does not show up in |
| 455 | @kbd{M-x list-buffers}.) This buffer contains the program being | 455 | @kbd{M-x list-buffers}.) This buffer contains the program being |
| 456 | compiled, and point shows how far the byte compiler was able to read; | 456 | compiled, and point shows how far the byte compiler was able to read; |
| @@ -602,7 +602,7 @@ the stack. | |||
| 602 | @deffn Command disassemble object &optional buffer-or-name | 602 | @deffn Command disassemble object &optional buffer-or-name |
| 603 | This command displays the disassembled code for @var{object}. In | 603 | This command displays the disassembled code for @var{object}. In |
| 604 | interactive use, or if @var{buffer-or-name} is @code{nil} or omitted, | 604 | interactive use, or if @var{buffer-or-name} is @code{nil} or omitted, |
| 605 | the output goes in a buffer named @samp{*Disassemble*}. If | 605 | the output goes in a buffer named @file{*Disassemble*}. If |
| 606 | @var{buffer-or-name} is non-@code{nil}, it must be a buffer or the | 606 | @var{buffer-or-name} is non-@code{nil}, it must be a buffer or the |
| 607 | name of an existing buffer. Then the output goes there, at point, and | 607 | name of an existing buffer. Then the output goes there, at point, and |
| 608 | point is left before the output. | 608 | point is left before the output. |
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi index d86aea24fbc..ea84afdd408 100644 --- a/doc/lispref/customize.texi +++ b/doc/lispref/customize.texi | |||
| @@ -4,20 +4,25 @@ | |||
| 4 | @c See the file elisp.texi for copying conditions. | 4 | @c See the file elisp.texi for copying conditions. |
| 5 | @setfilename ../../info/customize | 5 | @setfilename ../../info/customize |
| 6 | @node Customization, Loading, Macros, Top | 6 | @node Customization, Loading, Macros, Top |
| 7 | @chapter Writing Customization Definitions | 7 | @chapter Customization Settings |
| 8 | 8 | ||
| 9 | @cindex customization definitions | 9 | @cindex customization item |
| 10 | This chapter describes how to declare user options for customization, | 10 | This chapter describes how to declare customizable variables and |
| 11 | and also customization groups for classifying them. We use the term | 11 | customization groups for classifying them. We use the term |
| 12 | @dfn{customization item} to include both kinds of customization | 12 | @dfn{customization item} to include customizable variables, |
| 13 | definitions---as well as face definitions (@pxref{Defining Faces}). | 13 | customization groups, as well as faces. |
| 14 | |||
| 15 | @xref{Defining Faces}, for the @code{defface} macro, which is used | ||
| 16 | for declaring customizable faces. | ||
| 14 | 17 | ||
| 15 | @menu | 18 | @menu |
| 16 | * Common Keywords:: Common keyword arguments for all kinds of | 19 | * Common Keywords:: Common keyword arguments for all kinds of |
| 17 | customization declarations. | 20 | customization declarations. |
| 18 | * Group Definitions:: Writing customization group definitions. | 21 | * Group Definitions:: Writing customization group definitions. |
| 19 | * Variable Definitions:: Declaring user options. | 22 | * Variable Definitions:: Declaring user options. |
| 20 | * Customization Types:: Specifying the type of a user option. | 23 | * Customization Types:: Specifying the type of a user option. |
| 24 | * Applying Customizations:: Functions to apply customization settings. | ||
| 25 | * Custom Themes:: Writing Custom themes. | ||
| 21 | @end menu | 26 | @end menu |
| 22 | 27 | ||
| 23 | @node Common Keywords | 28 | @node Common Keywords |
| @@ -306,7 +311,7 @@ individual types for a description of how to use @code{:options}. | |||
| 306 | @item :set @var{setfunction} | 311 | @item :set @var{setfunction} |
| 307 | @kindex set@r{, @code{defcustom} keyword} | 312 | @kindex set@r{, @code{defcustom} keyword} |
| 308 | Specify @var{setfunction} as the way to change the value of this | 313 | Specify @var{setfunction} as the way to change the value of this |
| 309 | option when using the Customize user interface. The function | 314 | option when using the Customize interface. The function |
| 310 | @var{setfunction} should take two arguments, a symbol (the option | 315 | @var{setfunction} should take two arguments, a symbol (the option |
| 311 | name) and the new value, and should do whatever is necessary to update | 316 | name) and the new value, and should do whatever is necessary to update |
| 312 | the value properly for this option (which may not mean simply setting | 317 | the value properly for this option (which may not mean simply setting |
| @@ -588,7 +593,7 @@ The value must be a coding-system name, and you can do completion with | |||
| 588 | @item color | 593 | @item color |
| 589 | The value must be a valid color name. The widget provides completion | 594 | The value must be a valid color name. The widget provides completion |
| 590 | for color names, as well as a sample and a button for selecting a | 595 | for color names, as well as a sample and a button for selecting a |
| 591 | color name from a list of color names shown in a @samp{*Colors*} | 596 | color name from a list of color names shown in a @file{*Colors*} |
| 592 | buffer. | 597 | buffer. |
| 593 | @end table | 598 | @end table |
| 594 | 599 | ||
| @@ -1242,3 +1247,168 @@ the inferior widgets will convert @emph{their} inferior widgets. If | |||
| 1242 | the data structure is itself recursive, this conversion is an infinite | 1247 | the data structure is itself recursive, this conversion is an infinite |
| 1243 | recursion. The @code{lazy} widget prevents the recursion: it convert | 1248 | recursion. The @code{lazy} widget prevents the recursion: it convert |
| 1244 | its @code{:type} argument only when needed. | 1249 | its @code{:type} argument only when needed. |
| 1250 | |||
| 1251 | @node Applying Customizations | ||
| 1252 | @section Applying Customizations | ||
| 1253 | |||
| 1254 | The following functions are responsible for installing the user's | ||
| 1255 | customization settings for variables and faces, respectively. When | ||
| 1256 | the user invokes @samp{Save for future sessions} in the Customize | ||
| 1257 | interface, that takes effect by writing a @code{custom-set-variables} | ||
| 1258 | and/or a @code{custom-set-faces} form into the custom file, to be | ||
| 1259 | evaluated the next time Emacs starts up. | ||
| 1260 | |||
| 1261 | @defun custom-set-variables &rest args | ||
| 1262 | This function installs the variable customizations specified by | ||
| 1263 | @var{args}. Each argument in @var{args} should have the form | ||
| 1264 | |||
| 1265 | @example | ||
| 1266 | (@var{var} @var{expression} [@var{now} [@var{request} [@var{comment}]]]) | ||
| 1267 | @end example | ||
| 1268 | |||
| 1269 | @noindent | ||
| 1270 | @var{var} is a variable name (a symbol), and @var{expression} is an | ||
| 1271 | expression which evaluates to the desired customized value. | ||
| 1272 | |||
| 1273 | If the @code{defcustom} form for @var{var} has been evaluated prior to | ||
| 1274 | this @code{custom-set-variables} call, @var{expression} is immediately | ||
| 1275 | evaluated, and the variable's value is set to the result. Otherwise, | ||
| 1276 | @var{expression} is stored into the variable's @code{saved-value} | ||
| 1277 | property, to be evaluated when the relevant @code{defcustom} is called | ||
| 1278 | (usually when the library defining that variable is loaded into | ||
| 1279 | Emacs). | ||
| 1280 | |||
| 1281 | The @var{now}, @var{request}, and @var{comment} entries are for | ||
| 1282 | internal use only, and may be omitted. @var{now}, if non-@code{nil}, | ||
| 1283 | means to set the variable's value now, even if the variable's | ||
| 1284 | @code{defcustom} form has not been evaluated. @var{request} is a list | ||
| 1285 | of features to be loaded immediately (@pxref{Named Features}). | ||
| 1286 | @var{comment} is a string describing the customization. | ||
| 1287 | @end defun | ||
| 1288 | |||
| 1289 | @defun custom-set-faces &rest args | ||
| 1290 | This function installs the face customizations specified by | ||
| 1291 | @var{args}. Each argument in @var{args} should have the form | ||
| 1292 | |||
| 1293 | @example | ||
| 1294 | (@var{face} @var{spec} [@var{now} [@var{comment}]]) | ||
| 1295 | @end example | ||
| 1296 | |||
| 1297 | @noindent | ||
| 1298 | @var{face} is a face name (a symbol), and @var{spec} is the customized | ||
| 1299 | face specification for that face (@pxref{Defining Faces}). | ||
| 1300 | |||
| 1301 | The @var{now} and @var{comment} entries are for internal use only, and | ||
| 1302 | may be omitted. @var{now}, if non-@code{nil}, means to install the | ||
| 1303 | face specification now, even if the @code{defface} form has not been | ||
| 1304 | evaluated. @var{comment} is a string describing the customization. | ||
| 1305 | @end defun | ||
| 1306 | |||
| 1307 | @node Custom Themes | ||
| 1308 | @section Custom Themes | ||
| 1309 | |||
| 1310 | @dfn{Custom themes} are collections of settings that can be enabled | ||
| 1311 | or disabled as a unit. @xref{Custom Themes,,, emacs, The GNU Emacs | ||
| 1312 | Manual}. Each Custom theme is defined by an Emacs Lisp source file, | ||
| 1313 | which should follow the conventions described in this section. | ||
| 1314 | (Instead of writing a Custom theme by hand, you can also create one | ||
| 1315 | using a Customize-like interface; @pxref{Creating Custom Themes,,, | ||
| 1316 | emacs, The GNU Emacs Manual}.) | ||
| 1317 | |||
| 1318 | A Custom theme file should be named @file{@var{foo}-theme.el}, where | ||
| 1319 | @var{foo} is the theme name. The first Lisp form in the file should | ||
| 1320 | be a call to @code{deftheme}, and the last form should be a call to | ||
| 1321 | @code{provide-theme}. | ||
| 1322 | |||
| 1323 | @defmac deftheme theme &optional doc | ||
| 1324 | This macro declares @var{theme} (a symbol) as the name of a Custom | ||
| 1325 | theme. The optional argument @var{doc} should be a string describing | ||
| 1326 | the theme; this is the description shown when the user invokes the | ||
| 1327 | @code{describe-theme} command or types @kbd{?} in the @samp{*Custom | ||
| 1328 | Themes*} buffer. | ||
| 1329 | |||
| 1330 | Two special theme names are disallowed: @code{user} is a ``dummy'' | ||
| 1331 | theme which stores the user's direct customization settings, and | ||
| 1332 | @code{changed} is a ``dummy'' theme which stores changes made outside | ||
| 1333 | of the Customize system. If you specify either of these as the | ||
| 1334 | @var{theme} argument, @code{deftheme} signals an error. | ||
| 1335 | @end defmac | ||
| 1336 | |||
| 1337 | @defmac provide-theme theme | ||
| 1338 | This macro declares that the theme named @var{theme} has been fully | ||
| 1339 | specified. | ||
| 1340 | @end defmac | ||
| 1341 | |||
| 1342 | In between @code{deftheme} and @code{provide-theme} are Lisp forms | ||
| 1343 | specifying the theme settings: usually a call to | ||
| 1344 | @code{custom-theme-set-variables} and/or a call to | ||
| 1345 | @code{custom-theme-set-faces}. | ||
| 1346 | |||
| 1347 | @defun custom-theme-set-variables theme &rest args | ||
| 1348 | This function specifies the Custom theme @var{theme}'s variable | ||
| 1349 | settings. @var{theme} should be a symbol. Each argument in | ||
| 1350 | @var{args} should be a list of the form | ||
| 1351 | |||
| 1352 | @example | ||
| 1353 | (@var{var} @var{expression} [@var{now} [@var{request} [@var{comment}]]]) | ||
| 1354 | @end example | ||
| 1355 | |||
| 1356 | @noindent | ||
| 1357 | where the list entries have the same meanings as in | ||
| 1358 | @code{custom-set-variables}. @xref{Applying Customizations}. | ||
| 1359 | @end defun | ||
| 1360 | |||
| 1361 | @defun custom-theme-set-faces theme &rest args | ||
| 1362 | This function specifies the Custom theme @var{theme}'s face settings. | ||
| 1363 | @var{theme} should be a symbol. Each argument in @var{args} should be | ||
| 1364 | a list of the form | ||
| 1365 | |||
| 1366 | @example | ||
| 1367 | (@var{face} @var{spec} [@var{now} [@var{comment}]]) | ||
| 1368 | @end example | ||
| 1369 | |||
| 1370 | @noindent | ||
| 1371 | where the list entries have the same meanings as in | ||
| 1372 | @code{custom-set-faces}. @xref{Applying Customizations}. | ||
| 1373 | @end defun | ||
| 1374 | |||
| 1375 | In theory, a theme file can also contain other Lisp forms, which | ||
| 1376 | would be evaluated when loading the theme, but that is ``bad form''. | ||
| 1377 | To protect against loading themes containing malicious code, Emacs | ||
| 1378 | displays the source file and asks for confirmation from the user | ||
| 1379 | before loading any non-built-in theme for the first time. | ||
| 1380 | |||
| 1381 | The following functions are useful for programmatically enabling and | ||
| 1382 | disabling Custom themes: | ||
| 1383 | |||
| 1384 | @defun custom-theme-p theme | ||
| 1385 | This function return a non-@code{nil} value if @var{theme} (a symbol) | ||
| 1386 | is the name of a Custom theme (i.e.@: a Custom theme which has been | ||
| 1387 | loaded into Emacs, whether or not the theme is enabled). Otherwise, | ||
| 1388 | it returns @code{nil}. | ||
| 1389 | @end defun | ||
| 1390 | |||
| 1391 | @deffn Command load-theme theme &optional no-confirm no-enable | ||
| 1392 | This function loads the Custom theme named @var{theme} from its source | ||
| 1393 | file, looking for the source file in the directories specified by the | ||
| 1394 | variable @code{custom-theme-load-path}. @xref{Custom Themes,,, emacs, | ||
| 1395 | The GNU Emacs Manual}. It also @dfn{enables} the theme, causing its | ||
| 1396 | variable and face settings to take effect. | ||
| 1397 | |||
| 1398 | If the optional argument @var{no-confirm} is non-@code{nil}, this | ||
| 1399 | skips prompting the user for confirmation before loading the theme. | ||
| 1400 | |||
| 1401 | If the optional argument @var{no-enable} is non-@code{nil}, the theme | ||
| 1402 | is loaded but not enabled. | ||
| 1403 | @end deffn | ||
| 1404 | |||
| 1405 | @deffn Command enable-theme theme | ||
| 1406 | This function enables the Custom theme named @var{theme}. It signals | ||
| 1407 | an error if no such theme has been loaded. | ||
| 1408 | @end deffn | ||
| 1409 | |||
| 1410 | @deffn Command disable-theme theme | ||
| 1411 | This function disables the Custom theme named @var{theme}. The theme | ||
| 1412 | remains loaded, so that a subsequent call to @code{enable-theme} will | ||
| 1413 | re-enable it. | ||
| 1414 | @end deffn | ||
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 6e7d0078e07..115d8ff42de 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -303,7 +303,7 @@ an implicit @code{progn} (@pxref{Sequencing}). | |||
| 303 | @subsection Using the Debugger | 303 | @subsection Using the Debugger |
| 304 | 304 | ||
| 305 | When the debugger is entered, it displays the previously selected | 305 | When the debugger is entered, it displays the previously selected |
| 306 | buffer in one window and a buffer named @samp{*Backtrace*} in another | 306 | buffer in one window and a buffer named @file{*Backtrace*} in another |
| 307 | window. The backtrace buffer contains one line for each level of Lisp | 307 | window. The backtrace buffer contains one line for each level of Lisp |
| 308 | function execution currently going on. At the beginning of this buffer | 308 | function execution currently going on. At the beginning of this buffer |
| 309 | is a message describing the reason that the debugger was invoked (such | 309 | is a message describing the reason that the debugger was invoked (such |
| @@ -412,7 +412,7 @@ the variable values within the debugger. | |||
| 412 | 412 | ||
| 413 | @item R | 413 | @item R |
| 414 | Like @kbd{e}, but also save the result of evaluation in the | 414 | Like @kbd{e}, but also save the result of evaluation in the |
| 415 | buffer @samp{*Debugger-record*}. | 415 | buffer @file{*Debugger-record*}. |
| 416 | 416 | ||
| 417 | @item q | 417 | @item q |
| 418 | Terminate the program being debugged; return to top-level Emacs | 418 | Terminate the program being debugged; return to top-level Emacs |
| @@ -450,7 +450,7 @@ to invoke the debugger. | |||
| 450 | 450 | ||
| 451 | @defun debug &rest debugger-args | 451 | @defun debug &rest debugger-args |
| 452 | This function enters the debugger. It switches buffers to a buffer | 452 | This function enters the debugger. It switches buffers to a buffer |
| 453 | named @samp{*Backtrace*} (or @samp{*Backtrace*<2>} if it is the second | 453 | named @file{*Backtrace*} (or @file{*Backtrace*<2>} if it is the second |
| 454 | recursive entry to the debugger, etc.), and fills it with information | 454 | recursive entry to the debugger, etc.), and fills it with information |
| 455 | about the stack of Lisp function calls. It then enters a recursive | 455 | about the stack of Lisp function calls. It then enters a recursive |
| 456 | edit, showing the backtrace buffer in Debugger mode. | 456 | edit, showing the backtrace buffer in Debugger mode. |
| @@ -461,7 +461,7 @@ buffer and returns to whatever called @code{debug}. This is the only | |||
| 461 | way the function @code{debug} can return to its caller. | 461 | way the function @code{debug} can return to its caller. |
| 462 | 462 | ||
| 463 | The use of the @var{debugger-args} is that @code{debug} displays the | 463 | The use of the @var{debugger-args} is that @code{debug} displays the |
| 464 | rest of its arguments at the top of the @samp{*Backtrace*} buffer, so | 464 | rest of its arguments at the top of the @file{*Backtrace*} buffer, so |
| 465 | that the user can see them. Except as described below, this is the | 465 | that the user can see them. Except as described below, this is the |
| 466 | @emph{only} way these arguments are used. | 466 | @emph{only} way these arguments are used. |
| 467 | 467 | ||
| @@ -560,7 +560,7 @@ of @code{debug} (@pxref{Invoking the Debugger}). | |||
| 560 | @cindex call stack | 560 | @cindex call stack |
| 561 | This function prints a trace of Lisp function calls currently active. | 561 | This function prints a trace of Lisp function calls currently active. |
| 562 | This is the function used by @code{debug} to fill up the | 562 | This is the function used by @code{debug} to fill up the |
| 563 | @samp{*Backtrace*} buffer. It is written in C, since it must have access | 563 | @file{*Backtrace*} buffer. It is written in C, since it must have access |
| 564 | to the stack to determine which function calls are active. The return | 564 | to the stack to determine which function calls are active. The return |
| 565 | value is always @code{nil}. | 565 | value is always @code{nil}. |
| 566 | 566 | ||
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 8382c2a1555..cc48133113f 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -268,7 +268,7 @@ objects for its format specifications, like in the @code{format} | |||
| 268 | function (@pxref{Formatting Strings}). The resulting formatted string | 268 | function (@pxref{Formatting Strings}). The resulting formatted string |
| 269 | is displayed in the echo area; if it contains @code{face} text | 269 | is displayed in the echo area; if it contains @code{face} text |
| 270 | properties, it is displayed with the specified faces (@pxref{Faces}). | 270 | properties, it is displayed with the specified faces (@pxref{Faces}). |
| 271 | The string is also added to the @samp{*Messages*} buffer, but without | 271 | The string is also added to the @file{*Messages*} buffer, but without |
| 272 | text properties (@pxref{Logging Messages}). | 272 | text properties (@pxref{Logging Messages}). |
| 273 | 273 | ||
| 274 | In batch mode, the message is printed to the standard error stream, | 274 | In batch mode, the message is printed to the standard error stream, |
| @@ -341,7 +341,7 @@ buffer is used, the window used to display it. | |||
| 341 | 341 | ||
| 342 | If @var{message} is a string, then the optional argument | 342 | If @var{message} is a string, then the optional argument |
| 343 | @var{buffer-name} is the name of the buffer used to display it when a | 343 | @var{buffer-name} is the name of the buffer used to display it when a |
| 344 | pop-up buffer is used, defaulting to @samp{*Message*}. In the case | 344 | pop-up buffer is used, defaulting to @file{*Message*}. In the case |
| 345 | where @var{message} is a string and displayed in the echo area, it is | 345 | where @var{message} is a string and displayed in the echo area, it is |
| 346 | not specified whether the contents are inserted into the buffer anyway. | 346 | not specified whether the contents are inserted into the buffer anyway. |
| 347 | 347 | ||
| @@ -474,16 +474,16 @@ this macro this way: | |||
| 474 | @end defmac | 474 | @end defmac |
| 475 | 475 | ||
| 476 | @node Logging Messages | 476 | @node Logging Messages |
| 477 | @subsection Logging Messages in @samp{*Messages*} | 477 | @subsection Logging Messages in @file{*Messages*} |
| 478 | @cindex logging echo-area messages | 478 | @cindex logging echo-area messages |
| 479 | 479 | ||
| 480 | Almost all the messages displayed in the echo area are also recorded | 480 | Almost all the messages displayed in the echo area are also recorded |
| 481 | in the @samp{*Messages*} buffer so that the user can refer back to | 481 | in the @file{*Messages*} buffer so that the user can refer back to |
| 482 | them. This includes all the messages that are output with | 482 | them. This includes all the messages that are output with |
| 483 | @code{message}. | 483 | @code{message}. |
| 484 | 484 | ||
| 485 | @defopt message-log-max | 485 | @defopt message-log-max |
| 486 | This variable specifies how many lines to keep in the @samp{*Messages*} | 486 | This variable specifies how many lines to keep in the @file{*Messages*} |
| 487 | buffer. The value @code{t} means there is no limit on how many lines to | 487 | buffer. The value @code{t} means there is no limit on how many lines to |
| 488 | keep. The value @code{nil} disables message logging entirely. Here's | 488 | keep. The value @code{nil} disables message logging entirely. Here's |
| 489 | how to display a message and prevent it from being logged: | 489 | how to display a message and prevent it from being logged: |
| @@ -494,7 +494,7 @@ how to display a message and prevent it from being logged: | |||
| 494 | @end example | 494 | @end example |
| 495 | @end defopt | 495 | @end defopt |
| 496 | 496 | ||
| 497 | To make @samp{*Messages*} more convenient for the user, the logging | 497 | To make @file{*Messages*} more convenient for the user, the logging |
| 498 | facility combines successive identical messages. It also combines | 498 | facility combines successive identical messages. It also combines |
| 499 | successive related messages for the sake of two cases: question | 499 | successive related messages for the sake of two cases: question |
| 500 | followed by answer, and a series of progress messages. | 500 | followed by answer, and a series of progress messages. |
| @@ -624,7 +624,7 @@ and @var{type} as the warning type. @var{level} should be the | |||
| 624 | severity level, with @code{:warning} being the default. | 624 | severity level, with @code{:warning} being the default. |
| 625 | 625 | ||
| 626 | @var{buffer-name}, if non-@code{nil}, specifies the name of the buffer | 626 | @var{buffer-name}, if non-@code{nil}, specifies the name of the buffer |
| 627 | for logging the warning. By default, it is @samp{*Warnings*}. | 627 | for logging the warning. By default, it is @file{*Warnings*}. |
| 628 | @end defun | 628 | @end defun |
| 629 | 629 | ||
| 630 | @defun lwarn type level message &rest args | 630 | @defun lwarn type level message &rest args |
| @@ -1885,7 +1885,7 @@ in all frames. But you can also assign a face name a special set of | |||
| 1885 | attributes in one frame (@pxref{Attribute Functions}). | 1885 | attributes in one frame (@pxref{Attribute Functions}). |
| 1886 | 1886 | ||
| 1887 | @menu | 1887 | @menu |
| 1888 | * Defining Faces:: How to define a face with @code{defface}. | 1888 | * Defining Faces:: How to define a face. |
| 1889 | * Face Attributes:: What is in a face? | 1889 | * Face Attributes:: What is in a face? |
| 1890 | * Attribute Functions:: Functions to examine and set face attributes. | 1890 | * Attribute Functions:: Functions to examine and set face attributes. |
| 1891 | * Displaying Faces:: How Emacs combines the faces specified for a character. | 1891 | * Displaying Faces:: How Emacs combines the faces specified for a character. |
| @@ -1904,22 +1904,17 @@ attributes in one frame (@pxref{Attribute Functions}). | |||
| 1904 | @node Defining Faces | 1904 | @node Defining Faces |
| 1905 | @subsection Defining Faces | 1905 | @subsection Defining Faces |
| 1906 | 1906 | ||
| 1907 | The way to define a new face is with @code{defface}. This creates a | 1907 | The @code{defface} macro defines a face and specifies its default |
| 1908 | kind of customization item which the user can customize using the | 1908 | appearance. The user can subsequently customize the face using the |
| 1909 | Customization buffer (@pxref{Customization}). | 1909 | Customize interface (@pxref{Customization}). |
| 1910 | |||
| 1911 | People are sometimes tempted to create variables whose values specify | ||
| 1912 | which faces to use (for example, Font-Lock does this). In the vast | ||
| 1913 | majority of cases, this is not necessary, and simply using faces | ||
| 1914 | directly is preferable. | ||
| 1915 | 1910 | ||
| 1916 | @defmac defface face spec doc [keyword value]@dots{} | 1911 | @defmac defface face spec doc [keyword value]@dots{} |
| 1917 | This declares @var{face} as a customizable face whose default | 1912 | This macro declares @var{face} as a customizable face whose default |
| 1918 | attributes are given by @var{spec}. You should not quote the symbol | 1913 | attributes are given by @var{spec}. You should not quote the symbol |
| 1919 | @var{face}, and it should not end in @samp{-face} (that would be | 1914 | @var{face}, and it should not end in @samp{-face} (that would be |
| 1920 | redundant). The argument @var{doc} specifies the face documentation. | 1915 | redundant). The argument @var{doc} is a documentation string for the |
| 1921 | The keywords you can use in @code{defface} are the same as in | 1916 | face. The additional @var{keyword} arguments have the same meanings |
| 1922 | @code{defgroup} and @code{defcustom} (@pxref{Common Keywords}). | 1917 | as in @code{defgroup} and @code{defcustom} (@pxref{Common Keywords}). |
| 1923 | 1918 | ||
| 1924 | When @code{defface} executes, it defines the face according to | 1919 | When @code{defface} executes, it defines the face according to |
| 1925 | @var{spec}, then uses any customizations that were read from the | 1920 | @var{spec}, then uses any customizations that were read from the |
| @@ -1930,12 +1925,14 @@ Lisp mode (@code{eval-defun}), a special feature of @code{eval-defun} | |||
| 1930 | overrides any customizations of the face. This way, the face reflects | 1925 | overrides any customizations of the face. This way, the face reflects |
| 1931 | exactly what the @code{defface} says. | 1926 | exactly what the @code{defface} says. |
| 1932 | 1927 | ||
| 1933 | The purpose of @var{spec} is to specify how the face should appear on | 1928 | @cindex face specification |
| 1934 | different kinds of terminals. It should be an alist whose elements | 1929 | The @var{spec} argument is a @dfn{face specification}, which states |
| 1935 | have the form @code{(@var{display} @var{atts})}. @var{display} | 1930 | how the face should appear on different kinds of terminals. It should |
| 1936 | specifies a class of terminals (see below), while @var{atts} is a | 1931 | be an alist whose elements each have the form @code{(@var{display} |
| 1937 | property list of face attributes and their values, specifying the | 1932 | @var{atts})}. @var{display} specifies a class of terminals (see |
| 1938 | appearance of the face on matching terminals | 1933 | below), while @var{atts} is a property list of face attributes and |
| 1934 | their values, specifying the appearance of the face on matching | ||
| 1935 | terminals | ||
| 1939 | @iftex | 1936 | @iftex |
| 1940 | (see the next section for details about face attributes). | 1937 | (see the next section for details about face attributes). |
| 1941 | @end iftex | 1938 | @end iftex |
| @@ -2022,14 +2019,22 @@ frame must match one of the @var{value}s specified for it in | |||
| 2022 | :group 'basic-faces) | 2019 | :group 'basic-faces) |
| 2023 | @end example | 2020 | @end example |
| 2024 | 2021 | ||
| 2025 | Internally, @code{defface} uses the symbol property | 2022 | Internally, Emacs stores the face's default specification in its |
| 2026 | @code{face-defface-spec} to record the specified face attributes. The | 2023 | @code{face-defface-spec} symbol property (@pxref{Property Lists}). |
| 2027 | attributes saved by the user with the customization buffer are | 2024 | The @code{saved-face} property stores the face specification saved by |
| 2028 | recorded in the symbol property @code{saved-face}; the attributes | 2025 | the user, using the customization buffer; the @code{customized-face} |
| 2029 | customized by the user for the current session, but not saved, are | 2026 | property stores the face specification customized for the current |
| 2030 | recorded in the symbol property @code{customized-face}. The | 2027 | session, but not saved; and the @code{theme-face} property stores an |
| 2031 | documentation string is recorded in the symbol property | 2028 | alist associating the active customization settings and Custom themes |
| 2032 | @code{face-documentation}. | 2029 | with their specifications for that face. The face's documentation |
| 2030 | string is stored in the @code{face-documentation} property. But | ||
| 2031 | normally you should not try to set any of these properties directly. | ||
| 2032 | @xref{Applying Customizations}, for the @code{custom-set-faces} | ||
| 2033 | function, which is used to apply customized face settings. | ||
| 2034 | |||
| 2035 | People are sometimes tempted to create variables whose values | ||
| 2036 | specify a face to use. In the vast majority of cases, this is not | ||
| 2037 | necessary; it is preferable to simply use faces directly. | ||
| 2033 | 2038 | ||
| 2034 | @defopt frame-background-mode | 2039 | @defopt frame-background-mode |
| 2035 | This option, if non-@code{nil}, specifies the background type to use for | 2040 | This option, if non-@code{nil}, specifies the background type to use for |
| @@ -2752,7 +2757,7 @@ For text matching a search command. | |||
| 2752 | @itemx warning | 2757 | @itemx warning |
| 2753 | @itemx success | 2758 | @itemx success |
| 2754 | For text concerning errors, warnings, or successes. For example, | 2759 | For text concerning errors, warnings, or successes. For example, |
| 2755 | these are used for messages in @samp{*Compilation*} buffers. | 2760 | these are used for messages in @file{*Compilation*} buffers. |
| 2756 | @end table | 2761 | @end table |
| 2757 | 2762 | ||
| 2758 | @node Font Selection | 2763 | @node Font Selection |
diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi index 245aaf94c6d..9d50f5fb31f 100644 --- a/doc/lispref/edebug.texi +++ b/doc/lispref/edebug.texi | |||
| @@ -622,7 +622,7 @@ back to the stop point in the source code buffer from any buffer using | |||
| 622 | saved outside window configuration---so that even if you turn saving | 622 | saved outside window configuration---so that even if you turn saving |
| 623 | back @emph{on}, the current window configuration remains unchanged when | 623 | back @emph{on}, the current window configuration remains unchanged when |
| 624 | you next exit Edebug (by continuing the program). However, the | 624 | you next exit Edebug (by continuing the program). However, the |
| 625 | automatic redisplay of @samp{*edebug*} and @samp{*edebug-trace*} may | 625 | automatic redisplay of @file{*edebug*} and @file{*edebug-trace*} may |
| 626 | conflict with the buffers you wish to see unless you have enough windows | 626 | conflict with the buffers you wish to see unless you have enough windows |
| 627 | open. | 627 | open. |
| 628 | 628 | ||
| @@ -661,18 +661,18 @@ lexically bound symbols created by the following constructs in | |||
| 661 | @node Eval List | 661 | @node Eval List |
| 662 | @subsection Evaluation List Buffer | 662 | @subsection Evaluation List Buffer |
| 663 | 663 | ||
| 664 | You can use the @dfn{evaluation list buffer}, called @samp{*edebug*}, to | 664 | You can use the @dfn{evaluation list buffer}, called @file{*edebug*}, to |
| 665 | evaluate expressions interactively. You can also set up the | 665 | evaluate expressions interactively. You can also set up the |
| 666 | @dfn{evaluation list} of expressions to be evaluated automatically each | 666 | @dfn{evaluation list} of expressions to be evaluated automatically each |
| 667 | time Edebug updates the display. | 667 | time Edebug updates the display. |
| 668 | 668 | ||
| 669 | @table @kbd | 669 | @table @kbd |
| 670 | @item E | 670 | @item E |
| 671 | Switch to the evaluation list buffer @samp{*edebug*} | 671 | Switch to the evaluation list buffer @file{*edebug*} |
| 672 | (@code{edebug-visit-eval-list}). | 672 | (@code{edebug-visit-eval-list}). |
| 673 | @end table | 673 | @end table |
| 674 | 674 | ||
| 675 | In the @samp{*edebug*} buffer you can use the commands of Lisp | 675 | In the @file{*edebug*} buffer you can use the commands of Lisp |
| 676 | Interaction mode (@pxref{Lisp Interaction,,, emacs, The GNU Emacs | 676 | Interaction mode (@pxref{Lisp Interaction,,, emacs, The GNU Emacs |
| 677 | Manual}) as well as these special commands: | 677 | Manual}) as well as these special commands: |
| 678 | 678 | ||
| @@ -699,7 +699,7 @@ Switch back to the source code buffer at the current stop point | |||
| 699 | @end table | 699 | @end table |
| 700 | 700 | ||
| 701 | You can evaluate expressions in the evaluation list window with | 701 | You can evaluate expressions in the evaluation list window with |
| 702 | @kbd{C-j} or @kbd{C-x C-e}, just as you would in @samp{*scratch*}; | 702 | @kbd{C-j} or @kbd{C-x C-e}, just as you would in @file{*scratch*}; |
| 703 | but they are evaluated in the context outside of Edebug. | 703 | but they are evaluated in the context outside of Edebug. |
| 704 | 704 | ||
| 705 | The expressions you enter interactively (and their results) are lost | 705 | The expressions you enter interactively (and their results) are lost |
| @@ -758,8 +758,8 @@ the expression at a suitable place, insert a new comment line, then type | |||
| 758 | @kbd{C-c C-u}. You need not insert dashes in the comment line---its | 758 | @kbd{C-c C-u}. You need not insert dashes in the comment line---its |
| 759 | contents don't matter. | 759 | contents don't matter. |
| 760 | 760 | ||
| 761 | After selecting @samp{*edebug*}, you can return to the source code | 761 | After selecting @file{*edebug*}, you can return to the source code |
| 762 | buffer with @kbd{C-c C-w}. The @samp{*edebug*} buffer is killed when | 762 | buffer with @kbd{C-c C-w}. The @file{*edebug*} buffer is killed when |
| 763 | you continue execution, and recreated next time it is needed. | 763 | you continue execution, and recreated next time it is needed. |
| 764 | 764 | ||
| 765 | @node Printing in Edebug | 765 | @node Printing in Edebug |
| @@ -819,7 +819,7 @@ for details. | |||
| 819 | @cindex trace buffer | 819 | @cindex trace buffer |
| 820 | 820 | ||
| 821 | Edebug can record an execution trace, storing it in a buffer named | 821 | Edebug can record an execution trace, storing it in a buffer named |
| 822 | @samp{*edebug-trace*}. This is a log of function calls and returns, | 822 | @file{*edebug-trace*}. This is a log of function calls and returns, |
| 823 | showing the function names and their arguments and values. To enable | 823 | showing the function names and their arguments and values. To enable |
| 824 | trace recording, set @code{edebug-trace} to a non-@code{nil} value. | 824 | trace recording, set @code{edebug-trace} to a non-@code{nil} value. |
| 825 | 825 | ||
| @@ -1567,7 +1567,7 @@ The default value is @code{step}. | |||
| 1567 | 1567 | ||
| 1568 | @defopt edebug-trace | 1568 | @defopt edebug-trace |
| 1569 | If this is non-@code{nil}, trace each function entry and exit. | 1569 | If this is non-@code{nil}, trace each function entry and exit. |
| 1570 | Tracing output is displayed in a buffer named @samp{*edebug-trace*}, one | 1570 | Tracing output is displayed in a buffer named @file{*edebug-trace*}, one |
| 1571 | function entry or exit per line, indented by the recursion level. | 1571 | function entry or exit per line, indented by the recursion level. |
| 1572 | 1572 | ||
| 1573 | Also see @code{edebug-tracing}, in @ref{Trace Buffer}. | 1573 | Also see @code{edebug-tracing}, in @ref{Trace Buffer}. |
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi index dc835347235..76397556b01 100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi | |||
| @@ -123,7 +123,7 @@ Cover art by Etienne Suvasa. | |||
| 123 | * Functions:: A function is a Lisp program | 123 | * Functions:: A function is a Lisp program |
| 124 | that can be invoked from other functions. | 124 | that can be invoked from other functions. |
| 125 | * Macros:: Macros are a way to extend the Lisp language. | 125 | * Macros:: Macros are a way to extend the Lisp language. |
| 126 | * Customization:: Writing customization declarations. | 126 | * Customization:: Making variables and faces customizable. |
| 127 | 127 | ||
| 128 | * Loading:: Reading files of Lisp code into Lisp. | 128 | * Loading:: Reading files of Lisp code into Lisp. |
| 129 | * Byte Compilation:: Compilation makes programs run faster. | 129 | * Byte Compilation:: Compilation makes programs run faster. |
| @@ -500,6 +500,8 @@ Writing Customization Definitions | |||
| 500 | * Group Definitions:: Writing customization group definitions. | 500 | * Group Definitions:: Writing customization group definitions. |
| 501 | * Variable Definitions:: Declaring user options. | 501 | * Variable Definitions:: Declaring user options. |
| 502 | * Customization Types:: Specifying the type of a user option. | 502 | * Customization Types:: Specifying the type of a user option. |
| 503 | * Applying Customizations:: Functions to apply customization settings. | ||
| 504 | * Custom Themes:: Writing Custom themes. | ||
| 503 | 505 | ||
| 504 | Customization Types | 506 | Customization Types |
| 505 | 507 | ||
| @@ -1295,7 +1297,7 @@ Overlays | |||
| 1295 | 1297 | ||
| 1296 | Faces | 1298 | Faces |
| 1297 | 1299 | ||
| 1298 | * Defining Faces:: How to define a face with @code{defface}. | 1300 | * Defining Faces:: How to define a face. |
| 1299 | * Face Attributes:: What is in a face? | 1301 | * Face Attributes:: What is in a face? |
| 1300 | * Attribute Functions:: Functions to examine and set face attributes. | 1302 | * Attribute Functions:: Functions to examine and set face attributes. |
| 1301 | * Displaying Faces:: How Emacs combines the faces specified for | 1303 | * Displaying Faces:: How Emacs combines the faces specified for |
diff --git a/doc/lispref/eval.texi b/doc/lispref/eval.texi index 429d999a2c8..7f25b33eb43 100644 --- a/doc/lispref/eval.texi +++ b/doc/lispref/eval.texi | |||
| @@ -807,7 +807,7 @@ The value of this variable is a list of the values returned by all the | |||
| 807 | expressions that were read, evaluated, and printed from buffers | 807 | expressions that were read, evaluated, and printed from buffers |
| 808 | (including the minibuffer) by the standard Emacs commands which do | 808 | (including the minibuffer) by the standard Emacs commands which do |
| 809 | this. (Note that this does @emph{not} include evaluation in | 809 | this. (Note that this does @emph{not} include evaluation in |
| 810 | @samp{*ielm*} buffers, nor evaluation using @kbd{C-j} in | 810 | @file{*ielm*} buffers, nor evaluation using @kbd{C-j} in |
| 811 | @code{lisp-interaction-mode}.) The elements are ordered most recent | 811 | @code{lisp-interaction-mode}.) The elements are ordered most recent |
| 812 | first. | 812 | first. |
| 813 | 813 | ||
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index b49e56158ad..3e96a448963 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -2154,7 +2154,7 @@ double all @samp{$} characters to prevent subsequent incorrect | |||
| 2154 | results. | 2154 | results. |
| 2155 | 2155 | ||
| 2156 | @c Wordy to avoid overfull hbox. --rjc 15mar92 | 2156 | @c Wordy to avoid overfull hbox. --rjc 15mar92 |
| 2157 | Here we assume that the environment variable @code{HOME}, which holds | 2157 | Here we assume that the environment variable @env{HOME}, which holds |
| 2158 | the user's home directory name, has value @samp{/xcssun/users/rms}. | 2158 | the user's home directory name, has value @samp{/xcssun/users/rms}. |
| 2159 | 2159 | ||
| 2160 | @example | 2160 | @example |
| @@ -2239,9 +2239,9 @@ non-@code{nil}. To use it, you should expand the prefix against | |||
| 2239 | the proper directory before calling @code{make-temp-file}. | 2239 | the proper directory before calling @code{make-temp-file}. |
| 2240 | 2240 | ||
| 2241 | @defopt temporary-file-directory | 2241 | @defopt temporary-file-directory |
| 2242 | @cindex @code{TMPDIR} environment variable | 2242 | @cindex @env{TMPDIR} environment variable |
| 2243 | @cindex @code{TMP} environment variable | 2243 | @cindex @env{TMP} environment variable |
| 2244 | @cindex @code{TEMP} environment variable | 2244 | @cindex @env{TEMP} environment variable |
| 2245 | This variable specifies the directory name for creating temporary files. | 2245 | This variable specifies the directory name for creating temporary files. |
| 2246 | Its value should be a directory name (@pxref{Directory Names}), but it | 2246 | Its value should be a directory name (@pxref{Directory Names}), but it |
| 2247 | is good for Lisp programs to cope if the value is a directory's file | 2247 | is good for Lisp programs to cope if the value is a directory's file |
| @@ -2249,7 +2249,7 @@ name instead. Using the value as the second argument to | |||
| 2249 | @code{expand-file-name} is a good way to achieve that. | 2249 | @code{expand-file-name} is a good way to achieve that. |
| 2250 | 2250 | ||
| 2251 | The default value is determined in a reasonable way for your operating | 2251 | The default value is determined in a reasonable way for your operating |
| 2252 | system; it is based on the @code{TMPDIR}, @code{TMP} and @code{TEMP} | 2252 | system; it is based on the @env{TMPDIR}, @env{TMP} and @env{TEMP} |
| 2253 | environment variables, with a fall-back to a system-dependent name if | 2253 | environment variables, with a fall-back to a system-dependent name if |
| 2254 | none of these variables is defined. | 2254 | none of these variables is defined. |
| 2255 | 2255 | ||
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 125d6071cab..1bd4cf4854b 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -488,7 +488,7 @@ frame. @code{title} and @code{name} are meaningful on all terminals. | |||
| 488 | @item display | 488 | @item display |
| 489 | The display on which to open this frame. It should be a string of the | 489 | The display on which to open this frame. It should be a string of the |
| 490 | form @code{"@var{host}:@var{dpy}.@var{screen}"}, just like the | 490 | form @code{"@var{host}:@var{dpy}.@var{screen}"}, just like the |
| 491 | @code{DISPLAY} environment variable. | 491 | @env{DISPLAY} environment variable. |
| 492 | 492 | ||
| 493 | @vindex display-type, a frame parameter | 493 | @vindex display-type, a frame parameter |
| 494 | @item display-type | 494 | @item display-type |
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index c703e7810f8..42de3f1e358 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi | |||
| @@ -180,7 +180,7 @@ face. | |||
| 180 | @c Wordy to prevent overfull hboxes. --rjc 15mar92 | 180 | @c Wordy to prevent overfull hboxes. --rjc 15mar92 |
| 181 | Here is an example of using the two functions, @code{documentation} and | 181 | Here is an example of using the two functions, @code{documentation} and |
| 182 | @code{documentation-property}, to display the documentation strings for | 182 | @code{documentation-property}, to display the documentation strings for |
| 183 | several symbols in a @samp{*Help*} buffer. | 183 | several symbols in a @file{*Help*} buffer. |
| 184 | 184 | ||
| 185 | @anchor{describe-symbols example} | 185 | @anchor{describe-symbols example} |
| 186 | @smallexample | 186 | @smallexample |
| @@ -535,7 +535,7 @@ seems to be as a match. Each of the remaining elements is a | |||
| 535 | documentation string, or @code{nil}, for @var{symbol} as a function, | 535 | documentation string, or @code{nil}, for @var{symbol} as a function, |
| 536 | variable, etc. | 536 | variable, etc. |
| 537 | 537 | ||
| 538 | It also displays the symbols in a buffer named @samp{*Apropos*}, each | 538 | It also displays the symbols in a buffer named @file{*Apropos*}, each |
| 539 | with a one-line description taken from the beginning of its | 539 | with a one-line description taken from the beginning of its |
| 540 | documentation string. | 540 | documentation string. |
| 541 | 541 | ||
| @@ -648,7 +648,7 @@ certain documentation and text files that come with Emacs. | |||
| 648 | 648 | ||
| 649 | @defun help-buffer | 649 | @defun help-buffer |
| 650 | This function returns the name of the help buffer, which is normally | 650 | This function returns the name of the help buffer, which is normally |
| 651 | @samp{*Help*}; if such a buffer does not exist, it is first created. | 651 | @file{*Help*}; if such a buffer does not exist, it is first created. |
| 652 | @end defun | 652 | @end defun |
| 653 | 653 | ||
| 654 | @defmac with-help-window buffer-name body@dots{} | 654 | @defmac with-help-window buffer-name body@dots{} |
| @@ -662,16 +662,16 @@ scroll the help window. | |||
| 662 | @end defmac | 662 | @end defmac |
| 663 | 663 | ||
| 664 | @defun help-setup-xref item interactive-p | 664 | @defun help-setup-xref item interactive-p |
| 665 | This function updates the cross reference data in the @samp{*Help*} | 665 | This function updates the cross reference data in the @file{*Help*} |
| 666 | buffer, which is used to regenerate the help information when the user | 666 | buffer, which is used to regenerate the help information when the user |
| 667 | clicks on the @samp{Back} or @samp{Forward} buttons. Most commands | 667 | clicks on the @samp{Back} or @samp{Forward} buttons. Most commands |
| 668 | that use the @samp{*Help*} buffer should invoke this function before | 668 | that use the @file{*Help*} buffer should invoke this function before |
| 669 | clearing the buffer. The @var{item} argument should have the form | 669 | clearing the buffer. The @var{item} argument should have the form |
| 670 | @code{(@var{function} . @var{args})}, where @var{function} is a function | 670 | @code{(@var{function} . @var{args})}, where @var{function} is a function |
| 671 | to call, with argument list @var{args}, to regenerate the help buffer. | 671 | to call, with argument list @var{args}, to regenerate the help buffer. |
| 672 | The @var{interactive-p} argument is non-@code{nil} if the calling | 672 | The @var{interactive-p} argument is non-@code{nil} if the calling |
| 673 | command was invoked interactively; in that case, the stack of items | 673 | command was invoked interactively; in that case, the stack of items |
| 674 | for the @samp{*Help*} buffer's @samp{Back} buttons is cleared. | 674 | for the @file{*Help*} buffer's @samp{Back} buttons is cleared. |
| 675 | @end defun | 675 | @end defun |
| 676 | 676 | ||
| 677 | @xref{describe-symbols example}, for an example of using | 677 | @xref{describe-symbols example}, for an example of using |
diff --git a/doc/lispref/intro.texi b/doc/lispref/intro.texi index 365c5f3122e..c963ba03545 100644 --- a/doc/lispref/intro.texi +++ b/doc/lispref/intro.texi | |||
| @@ -247,7 +247,7 @@ indicated with @samp{@equiv{}}. | |||
| 247 | 247 | ||
| 248 | Many of the examples in this manual print text when they are | 248 | Many of the examples in this manual print text when they are |
| 249 | evaluated. If you execute example code in a Lisp Interaction buffer | 249 | evaluated. If you execute example code in a Lisp Interaction buffer |
| 250 | (such as the buffer @samp{*scratch*}), the printed text is inserted into | 250 | (such as the buffer @file{*scratch*}), the printed text is inserted into |
| 251 | the buffer. If you execute the example by other means (such as by | 251 | the buffer. If you execute the example by other means (such as by |
| 252 | evaluating the function @code{eval-region}), the printed text is | 252 | evaluating the function @code{eval-region}), the printed text is |
| 253 | displayed in the echo area. | 253 | displayed in the echo area. |
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index 5dd57ccb4ac..65666217e16 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -64,7 +64,7 @@ constituent events; thus, @code{"\C-xl"} represents the key sequence | |||
| 64 | @kbd{C-x l}. | 64 | @kbd{C-x l}. |
| 65 | 65 | ||
| 66 | Key sequences containing function keys, mouse button events, or | 66 | Key sequences containing function keys, mouse button events, or |
| 67 | non-ASCII characters such as @kbd{C-=} or @kbd{H-a} cannot be | 67 | non-@acronym{ASCII} characters such as @kbd{C-=} or @kbd{H-a} cannot be |
| 68 | represented as strings; they have to be represented as vectors. | 68 | represented as strings; they have to be represented as vectors. |
| 69 | 69 | ||
| 70 | In the vector representation, each element of the vector represents | 70 | In the vector representation, each element of the vector represents |
| @@ -808,7 +808,7 @@ bindings. | |||
| 808 | @defun current-local-map | 808 | @defun current-local-map |
| 809 | This function returns the current buffer's local keymap, or @code{nil} | 809 | This function returns the current buffer's local keymap, or @code{nil} |
| 810 | if it has none. In the following example, the keymap for the | 810 | if it has none. In the following example, the keymap for the |
| 811 | @samp{*scratch*} buffer (using Lisp Interaction mode) is a sparse keymap | 811 | @file{*scratch*} buffer (using Lisp Interaction mode) is a sparse keymap |
| 812 | in which the entry for @key{ESC}, @acronym{ASCII} code 27, is another sparse | 812 | in which the entry for @key{ESC}, @acronym{ASCII} code 27, is another sparse |
| 813 | keymap. | 813 | keymap. |
| 814 | 814 | ||
| @@ -1922,7 +1922,7 @@ other command. However, if @var{no-remap} is non-@code{nil}. | |||
| 1922 | 1922 | ||
| 1923 | @deffn Command describe-bindings &optional prefix buffer-or-name | 1923 | @deffn Command describe-bindings &optional prefix buffer-or-name |
| 1924 | This function creates a listing of all current key bindings, and | 1924 | This function creates a listing of all current key bindings, and |
| 1925 | displays it in a buffer named @samp{*Help*}. The text is grouped by | 1925 | displays it in a buffer named @file{*Help*}. The text is grouped by |
| 1926 | modes---minor modes first, then the major mode, then global bindings. | 1926 | modes---minor modes first, then the major mode, then global bindings. |
| 1927 | 1927 | ||
| 1928 | If @var{prefix} is non-@code{nil}, it should be a prefix key; then the | 1928 | If @var{prefix} is non-@code{nil}, it should be a prefix key; then the |
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi index 47a2a39ed63..0c02f338c7b 100644 --- a/doc/lispref/loading.texi +++ b/doc/lispref/loading.texi | |||
| @@ -235,7 +235,7 @@ it skips the latter group. | |||
| 235 | in a list of directories specified by the variable @code{load-path}. | 235 | in a list of directories specified by the variable @code{load-path}. |
| 236 | 236 | ||
| 237 | @defvar load-path | 237 | @defvar load-path |
| 238 | @cindex @code{EMACSLOADPATH} environment variable | 238 | @cindex @env{EMACSLOADPATH} environment variable |
| 239 | The value of this variable is a list of directories to search when | 239 | The value of this variable is a list of directories to search when |
| 240 | loading files with @code{load}. Each element is a string (which must be | 240 | loading files with @code{load}. Each element is a string (which must be |
| 241 | a directory name) or @code{nil} (which stands for the current working | 241 | a directory name) or @code{nil} (which stands for the current working |
| @@ -375,7 +375,7 @@ strings are multibyte strings should not be noticeable, since | |||
| 375 | inserting them in unibyte buffers converts them to unibyte | 375 | inserting them in unibyte buffers converts them to unibyte |
| 376 | automatically. However, if this does make a difference, you can force | 376 | automatically. However, if this does make a difference, you can force |
| 377 | a particular Lisp file to be interpreted as unibyte by writing | 377 | a particular Lisp file to be interpreted as unibyte by writing |
| 378 | @samp{-*-unibyte: t;-*-} in a comment on the file's first line. With | 378 | @samp{unibyte: t} in a local variables section. With |
| 379 | that designator, the file will unconditionally be interpreted as | 379 | that designator, the file will unconditionally be interpreted as |
| 380 | unibyte, even in an ordinary multibyte Emacs session. This can matter | 380 | unibyte, even in an ordinary multibyte Emacs session. This can matter |
| 381 | when making keybindings to non-@acronym{ASCII} characters written as | 381 | when making keybindings to non-@acronym{ASCII} characters written as |
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 437a2daa8e3..247e052784a 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -1062,7 +1062,7 @@ using the value of the variable @code{minibuffer-completion-table} as | |||
| 1062 | the @var{collection} argument, and the value of | 1062 | the @var{collection} argument, and the value of |
| 1063 | @code{minibuffer-completion-predicate} as the @var{predicate} argument. | 1063 | @code{minibuffer-completion-predicate} as the @var{predicate} argument. |
| 1064 | The list of completions is displayed as text in a buffer named | 1064 | The list of completions is displayed as text in a buffer named |
| 1065 | @samp{*Completions*}. | 1065 | @file{*Completions*}. |
| 1066 | @end deffn | 1066 | @end deffn |
| 1067 | 1067 | ||
| 1068 | @defun display-completion-list completions &optional common-substring | 1068 | @defun display-completion-list completions &optional common-substring |
| @@ -1756,7 +1756,7 @@ completion behavior is overridden. @xref{Completion Variables}. | |||
| 1756 | The value should be a function for @dfn{annotating} completions. The | 1756 | The value should be a function for @dfn{annotating} completions. The |
| 1757 | function should take one argument, @var{string}, which is a possible | 1757 | function should take one argument, @var{string}, which is a possible |
| 1758 | completion. It should return a string, which is displayed after the | 1758 | completion. It should return a string, which is displayed after the |
| 1759 | completion @var{string} in the @samp{*Completions*} buffer. | 1759 | completion @var{string} in the @file{*Completions*} buffer. |
| 1760 | 1760 | ||
| 1761 | @item display-sort-function | 1761 | @item display-sort-function |
| 1762 | The value should be a function for sorting completions. The function | 1762 | The value should be a function for sorting completions. The function |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 946dcb91317..83fbd02b16c 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -628,7 +628,7 @@ have set. | |||
| 628 | This function sets the major mode of @var{buffer} to the default value of | 628 | This function sets the major mode of @var{buffer} to the default value of |
| 629 | @code{major-mode}; if that is @code{nil}, it uses the | 629 | @code{major-mode}; if that is @code{nil}, it uses the |
| 630 | current buffer's major mode (if that is suitable). As an exception, | 630 | current buffer's major mode (if that is suitable). As an exception, |
| 631 | if @var{buffer}'s name is @samp{*scratch*}, it sets the mode to | 631 | if @var{buffer}'s name is @file{*scratch*}, it sets the mode to |
| 632 | @code{initial-major-mode}. | 632 | @code{initial-major-mode}. |
| 633 | 633 | ||
| 634 | The low-level primitives for creating buffers do not use this function, | 634 | The low-level primitives for creating buffers do not use this function, |
| @@ -637,9 +637,9 @@ but medium-level commands such as @code{switch-to-buffer} and | |||
| 637 | @end defun | 637 | @end defun |
| 638 | 638 | ||
| 639 | @defopt initial-major-mode | 639 | @defopt initial-major-mode |
| 640 | @cindex @samp{*scratch*} | 640 | @cindex @file{*scratch*} |
| 641 | The value of this variable determines the major mode of the initial | 641 | The value of this variable determines the major mode of the initial |
| 642 | @samp{*scratch*} buffer. The value should be a symbol that is a major | 642 | @file{*scratch*} buffer. The value should be a symbol that is a major |
| 643 | mode command. The default value is @code{lisp-interaction-mode}. | 643 | mode command. The default value is @code{lisp-interaction-mode}. |
| 644 | @end defopt | 644 | @end defopt |
| 645 | 645 | ||
| @@ -908,7 +908,7 @@ common bindings, including @kbd{q} for @code{quit-window}, @kbd{z} for | |||
| 908 | (@pxref{Reverting}). | 908 | (@pxref{Reverting}). |
| 909 | 909 | ||
| 910 | An example of a major mode derived from Special mode is Buffer Menu | 910 | An example of a major mode derived from Special mode is Buffer Menu |
| 911 | mode, which is used by the @samp{*Buffer List*} buffer. @xref{List | 911 | mode, which is used by the @file{*Buffer List*} buffer. @xref{List |
| 912 | Buffers,,Listing Existing Buffers, emacs, The GNU Emacs Manual}. | 912 | Buffers,,Listing Existing Buffers, emacs, The GNU Emacs Manual}. |
| 913 | @end deffn | 913 | @end deffn |
| 914 | 914 | ||
| @@ -1571,8 +1571,8 @@ rather than buffer-local. It defaults to @code{nil}. | |||
| 1571 | 1571 | ||
| 1572 | One of the effects of making a minor mode global is that the | 1572 | One of the effects of making a minor mode global is that the |
| 1573 | @var{mode} variable becomes a customization variable. Toggling it | 1573 | @var{mode} variable becomes a customization variable. Toggling it |
| 1574 | through the Custom interface turns the mode on and off, and its value | 1574 | through the Customize interface turns the mode on and off, and its |
| 1575 | can be saved for future Emacs sessions (@pxref{Saving | 1575 | value can be saved for future Emacs sessions (@pxref{Saving |
| 1576 | Customizations,,, emacs, The GNU Emacs Manual}. For the saved | 1576 | Customizations,,, emacs, The GNU Emacs Manual}. For the saved |
| 1577 | variable to work, you should ensure that the @code{define-minor-mode} | 1577 | variable to work, you should ensure that the @code{define-minor-mode} |
| 1578 | form is evaluated each time Emacs starts; for packages that are not | 1578 | form is evaluated each time Emacs starts; for packages that are not |
| @@ -1691,7 +1691,7 @@ Fundamental mode; but it does not detect the creation of a new buffer | |||
| 1691 | in Fundamental mode. | 1691 | in Fundamental mode. |
| 1692 | 1692 | ||
| 1693 | This defines the customization option @var{global-mode} (@pxref{Customization}), | 1693 | This defines the customization option @var{global-mode} (@pxref{Customization}), |
| 1694 | which can be toggled in the Custom interface to turn the minor mode on | 1694 | which can be toggled in the Customize interface to turn the minor mode on |
| 1695 | and off. As with @code{define-minor-mode}, you should ensure that the | 1695 | and off. As with @code{define-minor-mode}, you should ensure that the |
| 1696 | @code{define-globalized-minor-mode} form is evaluated each time Emacs | 1696 | @code{define-globalized-minor-mode} form is evaluated each time Emacs |
| 1697 | starts, for example by providing a @code{:require} keyword. | 1697 | starts, for example by providing a @code{:require} keyword. |
| @@ -2016,7 +2016,7 @@ identify the mode name in the mode line, use @code{format-mode-line} | |||
| 2016 | This buffer-local variable contains the mode line information on process | 2016 | This buffer-local variable contains the mode line information on process |
| 2017 | status in modes used for communicating with subprocesses. It is | 2017 | status in modes used for communicating with subprocesses. It is |
| 2018 | displayed immediately following the major mode name, with no intervening | 2018 | displayed immediately following the major mode name, with no intervening |
| 2019 | space. For example, its value in the @samp{*shell*} buffer is | 2019 | space. For example, its value in the @file{*shell*} buffer is |
| 2020 | @code{(":%s")}, which allows the shell to display its status along | 2020 | @code{(":%s")}, which allows the shell to display its status along |
| 2021 | with the major mode as: @samp{(Shell:run)}. Normally this variable | 2021 | with the major mode as: @samp{(Shell:run)}. Normally this variable |
| 2022 | is @code{nil}. | 2022 | is @code{nil}. |
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index ba4803c73f2..7901f27c4f5 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi | |||
| @@ -352,7 +352,7 @@ following text.) | |||
| 352 | 352 | ||
| 353 | In addition to the specific escape sequences for special important | 353 | In addition to the specific escape sequences for special important |
| 354 | control characters, Emacs provides several types of escape syntax that | 354 | control characters, Emacs provides several types of escape syntax that |
| 355 | you can use to specify non-ASCII text characters. | 355 | you can use to specify non-@acronym{ASCII} text characters. |
| 356 | 356 | ||
| 357 | @cindex unicode character escape | 357 | @cindex unicode character escape |
| 358 | You can specify characters by their Unicode values. | 358 | You can specify characters by their Unicode values. |
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 8a57ed2c1f0..35ac7c20384 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -89,7 +89,7 @@ that Emacs is being initialized. | |||
| 89 | @c set-locale-environment | 89 | @c set-locale-environment |
| 90 | @item | 90 | @item |
| 91 | It sets the language environment and the terminal coding system, | 91 | It sets the language environment and the terminal coding system, |
| 92 | if requested by environment variables such as @code{LANG}. | 92 | if requested by environment variables such as @env{LANG}. |
| 93 | 93 | ||
| 94 | @item | 94 | @item |
| 95 | It does some basic parsing of the command-line arguments. | 95 | It does some basic parsing of the command-line arguments. |
| @@ -170,7 +170,7 @@ measurement of how long it took. | |||
| 170 | It runs the normal hook @code{after-init-hook}. | 170 | It runs the normal hook @code{after-init-hook}. |
| 171 | 171 | ||
| 172 | @item | 172 | @item |
| 173 | If the buffer @samp{*scratch*} exists and is still in Fundamental mode | 173 | If the buffer @file{*scratch*} exists and is still in Fundamental mode |
| 174 | (as it should be by default), it sets its major mode according to | 174 | (as it should be by default), it sets its major mode according to |
| 175 | @code{initial-major-mode}. | 175 | @code{initial-major-mode}. |
| 176 | 176 | ||
| @@ -196,7 +196,7 @@ It now exits if the option @code{--batch} was specified. | |||
| 196 | 196 | ||
| 197 | @item | 197 | @item |
| 198 | If @code{initial-buffer-choice} is a string, it visits the file with | 198 | If @code{initial-buffer-choice} is a string, it visits the file with |
| 199 | that name. If the @samp{*scratch*} buffer exists and is | 199 | that name. If the @file{*scratch*} buffer exists and is |
| 200 | empty, it inserts @code{initial-scratch-message} into that buffer. | 200 | empty, it inserts @code{initial-scratch-message} into that buffer. |
| 201 | 201 | ||
| 202 | @c To make things nice and confusing, the next three items can be | 202 | @c To make things nice and confusing, the next three items can be |
| @@ -254,7 +254,7 @@ The following options affect some aspects of the startup sequence. | |||
| 254 | 254 | ||
| 255 | @defopt inhibit-startup-screen | 255 | @defopt inhibit-startup-screen |
| 256 | This variable, if non-@code{nil}, inhibits the startup screen. In | 256 | This variable, if non-@code{nil}, inhibits the startup screen. In |
| 257 | that case, Emacs typically displays the @samp{*scratch*} buffer; but | 257 | that case, Emacs typically displays the @file{*scratch*} buffer; but |
| 258 | see @code{initial-buffer-choice}, below. | 258 | see @code{initial-buffer-choice}, below. |
| 259 | 259 | ||
| 260 | Do not set this variable in the init file of a new user, or in a way | 260 | Do not set this variable in the init file of a new user, or in a way |
| @@ -274,7 +274,7 @@ startup screen. | |||
| 274 | @ignore | 274 | @ignore |
| 275 | @c I do not think this should be mentioned. AFAICS it is just a dodge | 275 | @c I do not think this should be mentioned. AFAICS it is just a dodge |
| 276 | @c around inhibit-startup-screen not being settable on a site-wide basis. | 276 | @c around inhibit-startup-screen not being settable on a site-wide basis. |
| 277 | If its value is @code{t}, Emacs displays the @samp{*scratch*} buffer. | 277 | If its value is @code{t}, Emacs displays the @file{*scratch*} buffer. |
| 278 | @end ignore | 278 | @end ignore |
| 279 | @end defopt | 279 | @end defopt |
| 280 | 280 | ||
| @@ -290,17 +290,17 @@ form to your init file: | |||
| 290 | 290 | ||
| 291 | Emacs explicitly checks for an expression as shown above in your init | 291 | Emacs explicitly checks for an expression as shown above in your init |
| 292 | file; your login name must appear in the expression as a Lisp string | 292 | file; your login name must appear in the expression as a Lisp string |
| 293 | constant. You can also use the Custom interface. Other methods of setting | 293 | constant. You can also use the Customize interface. Other methods of |
| 294 | @code{inhibit-startup-echo-area-message} to the same value do not | 294 | setting @code{inhibit-startup-echo-area-message} to the same value do |
| 295 | inhibit the startup message. This way, you can easily inhibit the | 295 | not inhibit the startup message. This way, you can easily inhibit the |
| 296 | message for yourself if you wish, but thoughtless copying of your init | 296 | message for yourself if you wish, but thoughtless copying of your init |
| 297 | file will not inhibit the message for someone else. | 297 | file will not inhibit the message for someone else. |
| 298 | @end defopt | 298 | @end defopt |
| 299 | 299 | ||
| 300 | @defopt initial-scratch-message | 300 | @defopt initial-scratch-message |
| 301 | This variable, if non-@code{nil}, should be a string, which is | 301 | This variable, if non-@code{nil}, should be a string, which is |
| 302 | inserted into the @samp{*scratch*} buffer when Emacs starts up. If it | 302 | inserted into the @file{*scratch*} buffer when Emacs starts up. If it |
| 303 | is @code{nil}, the @samp{*scratch*} buffer is empty. | 303 | is @code{nil}, the @file{*scratch*} buffer is empty. |
| 304 | @end defopt | 304 | @end defopt |
| 305 | 305 | ||
| 306 | @noindent | 306 | @noindent |
| @@ -352,8 +352,8 @@ control whether and where to find the init file; @samp{-q} (and the | |||
| 352 | stronger @samp{-Q}) says not to load an init file, while @samp{-u | 352 | stronger @samp{-Q}) says not to load an init file, while @samp{-u |
| 353 | @var{user}} says to load @var{user}'s init file instead of yours. | 353 | @var{user}} says to load @var{user}'s init file instead of yours. |
| 354 | @xref{Entering Emacs,,, emacs, The GNU Emacs Manual}. If neither | 354 | @xref{Entering Emacs,,, emacs, The GNU Emacs Manual}. If neither |
| 355 | option is specified, Emacs uses the @code{LOGNAME} environment | 355 | option is specified, Emacs uses the @env{LOGNAME} environment |
| 356 | variable, or the @code{USER} (most systems) or @code{USERNAME} (MS | 356 | variable, or the @env{USER} (most systems) or @env{USERNAME} (MS |
| 357 | systems) variable, to find your home directory and thus your init | 357 | systems) variable, to find your home directory and thus your init |
| 358 | file; this way, even if you have su'd, Emacs still loads your own init | 358 | file; this way, even if you have su'd, Emacs still loads your own init |
| 359 | file. If those environment variables are absent, though, Emacs uses | 359 | file. If those environment variables are absent, though, Emacs uses |
| @@ -430,7 +430,7 @@ This variable holds the name of the @file{.emacs.d} directory. It is | |||
| 430 | Each terminal type can have its own Lisp library that Emacs loads when | 430 | Each terminal type can have its own Lisp library that Emacs loads when |
| 431 | run on that type of terminal. The library's name is constructed by | 431 | run on that type of terminal. The library's name is constructed by |
| 432 | concatenating the value of the variable @code{term-file-prefix} and the | 432 | concatenating the value of the variable @code{term-file-prefix} and the |
| 433 | terminal type (specified by the environment variable @code{TERM}). | 433 | terminal type (specified by the environment variable @env{TERM}). |
| 434 | Normally, @code{term-file-prefix} has the value | 434 | Normally, @code{term-file-prefix} has the value |
| 435 | @code{"term/"}; changing this is not recommended. Emacs finds the file | 435 | @code{"term/"}; changing this is not recommended. Emacs finds the file |
| 436 | in the normal manner, by searching the @code{load-path} directories, and | 436 | in the normal manner, by searching the @code{load-path} directories, and |
| @@ -468,7 +468,7 @@ use this hook to define initializations for terminals that do not | |||
| 468 | have their own libraries. @xref{Hooks}. | 468 | have their own libraries. @xref{Hooks}. |
| 469 | 469 | ||
| 470 | @defvar term-file-prefix | 470 | @defvar term-file-prefix |
| 471 | @cindex @code{TERM} environment variable | 471 | @cindex @env{TERM} environment variable |
| 472 | If the value of this variable is non-@code{nil}, Emacs loads a | 472 | If the value of this variable is non-@code{nil}, Emacs loads a |
| 473 | terminal-specific initialization file as follows: | 473 | terminal-specific initialization file as follows: |
| 474 | 474 | ||
| @@ -481,7 +481,7 @@ You may set the @code{term-file-prefix} variable to @code{nil} in your | |||
| 481 | init file if you do not wish to load the | 481 | init file if you do not wish to load the |
| 482 | terminal-initialization file. | 482 | terminal-initialization file. |
| 483 | 483 | ||
| 484 | On MS-DOS, Emacs sets the @code{TERM} environment variable to @samp{internal}. | 484 | On MS-DOS, Emacs sets the @env{TERM} environment variable to @samp{internal}. |
| 485 | @end defvar | 485 | @end defvar |
| 486 | 486 | ||
| 487 | @defvar term-setup-hook | 487 | @defvar term-setup-hook |
| @@ -1010,7 +1010,7 @@ value is @code{":"} for Unix and GNU systems, and @code{";"} for MS systems. | |||
| 1010 | 1010 | ||
| 1011 | @defun parse-colon-path path | 1011 | @defun parse-colon-path path |
| 1012 | This function takes a search path string such as the value of | 1012 | This function takes a search path string such as the value of |
| 1013 | the @code{PATH} environment variable, and splits it at the separators, | 1013 | the @env{PATH} environment variable, and splits it at the separators, |
| 1014 | returning a list of directory names. @code{nil} in this list means | 1014 | returning a list of directory names. @code{nil} in this list means |
| 1015 | the current directory. Although the function's name says | 1015 | the current directory. Although the function's name says |
| 1016 | ``colon'', it actually uses the value of @code{path-separator}. | 1016 | ``colon'', it actually uses the value of @code{path-separator}. |
| @@ -1113,7 +1113,7 @@ want to use the default value. | |||
| 1113 | 1113 | ||
| 1114 | @defun user-login-name &optional uid | 1114 | @defun user-login-name &optional uid |
| 1115 | This function returns the name under which the user is logged in. | 1115 | This function returns the name under which the user is logged in. |
| 1116 | It uses the environment variables @code{LOGNAME} or @code{USER} if | 1116 | It uses the environment variables @env{LOGNAME} or @env{USER} if |
| 1117 | either is set. Otherwise, the value is based on the effective | 1117 | either is set. Otherwise, the value is based on the effective |
| 1118 | @acronym{UID}, not the real @acronym{UID}. | 1118 | @acronym{UID}, not the real @acronym{UID}. |
| 1119 | 1119 | ||
| @@ -1124,12 +1124,12 @@ corresponds to @var{uid}, or @code{nil} if there is no such user. | |||
| 1124 | @defun user-real-login-name | 1124 | @defun user-real-login-name |
| 1125 | This function returns the user name corresponding to Emacs's real | 1125 | This function returns the user name corresponding to Emacs's real |
| 1126 | @acronym{UID}. This ignores the effective @acronym{UID}, and the | 1126 | @acronym{UID}. This ignores the effective @acronym{UID}, and the |
| 1127 | environment variables @code{LOGNAME} and @code{USER}. | 1127 | environment variables @env{LOGNAME} and @env{USER}. |
| 1128 | @end defun | 1128 | @end defun |
| 1129 | 1129 | ||
| 1130 | @defun user-full-name &optional uid | 1130 | @defun user-full-name &optional uid |
| 1131 | This function returns the full name of the logged-in user---or the value | 1131 | This function returns the full name of the logged-in user---or the value |
| 1132 | of the environment variable @code{NAME}, if that is set. | 1132 | of the environment variable @env{NAME}, if that is set. |
| 1133 | 1133 | ||
| 1134 | If the Emacs process's user-id does not correspond to any known user (and | 1134 | If the Emacs process's user-id does not correspond to any known user (and |
| 1135 | provided @code{NAME} is not set), the result is @code{"unknown"}. | 1135 | provided @code{NAME} is not set), the result is @code{"unknown"}. |
| @@ -1249,9 +1249,9 @@ The argument @var{time-value}, if given, specifies a time (represented | |||
| 1249 | as a list of integers) to analyze instead of the current time. | 1249 | as a list of integers) to analyze instead of the current time. |
| 1250 | @end defun | 1250 | @end defun |
| 1251 | 1251 | ||
| 1252 | The current time zone is determined by the @samp{TZ} environment | 1252 | The current time zone is determined by the @env{TZ} environment |
| 1253 | variable. @xref{System Environment}. For example, you can tell Emacs | 1253 | variable. @xref{System Environment}. For example, you can tell Emacs |
| 1254 | to use universal time with @code{(setenv "TZ" "UTC0")}. If @samp{TZ} | 1254 | to use universal time with @code{(setenv "TZ" "UTC0")}. If @env{TZ} |
| 1255 | is not in the environment, Emacs uses a platform-dependent default | 1255 | is not in the environment, Emacs uses a platform-dependent default |
| 1256 | time zone. | 1256 | time zone. |
| 1257 | 1257 | ||
| @@ -1325,7 +1325,7 @@ yourself before you call @code{encode-time}. | |||
| 1325 | The optional argument @var{zone} defaults to the current time zone and | 1325 | The optional argument @var{zone} defaults to the current time zone and |
| 1326 | its daylight saving time rules. If specified, it can be either a list | 1326 | its daylight saving time rules. If specified, it can be either a list |
| 1327 | (as you would get from @code{current-time-zone}), a string as in the | 1327 | (as you would get from @code{current-time-zone}), a string as in the |
| 1328 | @code{TZ} environment variable, @code{t} for Universal Time, or an | 1328 | @env{TZ} environment variable, @code{t} for Universal Time, or an |
| 1329 | integer (as you would get from @code{decode-time}). The specified | 1329 | integer (as you would get from @code{decode-time}). The specified |
| 1330 | zone is used without any further alteration for daylight saving time. | 1330 | zone is used without any further alteration for daylight saving time. |
| 1331 | 1331 | ||
| @@ -2233,7 +2233,7 @@ non-@code{nil}, Emacs tells the session manager to cancel the | |||
| 2233 | shutdown. | 2233 | shutdown. |
| 2234 | @end defvar | 2234 | @end defvar |
| 2235 | 2235 | ||
| 2236 | Here is an example that just inserts some text into @samp{*scratch*} when | 2236 | Here is an example that just inserts some text into @file{*scratch*} when |
| 2237 | Emacs is restarted by the session manager. | 2237 | Emacs is restarted by the session manager. |
| 2238 | 2238 | ||
| 2239 | @example | 2239 | @example |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 39b146e3017..ab35dceb1ff 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -77,14 +77,14 @@ sections. Since the three functions are all called in a similar | |||
| 77 | fashion, their common arguments are described here. | 77 | fashion, their common arguments are described here. |
| 78 | 78 | ||
| 79 | @cindex execute program | 79 | @cindex execute program |
| 80 | @cindex @code{PATH} environment variable | 80 | @cindex @env{PATH} environment variable |
| 81 | @cindex @code{HOME} environment variable | 81 | @cindex @env{HOME} environment variable |
| 82 | In all cases, the function's @var{program} argument specifies the | 82 | In all cases, the function's @var{program} argument specifies the |
| 83 | program to be run. An error is signaled if the file is not found or | 83 | program to be run. An error is signaled if the file is not found or |
| 84 | cannot be executed. If the file name is relative, the variable | 84 | cannot be executed. If the file name is relative, the variable |
| 85 | @code{exec-path} contains a list of directories to search. Emacs | 85 | @code{exec-path} contains a list of directories to search. Emacs |
| 86 | initializes @code{exec-path} when it starts up, based on the value of | 86 | initializes @code{exec-path} when it starts up, based on the value of |
| 87 | the environment variable @code{PATH}. The standard file name | 87 | the environment variable @env{PATH}. The standard file name |
| 88 | constructs, @samp{~}, @samp{.}, and @samp{..}, are interpreted as | 88 | constructs, @samp{~}, @samp{.}, and @samp{..}, are interpreted as |
| 89 | usual in @code{exec-path}, but environment variable substitutions | 89 | usual in @code{exec-path}, but environment variable substitutions |
| 90 | (@samp{$HOME}, etc.) are not recognized; use | 90 | (@samp{$HOME}, etc.) are not recognized; use |
| @@ -717,7 +717,7 @@ This command displays a listing of all living processes. In addition, | |||
| 717 | it finally deletes any process whose status was @samp{Exited} or | 717 | it finally deletes any process whose status was @samp{Exited} or |
| 718 | @samp{Signaled}. It returns @code{nil}. | 718 | @samp{Signaled}. It returns @code{nil}. |
| 719 | 719 | ||
| 720 | The processes are shown in a buffer named @samp{*Process List*}, whose | 720 | The processes are shown in a buffer named @file{*Process List*}, whose |
| 721 | major mode is named Process Menu mode. | 721 | major mode is named Process Menu mode. |
| 722 | 722 | ||
| 723 | If @var{query-only} is non-@code{nil} then it lists only processes | 723 | If @var{query-only} is non-@code{nil} then it lists only processes |
| @@ -1632,35 +1632,17 @@ This returns the query flag of @var{process}. | |||
| 1632 | This function sets the query flag of @var{process} to @var{flag}. It | 1632 | This function sets the query flag of @var{process} to @var{flag}. It |
| 1633 | returns @var{flag}. | 1633 | returns @var{flag}. |
| 1634 | 1634 | ||
| 1635 | Here is an example of using @code{set-process-query-on-exit-flag} on a | ||
| 1636 | shell process to avoid querying: | ||
| 1637 | |||
| 1635 | @smallexample | 1638 | @smallexample |
| 1636 | @group | 1639 | @group |
| 1637 | ;; @r{Don't query about the shell process} | ||
| 1638 | (set-process-query-on-exit-flag (get-process "shell") nil) | 1640 | (set-process-query-on-exit-flag (get-process "shell") nil) |
| 1639 | @result{} t | 1641 | @result{} t |
| 1640 | @end group | 1642 | @end group |
| 1641 | @end smallexample | 1643 | @end smallexample |
| 1642 | @end defun | 1644 | @end defun |
| 1643 | 1645 | ||
| 1644 | @defun process-kill-without-query process &optional do-query | ||
| 1645 | This function clears the query flag of @var{process}, so that | ||
| 1646 | Emacs will not query the user on account of that process. | ||
| 1647 | |||
| 1648 | Actually, the function does more than that: it returns the old value of | ||
| 1649 | the process's query flag, and sets the query flag to @var{do-query}. | ||
| 1650 | Please don't use this function to do those things any more---please | ||
| 1651 | use the newer, cleaner functions @code{process-query-on-exit-flag} and | ||
| 1652 | @code{set-process-query-on-exit-flag} in all but the simplest cases. | ||
| 1653 | The only way you should use @code{process-kill-without-query} nowadays | ||
| 1654 | is like this: | ||
| 1655 | |||
| 1656 | @smallexample | ||
| 1657 | @group | ||
| 1658 | ;; @r{Don't query about the shell process} | ||
| 1659 | (process-kill-without-query (get-process "shell")) | ||
| 1660 | @end group | ||
| 1661 | @end smallexample | ||
| 1662 | @end defun | ||
| 1663 | |||
| 1664 | @node System Processes | 1646 | @node System Processes |
| 1665 | @section Accessing Other Processes | 1647 | @section Accessing Other Processes |
| 1666 | @cindex system processes | 1648 | @cindex system processes |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 7813283ade5..3b8c62af313 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -1117,7 +1117,7 @@ Exits}). | |||
| 1117 | @acronym{ASCII} characters; for example, in the Turkish language | 1117 | @acronym{ASCII} characters; for example, in the Turkish language |
| 1118 | environment, the @acronym{ASCII} character @samp{I} is downcased into | 1118 | environment, the @acronym{ASCII} character @samp{I} is downcased into |
| 1119 | a Turkish ``dotless i''. This can interfere with code that requires | 1119 | a Turkish ``dotless i''. This can interfere with code that requires |
| 1120 | ordinary ASCII case conversion, such as implementations of | 1120 | ordinary @acronym{ASCII} case conversion, such as implementations of |
| 1121 | @acronym{ASCII}-based network protocols. In that case, use the | 1121 | @acronym{ASCII}-based network protocols. In that case, use the |
| 1122 | @code{with-case-table} macro with the variable @var{ascii-case-table}, | 1122 | @code{with-case-table} macro with the variable @var{ascii-case-table}, |
| 1123 | which stores the unmodified case table for the @acronym{ASCII} | 1123 | which stores the unmodified case table for the @acronym{ASCII} |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 770dd5b5777..bae145c1694 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -4345,7 +4345,7 @@ changed text, its length is simply the difference between the first two | |||
| 4345 | arguments. | 4345 | arguments. |
| 4346 | @end defvar | 4346 | @end defvar |
| 4347 | 4347 | ||
| 4348 | Output of messages into the @samp{*Messages*} buffer does not | 4348 | Output of messages into the @file{*Messages*} buffer does not |
| 4349 | call these functions. | 4349 | call these functions. |
| 4350 | 4350 | ||
| 4351 | @defmac combine-after-change-calls body@dots{} | 4351 | @defmac combine-after-change-calls body@dots{} |
diff --git a/doc/lispref/vol1.texi b/doc/lispref/vol1.texi index df269868e09..45a0dee3b1c 100644 --- a/doc/lispref/vol1.texi +++ b/doc/lispref/vol1.texi | |||
| @@ -141,7 +141,7 @@ Reference Manual, corresponding to GNU Emacs version @value{EMACSVER}. | |||
| 141 | * Functions:: A function is a Lisp program | 141 | * Functions:: A function is a Lisp program |
| 142 | that can be invoked from other functions. | 142 | that can be invoked from other functions. |
| 143 | * Macros:: Macros are a way to extend the Lisp language. | 143 | * Macros:: Macros are a way to extend the Lisp language. |
| 144 | * Customization:: Writing customization declarations. | 144 | * Customization:: Making variables and faces customizable. |
| 145 | 145 | ||
| 146 | * Loading:: Reading files of Lisp code into Lisp. | 146 | * Loading:: Reading files of Lisp code into Lisp. |
| 147 | * Byte Compilation:: Compilation makes programs run faster. | 147 | * Byte Compilation:: Compilation makes programs run faster. |
| @@ -520,6 +520,8 @@ Writing Customization Definitions | |||
| 520 | * Group Definitions:: Writing customization group definitions. | 520 | * Group Definitions:: Writing customization group definitions. |
| 521 | * Variable Definitions:: Declaring user options. | 521 | * Variable Definitions:: Declaring user options. |
| 522 | * Customization Types:: Specifying the type of a user option. | 522 | * Customization Types:: Specifying the type of a user option. |
| 523 | * Applying Customizations:: Functions to apply customization settings. | ||
| 524 | * Custom Themes:: Writing Custom themes. | ||
| 523 | 525 | ||
| 524 | Customization Types | 526 | Customization Types |
| 525 | 527 | ||
| @@ -1317,7 +1319,7 @@ Overlays | |||
| 1317 | 1319 | ||
| 1318 | Faces | 1320 | Faces |
| 1319 | 1321 | ||
| 1320 | * Defining Faces:: How to define a face with @code{defface}. | 1322 | * Defining Faces:: How to define a face. |
| 1321 | * Face Attributes:: What is in a face? | 1323 | * Face Attributes:: What is in a face? |
| 1322 | * Attribute Functions:: Functions to examine and set face attributes. | 1324 | * Attribute Functions:: Functions to examine and set face attributes. |
| 1323 | * Displaying Faces:: How Emacs combines the faces specified for | 1325 | * Displaying Faces:: How Emacs combines the faces specified for |
diff --git a/doc/lispref/vol2.texi b/doc/lispref/vol2.texi index 2a2578158bf..01a3e3c129e 100644 --- a/doc/lispref/vol2.texi +++ b/doc/lispref/vol2.texi | |||
| @@ -140,7 +140,7 @@ Reference Manual, corresponding to GNU Emacs version @value{EMACSVER}. | |||
| 140 | * Functions:: A function is a Lisp program | 140 | * Functions:: A function is a Lisp program |
| 141 | that can be invoked from other functions. | 141 | that can be invoked from other functions. |
| 142 | * Macros:: Macros are a way to extend the Lisp language. | 142 | * Macros:: Macros are a way to extend the Lisp language. |
| 143 | * Customization:: Writing customization declarations. | 143 | * Customization:: Making variables and faces customizable. |
| 144 | 144 | ||
| 145 | * Loading:: Reading files of Lisp code into Lisp. | 145 | * Loading:: Reading files of Lisp code into Lisp. |
| 146 | * Byte Compilation:: Compilation makes programs run faster. | 146 | * Byte Compilation:: Compilation makes programs run faster. |
| @@ -519,6 +519,8 @@ Writing Customization Definitions | |||
| 519 | * Group Definitions:: Writing customization group definitions. | 519 | * Group Definitions:: Writing customization group definitions. |
| 520 | * Variable Definitions:: Declaring user options. | 520 | * Variable Definitions:: Declaring user options. |
| 521 | * Customization Types:: Specifying the type of a user option. | 521 | * Customization Types:: Specifying the type of a user option. |
| 522 | * Applying Customizations:: Functions to apply customization settings. | ||
| 523 | * Custom Themes:: Writing Custom themes. | ||
| 522 | 524 | ||
| 523 | Customization Types | 525 | Customization Types |
| 524 | 526 | ||
| @@ -1316,7 +1318,7 @@ Overlays | |||
| 1316 | 1318 | ||
| 1317 | Faces | 1319 | Faces |
| 1318 | 1320 | ||
| 1319 | * Defining Faces:: How to define a face with @code{defface}. | 1321 | * Defining Faces:: How to define a face. |
| 1320 | * Face Attributes:: What is in a face? | 1322 | * Face Attributes:: What is in a face? |
| 1321 | * Attribute Functions:: Functions to examine and set face attributes. | 1323 | * Attribute Functions:: Functions to examine and set face attributes. |
| 1322 | * Displaying Faces:: How Emacs combines the faces specified for | 1324 | * Displaying Faces:: How Emacs combines the faces specified for |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index be79a9d864d..46fea77107b 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | 2012-04-14 Alan Mackenzie <acm@muc.de> | ||
| 2 | |||
| 3 | * cc-mode.texi (c-offsets-alist): Correct a typo. | ||
| 4 | |||
| 5 | 2012-04-14 Jérémie Courrèges-Anglas <jca@wxcvbn.org> (tiny change) | ||
| 6 | |||
| 7 | * org.texi (Deadlines and scheduling): Fix the example: the | ||
| 8 | DEADLINE item should come right after the headline. We enforce | ||
| 9 | this convention, so it is a bug not to illustrate it correctly in | ||
| 10 | the manual. | ||
| 11 | |||
| 12 | 2012-04-14 Ippei FURUHASHI <top.tuna+orgmode@gmail.com> (tiny change) | ||
| 13 | |||
| 14 | * org.texi (Agenda commands): Fix documentation bug by swapping | ||
| 15 | the equivalent keybindings to `org-agenda-next-line' with the ones | ||
| 16 | to `org-agenda-previous-line'. | ||
| 17 | |||
| 18 | 2012-04-14 Glenn Morris <rgm@gnu.org> | ||
| 19 | |||
| 20 | * Makefile.in: Replace non-portable use of $< in ordinary rules. | ||
| 21 | |||
| 1 | 2012-04-09 Eli Zaretskii <eliz@gnu.org> | 22 | 2012-04-09 Eli Zaretskii <eliz@gnu.org> |
| 2 | 23 | ||
| 3 | * makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add | 24 | * makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add |
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index 429b84abf8f..390b077bbb0 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #### Makefile for documentation other than the Emacs manual. | 1 | #### Makefile for documentation other than the Emacs manual. |
| 2 | 2 | ||
| 3 | # Copyright (C) 1994, 1996-2012 Free Software Foundation, Inc. | 3 | # Copyright (C) 1994, 1996-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | # This file is part of GNU Emacs. | 5 | # This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -227,235 +227,237 @@ pdf: $(PDF_TARGETS) | |||
| 227 | # to exist in the build directory. | 227 | # to exist in the build directory. |
| 228 | # In a distribution of Emacs, the Info files should be up to date. | 228 | # In a distribution of Emacs, the Info files should be up to date. |
| 229 | 229 | ||
| 230 | # Note: "<" is not portable in ordinary make rules. | ||
| 231 | |||
| 230 | ## "short" target names for convenience, to just rebuild one manual. | 232 | ## "short" target names for convenience, to just rebuild one manual. |
| 231 | ada-mode : $(infodir)/ada-mode | 233 | ada-mode : $(infodir)/ada-mode |
| 232 | $(infodir)/ada-mode: ada-mode.texi | 234 | $(infodir)/ada-mode: ada-mode.texi |
| 233 | $(mkinfodir) | 235 | $(mkinfodir) |
| 234 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 236 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ada-mode.texi |
| 235 | ada-mode.dvi: ${srcdir}/ada-mode.texi | 237 | ada-mode.dvi: ${srcdir}/ada-mode.texi |
| 236 | $(ENVADD) $(TEXI2DVI) $< | 238 | $(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi |
| 237 | ada-mode.pdf: ${srcdir}/ada-mode.texi | 239 | ada-mode.pdf: ${srcdir}/ada-mode.texi |
| 238 | $(ENVADD) $(TEXI2PDF) $< | 240 | $(ENVADD) $(TEXI2PDF) ${srcdir}/ada-mode.texi |
| 239 | 241 | ||
| 240 | auth : $(infodir)/auth | 242 | auth : $(infodir)/auth |
| 241 | $(infodir)/auth: auth.texi | 243 | $(infodir)/auth: auth.texi |
| 242 | $(mkinfodir) | 244 | $(mkinfodir) |
| 243 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 245 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) auth.texi |
| 244 | auth.dvi: ${srcdir}/auth.texi | 246 | auth.dvi: ${srcdir}/auth.texi |
| 245 | $(ENVADD) $(TEXI2DVI) $< | 247 | $(ENVADD) $(TEXI2DVI) ${srcdir}/auth.texi |
| 246 | auth.pdf: ${srcdir}/auth.texi | 248 | auth.pdf: ${srcdir}/auth.texi |
| 247 | $(ENVADD) $(TEXI2PDF) $< | 249 | $(ENVADD) $(TEXI2PDF) ${srcdir}/auth.texi |
| 248 | 250 | ||
| 249 | autotype : $(infodir)/autotype | 251 | autotype : $(infodir)/autotype |
| 250 | $(infodir)/autotype: autotype.texi | 252 | $(infodir)/autotype: autotype.texi |
| 251 | $(mkinfodir) | 253 | $(mkinfodir) |
| 252 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 254 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) autotype.texi |
| 253 | autotype.dvi: ${srcdir}/autotype.texi | 255 | autotype.dvi: ${srcdir}/autotype.texi |
| 254 | $(ENVADD) $(TEXI2DVI) $< | 256 | $(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi |
| 255 | autotype.pdf: ${srcdir}/autotype.texi | 257 | autotype.pdf: ${srcdir}/autotype.texi |
| 256 | $(ENVADD) $(TEXI2PDF) $< | 258 | $(ENVADD) $(TEXI2PDF) ${srcdir}/autotype.texi |
| 257 | 259 | ||
| 258 | calc : $(infodir)/calc | 260 | calc : $(infodir)/calc |
| 259 | $(infodir)/calc: calc.texi $(emacsdir)/emacsver.texi | 261 | $(infodir)/calc: calc.texi $(emacsdir)/emacsver.texi |
| 260 | $(mkinfodir) | 262 | $(mkinfodir) |
| 261 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 263 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) calc.texi |
| 262 | calc.dvi: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi | 264 | calc.dvi: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi |
| 263 | $(ENVADD) $(TEXI2DVI) $< | 265 | $(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi |
| 264 | calc.pdf: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi | 266 | calc.pdf: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi |
| 265 | $(ENVADD) $(TEXI2PDF) $< | 267 | $(ENVADD) $(TEXI2PDF) ${srcdir}/calc.texi |
| 266 | 268 | ||
| 267 | ccmode : $(infodir)/ccmode | 269 | ccmode : $(infodir)/ccmode |
| 268 | $(infodir)/ccmode: cc-mode.texi | 270 | $(infodir)/ccmode: cc-mode.texi |
| 269 | $(mkinfodir) | 271 | $(mkinfodir) |
| 270 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 272 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) cc-mode.texi |
| 271 | cc-mode.dvi: ${srcdir}/cc-mode.texi | 273 | cc-mode.dvi: ${srcdir}/cc-mode.texi |
| 272 | $(ENVADD) $(TEXI2DVI) $< | 274 | $(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi |
| 273 | cc-mode.pdf: ${srcdir}/cc-mode.texi | 275 | cc-mode.pdf: ${srcdir}/cc-mode.texi |
| 274 | $(ENVADD) $(TEXI2PDF) $< | 276 | $(ENVADD) $(TEXI2PDF) ${srcdir}/cc-mode.texi |
| 275 | 277 | ||
| 276 | cl : $(infodir)/cl | 278 | cl : $(infodir)/cl |
| 277 | $(infodir)/cl: cl.texi | 279 | $(infodir)/cl: cl.texi |
| 278 | $(mkinfodir) | 280 | $(mkinfodir) |
| 279 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 281 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) cl.texi |
| 280 | cl.dvi: ${srcdir}/cl.texi | 282 | cl.dvi: ${srcdir}/cl.texi |
| 281 | $(ENVADD) $(TEXI2DVI) $< | 283 | $(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi |
| 282 | cl.pdf: ${srcdir}/cl.texi | 284 | cl.pdf: ${srcdir}/cl.texi |
| 283 | $(ENVADD) $(TEXI2PDF) $< | 285 | $(ENVADD) $(TEXI2PDF) ${srcdir}/cl.texi |
| 284 | 286 | ||
| 285 | dbus : $(infodir)/dbus | 287 | dbus : $(infodir)/dbus |
| 286 | $(infodir)/dbus: dbus.texi | 288 | $(infodir)/dbus: dbus.texi |
| 287 | $(mkinfodir) | 289 | $(mkinfodir) |
| 288 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 290 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) dbus.texi |
| 289 | dbus.dvi: ${srcdir}/dbus.texi | 291 | dbus.dvi: ${srcdir}/dbus.texi |
| 290 | $(ENVADD) $(TEXI2DVI) $< | 292 | $(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi |
| 291 | dbus.pdf: ${srcdir}/dbus.texi | 293 | dbus.pdf: ${srcdir}/dbus.texi |
| 292 | $(ENVADD) $(TEXI2PDF) $< | 294 | $(ENVADD) $(TEXI2PDF) ${srcdir}/dbus.texi |
| 293 | 295 | ||
| 294 | dired-x : $(infodir)/dired-x | 296 | dired-x : $(infodir)/dired-x |
| 295 | $(infodir)/dired-x: dired-x.texi $(emacsdir)/emacsver.texi | 297 | $(infodir)/dired-x: dired-x.texi $(emacsdir)/emacsver.texi |
| 296 | $(mkinfodir) | 298 | $(mkinfodir) |
| 297 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 299 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) dired-x.texi |
| 298 | dired-x.dvi: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi | 300 | dired-x.dvi: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi |
| 299 | $(ENVADD) $(TEXI2DVI) $< | 301 | $(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi |
| 300 | dired-x.pdf: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi | 302 | dired-x.pdf: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi |
| 301 | $(ENVADD) $(TEXI2PDF) $< | 303 | $(ENVADD) $(TEXI2PDF) ${srcdir}/dired-x.texi |
| 302 | 304 | ||
| 303 | ebrowse : $(infodir)/ebrowse | 305 | ebrowse : $(infodir)/ebrowse |
| 304 | $(infodir)/ebrowse: ebrowse.texi | 306 | $(infodir)/ebrowse: ebrowse.texi |
| 305 | $(mkinfodir) | 307 | $(mkinfodir) |
| 306 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 308 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ebrowse.texi |
| 307 | ebrowse.dvi: ${srcdir}/ebrowse.texi | 309 | ebrowse.dvi: ${srcdir}/ebrowse.texi |
| 308 | $(ENVADD) $(TEXI2DVI) $< | 310 | $(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi |
| 309 | ebrowse.pdf: ${srcdir}/ebrowse.texi | 311 | ebrowse.pdf: ${srcdir}/ebrowse.texi |
| 310 | $(ENVADD) $(TEXI2PDF) $< | 312 | $(ENVADD) $(TEXI2PDF) ${srcdir}/ebrowse.texi |
| 311 | 313 | ||
| 312 | ede : $(infodir)/ede | 314 | ede : $(infodir)/ede |
| 313 | $(infodir)/ede: ede.texi | 315 | $(infodir)/ede: ede.texi |
| 314 | $(mkinfodir) | 316 | $(mkinfodir) |
| 315 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 317 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ede.texi |
| 316 | ede.dvi: ${srcdir}/ede.texi | 318 | ede.dvi: ${srcdir}/ede.texi |
| 317 | $(ENVADD) $(TEXI2DVI) $< | 319 | $(ENVADD) $(TEXI2DVI) ${srcdir}/ede.texi |
| 318 | ede.pdf: ${srcdir}/ede.texi | 320 | ede.pdf: ${srcdir}/ede.texi |
| 319 | $(ENVADD) $(TEXI2PDF) $< | 321 | $(ENVADD) $(TEXI2PDF) ${srcdir}/ede.texi |
| 320 | 322 | ||
| 321 | ediff : $(infodir)/ediff | 323 | ediff : $(infodir)/ediff |
| 322 | $(infodir)/ediff: ediff.texi | 324 | $(infodir)/ediff: ediff.texi |
| 323 | $(mkinfodir) | 325 | $(mkinfodir) |
| 324 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 326 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ediff.texi |
| 325 | ediff.dvi: ${srcdir}/ediff.texi | 327 | ediff.dvi: ${srcdir}/ediff.texi |
| 326 | $(ENVADD) $(TEXI2DVI) $< | 328 | $(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi |
| 327 | ediff.pdf: ${srcdir}/ediff.texi | 329 | ediff.pdf: ${srcdir}/ediff.texi |
| 328 | $(ENVADD) $(TEXI2PDF) $< | 330 | $(ENVADD) $(TEXI2PDF) ${srcdir}/ediff.texi |
| 329 | 331 | ||
| 330 | edt : $(infodir)/edt | 332 | edt : $(infodir)/edt |
| 331 | $(infodir)/edt: edt.texi | 333 | $(infodir)/edt: edt.texi |
| 332 | $(mkinfodir) | 334 | $(mkinfodir) |
| 333 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 335 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) edt.texi |
| 334 | edt.dvi: ${srcdir}/edt.texi | 336 | edt.dvi: ${srcdir}/edt.texi |
| 335 | $(ENVADD) $(TEXI2DVI) $< | 337 | $(ENVADD) $(TEXI2DVI) ${srcdir}/edt.texi |
| 336 | edt.pdf: ${srcdir}/edt.texi | 338 | edt.pdf: ${srcdir}/edt.texi |
| 337 | $(ENVADD) $(TEXI2PDF) $< | 339 | $(ENVADD) $(TEXI2PDF) ${srcdir}/edt.texi |
| 338 | 340 | ||
| 339 | eieio : $(infodir)/eieio | 341 | eieio : $(infodir)/eieio |
| 340 | $(infodir)/eieio: eieio.texi | 342 | $(infodir)/eieio: eieio.texi |
| 341 | $(mkinfodir) | 343 | $(mkinfodir) |
| 342 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 344 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eieio.texi |
| 343 | eieio.dvi: ${srcdir}/eieio.texi | 345 | eieio.dvi: ${srcdir}/eieio.texi |
| 344 | $(ENVADD) $(TEXI2DVI) $< | 346 | $(ENVADD) $(TEXI2DVI) ${srcdir}/eieio.texi |
| 345 | eieio.pdf: ${srcdir}/eieio.texi | 347 | eieio.pdf: ${srcdir}/eieio.texi |
| 346 | $(ENVADD) $(TEXI2PDF) $< | 348 | $(ENVADD) $(TEXI2PDF) ${srcdir}/eieio.texi |
| 347 | 349 | ||
| 348 | emacs-gnutls : $(infodir)/emacs-gnutls | 350 | emacs-gnutls : $(infodir)/emacs-gnutls |
| 349 | $(infodir)/emacs-gnutls: emacs-gnutls.texi | 351 | $(infodir)/emacs-gnutls: emacs-gnutls.texi |
| 350 | $(mkinfodir) | 352 | $(mkinfodir) |
| 351 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 353 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) emacs-gnutls.texi |
| 352 | emacs-gnutls.dvi: ${srcdir}/emacs-gnutls.texi | 354 | emacs-gnutls.dvi: ${srcdir}/emacs-gnutls.texi |
| 353 | $(ENVADD) $(TEXI2DVI) $< | 355 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-gnutls.texi |
| 354 | emacs-gnutls.pdf: ${srcdir}/emacs-gnutls.texi | 356 | emacs-gnutls.pdf: ${srcdir}/emacs-gnutls.texi |
| 355 | $(ENVADD) $(TEXI2PDF) $< | 357 | $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-gnutls.texi |
| 356 | 358 | ||
| 357 | emacs-mime : $(infodir)/emacs-mime | 359 | emacs-mime : $(infodir)/emacs-mime |
| 358 | $(infodir)/emacs-mime: emacs-mime.texi | 360 | $(infodir)/emacs-mime: emacs-mime.texi |
| 359 | $(mkinfodir) | 361 | $(mkinfodir) |
| 360 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --enable-encoding $< | 362 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --enable-encoding emacs-mime.texi |
| 361 | emacs-mime.dvi: ${srcdir}/emacs-mime.texi | 363 | emacs-mime.dvi: ${srcdir}/emacs-mime.texi |
| 362 | $(ENVADD) $(TEXI2DVI) $< | 364 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi |
| 363 | emacs-mime.pdf: ${srcdir}/emacs-mime.texi | 365 | emacs-mime.pdf: ${srcdir}/emacs-mime.texi |
| 364 | $(ENVADD) $(TEXI2PDF) $< | 366 | $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-mime.texi |
| 365 | 367 | ||
| 366 | epa : $(infodir)/epa | 368 | epa : $(infodir)/epa |
| 367 | $(infodir)/epa: epa.texi | 369 | $(infodir)/epa: epa.texi |
| 368 | $(mkinfodir) | 370 | $(mkinfodir) |
| 369 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 371 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) epa.texi |
| 370 | epa.dvi: ${srcdir}/epa.texi | 372 | epa.dvi: ${srcdir}/epa.texi |
| 371 | $(ENVADD) $(TEXI2DVI) $< | 373 | $(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi |
| 372 | epa.pdf: ${srcdir}/epa.texi | 374 | epa.pdf: ${srcdir}/epa.texi |
| 373 | $(ENVADD) $(TEXI2PDF) $< | 375 | $(ENVADD) $(TEXI2PDF) ${srcdir}/epa.texi |
| 374 | 376 | ||
| 375 | erc : $(infodir)/erc | 377 | erc : $(infodir)/erc |
| 376 | $(infodir)/erc: erc.texi | 378 | $(infodir)/erc: erc.texi |
| 377 | $(mkinfodir) | 379 | $(mkinfodir) |
| 378 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 380 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) erc.texi |
| 379 | erc.dvi: ${srcdir}/erc.texi | 381 | erc.dvi: ${srcdir}/erc.texi |
| 380 | $(ENVADD) $(TEXI2DVI) $< | 382 | $(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi |
| 381 | erc.pdf: ${srcdir}/erc.texi | 383 | erc.pdf: ${srcdir}/erc.texi |
| 382 | $(ENVADD) $(TEXI2PDF) $< | 384 | $(ENVADD) $(TEXI2PDF) ${srcdir}/erc.texi |
| 383 | 385 | ||
| 384 | ert : $(infodir)/ert | 386 | ert : $(infodir)/ert |
| 385 | $(infodir)/ert: ert.texi | 387 | $(infodir)/ert: ert.texi |
| 386 | $(mkinfodir) | 388 | $(mkinfodir) |
| 387 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 389 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ert.texi |
| 388 | ert.dvi: ${srcdir}/ert.texi | 390 | ert.dvi: ${srcdir}/ert.texi |
| 389 | $(ENVADD) $(TEXI2DVI) $< | 391 | $(ENVADD) $(TEXI2DVI) ${srcdir}/ert.texi |
| 390 | ert.pdf: ${srcdir}/ert.texi | 392 | ert.pdf: ${srcdir}/ert.texi |
| 391 | $(ENVADD) $(TEXI2PDF) $< | 393 | $(ENVADD) $(TEXI2PDF) ${srcdir}/ert.texi |
| 392 | 394 | ||
| 393 | eshell : $(infodir)/eshell | 395 | eshell : $(infodir)/eshell |
| 394 | $(infodir)/eshell: eshell.texi | 396 | $(infodir)/eshell: eshell.texi |
| 395 | $(mkinfodir) | 397 | $(mkinfodir) |
| 396 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 398 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eshell.texi |
| 397 | eshell.dvi: ${srcdir}/eshell.texi | 399 | eshell.dvi: ${srcdir}/eshell.texi |
| 398 | $(ENVADD) $(TEXI2DVI) $< | 400 | $(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi |
| 399 | eshell.pdf: ${srcdir}/eshell.texi | 401 | eshell.pdf: ${srcdir}/eshell.texi |
| 400 | $(ENVADD) $(TEXI2PDF) $< | 402 | $(ENVADD) $(TEXI2PDF) ${srcdir}/eshell.texi |
| 401 | 403 | ||
| 402 | eudc : $(infodir)/eudc | 404 | eudc : $(infodir)/eudc |
| 403 | $(infodir)/eudc: eudc.texi | 405 | $(infodir)/eudc: eudc.texi |
| 404 | $(mkinfodir) | 406 | $(mkinfodir) |
| 405 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 407 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eudc.texi |
| 406 | eudc.dvi: ${srcdir}/eudc.texi | 408 | eudc.dvi: ${srcdir}/eudc.texi |
| 407 | $(ENVADD) $(TEXI2DVI) $< | 409 | $(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi |
| 408 | eudc.pdf: ${srcdir}/eudc.texi | 410 | eudc.pdf: ${srcdir}/eudc.texi |
| 409 | $(ENVADD) $(TEXI2PDF) $< | 411 | $(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi |
| 410 | 412 | ||
| 411 | efaq : $(infodir)/efaq | 413 | efaq : $(infodir)/efaq |
| 412 | $(infodir)/efaq: faq.texi $(emacsdir)/emacsver.texi | 414 | $(infodir)/efaq: faq.texi $(emacsdir)/emacsver.texi |
| 413 | $(mkinfodir) | 415 | $(mkinfodir) |
| 414 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 416 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) faq.texi |
| 415 | faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi | 417 | faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi |
| 416 | $(ENVADD) $(TEXI2DVI) $< | 418 | $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi |
| 417 | faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi | 419 | faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi |
| 418 | $(ENVADD) $(TEXI2PDF) $< | 420 | $(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi |
| 419 | ## This is the name used on the Emacs web-page. | 421 | ## This is the name used on the Emacs web-page. |
| 420 | ## sed fixes up links to point to split version of the manual. | 422 | ## sed fixes up links to point to split version of the manual. |
| 421 | emacs-faq.html: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi | 423 | emacs-faq.html: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi |
| 422 | $(MAKEINFO) $(MAKEINFO_OPTS) --no-split \ | 424 | $(MAKEINFO) $(MAKEINFO_OPTS) --no-split \ |
| 423 | --css-ref='/layout.css' --html -o $@ $< | 425 | --css-ref='/layout.css' --html -o $@ ${srcdir}/faq.texi |
| 424 | sed -i -e 's|a href="\([a-z]*\)\.html#\([^"]*\)"|a href="manual/html_node/\1/\2.html"|g' \ | 426 | sed -i -e 's|a href="\([a-z]*\)\.html#\([^"]*\)"|a href="manual/html_node/\1/\2.html"|g' \ |
| 425 | -e 's|/Top\.html|/|g' $@ | 427 | -e 's|/Top\.html|/|g' $@ |
| 426 | emacs-faq.text: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi | 428 | emacs-faq.text: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi |
| 427 | $(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ $< | 429 | $(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ ${srcdir}/faq.texi |
| 428 | 430 | ||
| 429 | flymake : $(infodir)/flymake | 431 | flymake : $(infodir)/flymake |
| 430 | $(infodir)/flymake: flymake.texi | 432 | $(infodir)/flymake: flymake.texi |
| 431 | $(mkinfodir) | 433 | $(mkinfodir) |
| 432 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 434 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) flymake.texi |
| 433 | flymake.dvi: ${srcdir}/flymake.texi | 435 | flymake.dvi: ${srcdir}/flymake.texi |
| 434 | $(ENVADD) $(TEXI2DVI) $< | 436 | $(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi |
| 435 | flymake.pdf: ${srcdir}/flymake.texi | 437 | flymake.pdf: ${srcdir}/flymake.texi |
| 436 | $(ENVADD) $(TEXI2PDF) $< | 438 | $(ENVADD) $(TEXI2PDF) ${srcdir}/flymake.texi |
| 437 | 439 | ||
| 438 | forms : $(infodir)/forms | 440 | forms : $(infodir)/forms |
| 439 | $(infodir)/forms: forms.texi | 441 | $(infodir)/forms: forms.texi |
| 440 | $(mkinfodir) | 442 | $(mkinfodir) |
| 441 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 443 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) forms.texi |
| 442 | forms.dvi: ${srcdir}/forms.texi | 444 | forms.dvi: ${srcdir}/forms.texi |
| 443 | $(ENVADD) $(TEXI2DVI) $< | 445 | $(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi |
| 444 | forms.pdf: ${srcdir}/forms.texi | 446 | forms.pdf: ${srcdir}/forms.texi |
| 445 | $(ENVADD) $(TEXI2PDF) $< | 447 | $(ENVADD) $(TEXI2PDF) ${srcdir}/forms.texi |
| 446 | 448 | ||
| 447 | # gnus/message/emacs-mime/sieve/pgg are part of Gnus: | 449 | # gnus/message/emacs-mime/sieve/pgg are part of Gnus: |
| 448 | gnus : $(infodir)/gnus | 450 | gnus : $(infodir)/gnus |
| 449 | $(infodir)/gnus: gnus.texi gnus-faq.texi | 451 | $(infodir)/gnus: gnus.texi gnus-faq.texi |
| 450 | $(mkinfodir) | 452 | $(mkinfodir) |
| 451 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 453 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) gnus.texi |
| 452 | gnus.dvi: ${srcdir}/gnus.texi gnus-faq.texi | 454 | gnus.dvi: ${srcdir}/gnus.texi gnus-faq.texi |
| 453 | sed -e '/@iflatex/,/@end iflatex/d' $< > gnustmp.texi | 455 | sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi |
| 454 | $(ENVADD) $(TEXI2DVI) gnustmp.texi | 456 | $(ENVADD) $(TEXI2DVI) gnustmp.texi |
| 455 | cp gnustmp.dvi $*.dvi | 457 | cp gnustmp.dvi $*.dvi |
| 456 | rm gnustmp.* | 458 | rm gnustmp.* |
| 457 | gnus.pdf: ${srcdir}/gnus.texi gnus-faq.texi | 459 | gnus.pdf: ${srcdir}/gnus.texi gnus-faq.texi |
| 458 | sed -e '/@iflatex/,/@end iflatex/d' $< > gnustmp.texi | 460 | sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi |
| 459 | $(ENVADD) $(TEXI2PDF) gnustmp.texi | 461 | $(ENVADD) $(TEXI2PDF) gnustmp.texi |
| 460 | cp gnustmp.pdf $@ | 462 | cp gnustmp.pdf $@ |
| 461 | rm gnustmp.* | 463 | rm gnustmp.* |
| @@ -465,11 +467,11 @@ gnus.pdf: ${srcdir}/gnus.texi gnus-faq.texi | |||
| 465 | idlwave : $(infodir)/idlwave | 467 | idlwave : $(infodir)/idlwave |
| 466 | $(infodir)/idlwave: idlwave.texi | 468 | $(infodir)/idlwave: idlwave.texi |
| 467 | $(mkinfodir) | 469 | $(mkinfodir) |
| 468 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split $< | 470 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split idlwave.texi |
| 469 | idlwave.dvi: ${srcdir}/idlwave.texi | 471 | idlwave.dvi: ${srcdir}/idlwave.texi |
| 470 | $(ENVADD) $(TEXI2DVI) $< | 472 | $(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi |
| 471 | idlwave.pdf: ${srcdir}/idlwave.texi | 473 | idlwave.pdf: ${srcdir}/idlwave.texi |
| 472 | $(ENVADD) $(TEXI2PDF) $< | 474 | $(ENVADD) $(TEXI2PDF) ${srcdir}/idlwave.texi |
| 473 | 475 | ||
| 474 | # The following target uses an explicit -o switch to work around | 476 | # The following target uses an explicit -o switch to work around |
| 475 | # the @setfilename directive in info.texi, which is required for | 477 | # the @setfilename directive in info.texi, which is required for |
| @@ -477,227 +479,227 @@ idlwave.pdf: ${srcdir}/idlwave.texi | |||
| 477 | ###info : $(infodir)/info # circular! | 479 | ###info : $(infodir)/info # circular! |
| 478 | $(infodir)/info: info.texi | 480 | $(infodir)/info: info.texi |
| 479 | $(mkinfodir) | 481 | $(mkinfodir) |
| 480 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split $< -o $@ | 482 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split -o $@ info.texi |
| 481 | info.dvi: ${srcdir}/info.texi | 483 | info.dvi: ${srcdir}/info.texi |
| 482 | $(ENVADD) $(TEXI2DVI) $< | 484 | $(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi |
| 483 | info.pdf: ${srcdir}/info.texi | 485 | info.pdf: ${srcdir}/info.texi |
| 484 | $(ENVADD) $(TEXI2PDF) $< | 486 | $(ENVADD) $(TEXI2PDF) ${srcdir}/info.texi |
| 485 | 487 | ||
| 486 | mairix-el : $(infodir)/mairix-el | 488 | mairix-el : $(infodir)/mairix-el |
| 487 | $(infodir)/mairix-el: mairix-el.texi | 489 | $(infodir)/mairix-el: mairix-el.texi |
| 488 | $(mkinfodir) | 490 | $(mkinfodir) |
| 489 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 491 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) mairix-el.texi |
| 490 | mairix-el.dvi: ${srcdir}/mairix-el.texi | 492 | mairix-el.dvi: ${srcdir}/mairix-el.texi |
| 491 | $(ENVADD) $(TEXI2DVI) $< | 493 | $(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi |
| 492 | mairix-el.pdf: ${srcdir}/mairix-el.texi | 494 | mairix-el.pdf: ${srcdir}/mairix-el.texi |
| 493 | $(ENVADD) $(TEXI2PDF) $< | 495 | $(ENVADD) $(TEXI2PDF) ${srcdir}/mairix-el.texi |
| 494 | 496 | ||
| 495 | message : $(infodir)/message | 497 | message : $(infodir)/message |
| 496 | $(infodir)/message: message.texi | 498 | $(infodir)/message: message.texi |
| 497 | $(mkinfodir) | 499 | $(mkinfodir) |
| 498 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 500 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) message.texi |
| 499 | message.dvi: ${srcdir}/message.texi | 501 | message.dvi: ${srcdir}/message.texi |
| 500 | $(ENVADD) $(TEXI2DVI) $< | 502 | $(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi |
| 501 | message.pdf: ${srcdir}/message.texi | 503 | message.pdf: ${srcdir}/message.texi |
| 502 | $(ENVADD) $(TEXI2PDF) $< | 504 | $(ENVADD) $(TEXI2PDF) ${srcdir}/message.texi |
| 503 | 505 | ||
| 504 | mh-e : $(infodir)/mh-e | 506 | mh-e : $(infodir)/mh-e |
| 505 | $(infodir)/mh-e: mh-e.texi | 507 | $(infodir)/mh-e: mh-e.texi |
| 506 | $(mkinfodir) | 508 | $(mkinfodir) |
| 507 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 509 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) mh-e.texi |
| 508 | mh-e.dvi: ${srcdir}/mh-e.texi | 510 | mh-e.dvi: ${srcdir}/mh-e.texi |
| 509 | $(ENVADD) $(TEXI2DVI) $< | 511 | $(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi |
| 510 | mh-e.pdf: ${srcdir}/mh-e.texi | 512 | mh-e.pdf: ${srcdir}/mh-e.texi |
| 511 | $(ENVADD) $(TEXI2PDF) $< | 513 | $(ENVADD) $(TEXI2PDF) ${srcdir}/mh-e.texi |
| 512 | 514 | ||
| 513 | newsticker : $(infodir)/newsticker | 515 | newsticker : $(infodir)/newsticker |
| 514 | $(infodir)/newsticker: newsticker.texi | 516 | $(infodir)/newsticker: newsticker.texi |
| 515 | $(mkinfodir) | 517 | $(mkinfodir) |
| 516 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 518 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) newsticker.texi |
| 517 | newsticker.dvi: ${srcdir}/newsticker.texi | 519 | newsticker.dvi: ${srcdir}/newsticker.texi |
| 518 | $(ENVADD) $(TEXI2DVI) $< | 520 | $(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi |
| 519 | newsticker.pdf: ${srcdir}/newsticker.texi | 521 | newsticker.pdf: ${srcdir}/newsticker.texi |
| 520 | $(ENVADD) $(TEXI2PDF) $< | 522 | $(ENVADD) $(TEXI2PDF) ${srcdir}/newsticker.texi |
| 521 | 523 | ||
| 522 | nxml-mode : $(infodir)/nxml-mode | 524 | nxml-mode : $(infodir)/nxml-mode |
| 523 | $(infodir)/nxml-mode: nxml-mode.texi | 525 | $(infodir)/nxml-mode: nxml-mode.texi |
| 524 | $(mkinfodir) | 526 | $(mkinfodir) |
| 525 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 527 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) nxml-mode.texi |
| 526 | nxml-mode.dvi: ${srcdir}/nxml-mode.texi | 528 | nxml-mode.dvi: ${srcdir}/nxml-mode.texi |
| 527 | $(ENVADD) $(TEXI2DVI) $< | 529 | $(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi |
| 528 | nxml-mode.pdf: ${srcdir}/nxml-mode.texi | 530 | nxml-mode.pdf: ${srcdir}/nxml-mode.texi |
| 529 | $(ENVADD) $(TEXI2PDF) $< | 531 | $(ENVADD) $(TEXI2PDF) ${srcdir}/nxml-mode.texi |
| 530 | 532 | ||
| 531 | org : $(infodir)/org | 533 | org : $(infodir)/org |
| 532 | $(infodir)/org: org.texi | 534 | $(infodir)/org: org.texi |
| 533 | $(mkinfodir) | 535 | $(mkinfodir) |
| 534 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 536 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) org.texi |
| 535 | org.dvi: ${srcdir}/org.texi | 537 | org.dvi: ${srcdir}/org.texi |
| 536 | $(ENVADD) $(TEXI2DVI) $< | 538 | $(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi |
| 537 | org.pdf: ${srcdir}/org.texi | 539 | org.pdf: ${srcdir}/org.texi |
| 538 | $(ENVADD) $(TEXI2PDF) $< | 540 | $(ENVADD) $(TEXI2PDF) ${srcdir}/org.texi |
| 539 | 541 | ||
| 540 | pcl-cvs : $(infodir)/pcl-cvs | 542 | pcl-cvs : $(infodir)/pcl-cvs |
| 541 | $(infodir)/pcl-cvs: pcl-cvs.texi | 543 | $(infodir)/pcl-cvs: pcl-cvs.texi |
| 542 | $(mkinfodir) | 544 | $(mkinfodir) |
| 543 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 545 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) pcl-cvs.texi |
| 544 | pcl-cvs.dvi: ${srcdir}/pcl-cvs.texi | 546 | pcl-cvs.dvi: ${srcdir}/pcl-cvs.texi |
| 545 | $(ENVADD) $(TEXI2DVI) $< | 547 | $(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi |
| 546 | pcl-cvs.pdf: ${srcdir}/pcl-cvs.texi | 548 | pcl-cvs.pdf: ${srcdir}/pcl-cvs.texi |
| 547 | $(ENVADD) $(TEXI2PDF) $< | 549 | $(ENVADD) $(TEXI2PDF) ${srcdir}/pcl-cvs.texi |
| 548 | 550 | ||
| 549 | pgg : $(infodir)/pgg | 551 | pgg : $(infodir)/pgg |
| 550 | $(infodir)/pgg: pgg.texi | 552 | $(infodir)/pgg: pgg.texi |
| 551 | $(mkinfodir) | 553 | $(mkinfodir) |
| 552 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 554 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) pgg.texi |
| 553 | pgg.dvi: ${srcdir}/pgg.texi | 555 | pgg.dvi: ${srcdir}/pgg.texi |
| 554 | $(ENVADD) $(TEXI2DVI) $< | 556 | $(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi |
| 555 | pgg.pdf: ${srcdir}/pgg.texi | 557 | pgg.pdf: ${srcdir}/pgg.texi |
| 556 | $(ENVADD) $(TEXI2PDF) $< | 558 | $(ENVADD) $(TEXI2PDF) ${srcdir}/pgg.texi |
| 557 | 559 | ||
| 558 | rcirc : $(infodir)/rcirc | 560 | rcirc : $(infodir)/rcirc |
| 559 | $(infodir)/rcirc: rcirc.texi | 561 | $(infodir)/rcirc: rcirc.texi |
| 560 | $(mkinfodir) | 562 | $(mkinfodir) |
| 561 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 563 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) rcirc.texi |
| 562 | rcirc.dvi: ${srcdir}/rcirc.texi | 564 | rcirc.dvi: ${srcdir}/rcirc.texi |
| 563 | $(ENVADD) $(TEXI2DVI) $< | 565 | $(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi |
| 564 | rcirc.pdf: ${srcdir}/rcirc.texi | 566 | rcirc.pdf: ${srcdir}/rcirc.texi |
| 565 | $(ENVADD) $(TEXI2PDF) $< | 567 | $(ENVADD) $(TEXI2PDF) ${srcdir}/rcirc.texi |
| 566 | 568 | ||
| 567 | reftex : $(infodir)/reftex | 569 | reftex : $(infodir)/reftex |
| 568 | $(infodir)/reftex: reftex.texi | 570 | $(infodir)/reftex: reftex.texi |
| 569 | $(mkinfodir) | 571 | $(mkinfodir) |
| 570 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 572 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) reftex.texi |
| 571 | reftex.dvi: ${srcdir}/reftex.texi | 573 | reftex.dvi: ${srcdir}/reftex.texi |
| 572 | $(ENVADD) $(TEXI2DVI) $< | 574 | $(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi |
| 573 | reftex.pdf: ${srcdir}/reftex.texi | 575 | reftex.pdf: ${srcdir}/reftex.texi |
| 574 | $(ENVADD) $(TEXI2PDF) $< | 576 | $(ENVADD) $(TEXI2PDF) ${srcdir}/reftex.texi |
| 575 | 577 | ||
| 576 | remember : $(infodir)/remember | 578 | remember : $(infodir)/remember |
| 577 | $(infodir)/remember: remember.texi | 579 | $(infodir)/remember: remember.texi |
| 578 | $(mkinfodir) | 580 | $(mkinfodir) |
| 579 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 581 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) remember.texi |
| 580 | remember.dvi: ${srcdir}/remember.texi | 582 | remember.dvi: ${srcdir}/remember.texi |
| 581 | $(ENVADD) $(TEXI2DVI) $< | 583 | $(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi |
| 582 | remember.pdf: ${srcdir}/remember.texi | 584 | remember.pdf: ${srcdir}/remember.texi |
| 583 | $(ENVADD) $(TEXI2PDF) $< | 585 | $(ENVADD) $(TEXI2PDF) ${srcdir}/remember.texi |
| 584 | 586 | ||
| 585 | sasl : $(infodir)/sasl | 587 | sasl : $(infodir)/sasl |
| 586 | $(infodir)/sasl: sasl.texi | 588 | $(infodir)/sasl: sasl.texi |
| 587 | $(mkinfodir) | 589 | $(mkinfodir) |
| 588 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 590 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sasl.texi |
| 589 | sasl.dvi: ${srcdir}/sasl.texi | 591 | sasl.dvi: ${srcdir}/sasl.texi |
| 590 | $(ENVADD) $(TEXI2DVI) $< | 592 | $(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi |
| 591 | sasl.pdf: ${srcdir}/sasl.texi | 593 | sasl.pdf: ${srcdir}/sasl.texi |
| 592 | $(ENVADD) $(TEXI2PDF) $< | 594 | $(ENVADD) $(TEXI2PDF) ${srcdir}/sasl.texi |
| 593 | 595 | ||
| 594 | sc : $(infodir)/sc | 596 | sc : $(infodir)/sc |
| 595 | $(infodir)/sc: sc.texi | 597 | $(infodir)/sc: sc.texi |
| 596 | $(mkinfodir) | 598 | $(mkinfodir) |
| 597 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 599 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sc.texi |
| 598 | sc.dvi: ${srcdir}/sc.texi | 600 | sc.dvi: ${srcdir}/sc.texi |
| 599 | $(ENVADD) $(TEXI2DVI) $< | 601 | $(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi |
| 600 | sc.pdf: ${srcdir}/sc.texi | 602 | sc.pdf: ${srcdir}/sc.texi |
| 601 | $(ENVADD) $(TEXI2PDF) $< | 603 | $(ENVADD) $(TEXI2PDF) ${srcdir}/sc.texi |
| 602 | 604 | ||
| 603 | semantic : $(infodir)/semantic | 605 | semantic : $(infodir)/semantic |
| 604 | $(infodir)/semantic: semantic.texi sem-user.texi | 606 | $(infodir)/semantic: semantic.texi sem-user.texi |
| 605 | $(mkinfodir) | 607 | $(mkinfodir) |
| 606 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 608 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) semantic.texi |
| 607 | semantic.dvi: ${srcdir}/semantic.texi sem-user.texi | 609 | semantic.dvi: ${srcdir}/semantic.texi sem-user.texi |
| 608 | $(ENVADD) $(TEXI2DVI) $< | 610 | $(ENVADD) $(TEXI2DVI) ${srcdir}/semantic.texi |
| 609 | semantic.pdf: ${srcdir}/semantic.texi sem-user.texi | 611 | semantic.pdf: ${srcdir}/semantic.texi sem-user.texi |
| 610 | $(ENVADD) $(TEXI2PDF) $< | 612 | $(ENVADD) $(TEXI2PDF) ${srcdir}/semantic.texi |
| 611 | 613 | ||
| 612 | ses : $(infodir)/ses | 614 | ses : $(infodir)/ses |
| 613 | $(infodir)/ses: ses.texi | 615 | $(infodir)/ses: ses.texi |
| 614 | $(mkinfodir) | 616 | $(mkinfodir) |
| 615 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 617 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ses.texi |
| 616 | ses.dvi: ${srcdir}/ses.texi | 618 | ses.dvi: ${srcdir}/ses.texi |
| 617 | $(ENVADD) $(TEXI2DVI) $< | 619 | $(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi |
| 618 | ses.pdf: ${srcdir}/ses.texi | 620 | ses.pdf: ${srcdir}/ses.texi |
| 619 | $(ENVADD) $(TEXI2PDF) $< | 621 | $(ENVADD) $(TEXI2PDF) ${srcdir}/ses.texi |
| 620 | 622 | ||
| 621 | sieve : $(infodir)/sieve | 623 | sieve : $(infodir)/sieve |
| 622 | $(infodir)/sieve: sieve.texi | 624 | $(infodir)/sieve: sieve.texi |
| 623 | $(mkinfodir) | 625 | $(mkinfodir) |
| 624 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 626 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sieve.texi |
| 625 | sieve.dvi: ${srcdir}/sieve.texi | 627 | sieve.dvi: ${srcdir}/sieve.texi |
| 626 | $(ENVADD) $(TEXI2DVI) $< | 628 | $(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi |
| 627 | sieve.pdf: ${srcdir}/sieve.texi | 629 | sieve.pdf: ${srcdir}/sieve.texi |
| 628 | $(ENVADD) $(TEXI2PDF) $< | 630 | $(ENVADD) $(TEXI2PDF) ${srcdir}/sieve.texi |
| 629 | 631 | ||
| 630 | smtpmail : $(infodir)/smtpmail | 632 | smtpmail : $(infodir)/smtpmail |
| 631 | $(infodir)/smtpmail: smtpmail.texi | 633 | $(infodir)/smtpmail: smtpmail.texi |
| 632 | $(mkinfodir) | 634 | $(mkinfodir) |
| 633 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 635 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) smtpmail.texi |
| 634 | smtpmail.dvi: ${srcdir}/smtpmail.texi | 636 | smtpmail.dvi: ${srcdir}/smtpmail.texi |
| 635 | $(ENVADD) $(TEXI2DVI) $< | 637 | $(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi |
| 636 | smtpmail.pdf: ${srcdir}/smtpmail.texi | 638 | smtpmail.pdf: ${srcdir}/smtpmail.texi |
| 637 | $(ENVADD) $(TEXI2PDF) $< | 639 | $(ENVADD) $(TEXI2PDF) ${srcdir}/smtpmail.texi |
| 638 | 640 | ||
| 639 | speedbar : $(infodir)/speedbar | 641 | speedbar : $(infodir)/speedbar |
| 640 | $(infodir)/speedbar: speedbar.texi | 642 | $(infodir)/speedbar: speedbar.texi |
| 641 | $(mkinfodir) | 643 | $(mkinfodir) |
| 642 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 644 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) speedbar.texi |
| 643 | speedbar.dvi: ${srcdir}/speedbar.texi | 645 | speedbar.dvi: ${srcdir}/speedbar.texi |
| 644 | $(ENVADD) $(TEXI2DVI) $< | 646 | $(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi |
| 645 | speedbar.pdf: ${srcdir}/speedbar.texi | 647 | speedbar.pdf: ${srcdir}/speedbar.texi |
| 646 | $(ENVADD) $(TEXI2PDF) $< | 648 | $(ENVADD) $(TEXI2PDF) ${srcdir}/speedbar.texi |
| 647 | 649 | ||
| 648 | tramp : $(infodir)/tramp | 650 | tramp : $(infodir)/tramp |
| 649 | $(infodir)/tramp: tramp.texi trampver.texi | 651 | $(infodir)/tramp: tramp.texi trampver.texi |
| 650 | $(mkinfodir) | 652 | $(mkinfodir) |
| 651 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) -D emacs $< | 653 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) -D emacs tramp.texi |
| 652 | tramp.dvi: ${srcdir}/tramp.texi trampver.texi | 654 | tramp.dvi: ${srcdir}/tramp.texi trampver.texi |
| 653 | $(ENVADD) $(TEXI2DVI) $< | 655 | $(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi |
| 654 | tramp.pdf: ${srcdir}/tramp.texi trampver.texi | 656 | tramp.pdf: ${srcdir}/tramp.texi trampver.texi |
| 655 | $(ENVADD) $(TEXI2PDF) $< | 657 | $(ENVADD) $(TEXI2PDF) ${srcdir}/tramp.texi |
| 656 | 658 | ||
| 657 | url : $(infodir)/url | 659 | url : $(infodir)/url |
| 658 | $(infodir)/url: url.texi | 660 | $(infodir)/url: url.texi |
| 659 | $(mkinfodir) | 661 | $(mkinfodir) |
| 660 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 662 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) url.texi |
| 661 | url.dvi: ${srcdir}/url.texi | 663 | url.dvi: ${srcdir}/url.texi |
| 662 | $(ENVADD) $(TEXI2DVI) $< | 664 | $(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi |
| 663 | url.pdf: ${srcdir}/url.texi | 665 | url.pdf: ${srcdir}/url.texi |
| 664 | $(ENVADD) $(TEXI2PDF) $< | 666 | $(ENVADD) $(TEXI2PDF) ${srcdir}/url.texi |
| 665 | 667 | ||
| 666 | vip : $(infodir)/vip | 668 | vip : $(infodir)/vip |
| 667 | $(infodir)/vip: vip.texi | 669 | $(infodir)/vip: vip.texi |
| 668 | $(mkinfodir) | 670 | $(mkinfodir) |
| 669 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 671 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) vip.texi |
| 670 | vip.dvi: ${srcdir}/vip.texi | 672 | vip.dvi: ${srcdir}/vip.texi |
| 671 | $(ENVADD) $(TEXI2DVI) $< | 673 | $(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi |
| 672 | vip.pdf: ${srcdir}/vip.texi | 674 | vip.pdf: ${srcdir}/vip.texi |
| 673 | $(ENVADD) $(TEXI2PDF) $< | 675 | $(ENVADD) $(TEXI2PDF) ${srcdir}/vip.texi |
| 674 | 676 | ||
| 675 | viper : $(infodir)/viper | 677 | viper : $(infodir)/viper |
| 676 | $(infodir)/viper: viper.texi | 678 | $(infodir)/viper: viper.texi |
| 677 | $(mkinfodir) | 679 | $(mkinfodir) |
| 678 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 680 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) viper.texi |
| 679 | viper.dvi: ${srcdir}/viper.texi | 681 | viper.dvi: ${srcdir}/viper.texi |
| 680 | $(ENVADD) $(TEXI2DVI) $< | 682 | $(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi |
| 681 | viper.pdf: ${srcdir}/viper.texi | 683 | viper.pdf: ${srcdir}/viper.texi |
| 682 | $(ENVADD) $(TEXI2PDF) $< | 684 | $(ENVADD) $(TEXI2PDF) ${srcdir}/viper.texi |
| 683 | 685 | ||
| 684 | widget : $(infodir)/widget | 686 | widget : $(infodir)/widget |
| 685 | $(infodir)/widget: widget.texi | 687 | $(infodir)/widget: widget.texi |
| 686 | $(mkinfodir) | 688 | $(mkinfodir) |
| 687 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 689 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) widget.texi |
| 688 | widget.dvi: ${srcdir}/widget.texi | 690 | widget.dvi: ${srcdir}/widget.texi |
| 689 | $(ENVADD) $(TEXI2DVI) $< | 691 | $(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi |
| 690 | widget.pdf: ${srcdir}/widget.texi | 692 | widget.pdf: ${srcdir}/widget.texi |
| 691 | $(ENVADD) $(TEXI2PDF) $< | 693 | $(ENVADD) $(TEXI2PDF) ${srcdir}/widget.texi |
| 692 | 694 | ||
| 693 | woman : $(infodir)/woman | 695 | woman : $(infodir)/woman |
| 694 | $(infodir)/woman: woman.texi | 696 | $(infodir)/woman: woman.texi |
| 695 | $(mkinfodir) | 697 | $(mkinfodir) |
| 696 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) $< | 698 | cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) woman.texi |
| 697 | woman.dvi: ${srcdir}/woman.texi | 699 | woman.dvi: ${srcdir}/woman.texi |
| 698 | $(ENVADD) $(TEXI2DVI) $< | 700 | $(ENVADD) $(TEXI2DVI) ${srcdir}/woman.texi |
| 699 | woman.pdf: ${srcdir}/woman.texi | 701 | woman.pdf: ${srcdir}/woman.texi |
| 700 | $(ENVADD) $(TEXI2PDF) $< | 702 | $(ENVADD) $(TEXI2PDF) ${srcdir}/woman.texi |
| 701 | 703 | ||
| 702 | 704 | ||
| 703 | .PHONY: mostlyclean clean distclean maintainer-clean | 705 | .PHONY: mostlyclean clean distclean maintainer-clean |
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi index 1a192123c3e..58420bbd99c 100644 --- a/doc/misc/cc-mode.texi +++ b/doc/misc/cc-mode.texi | |||
| @@ -5195,7 +5195,7 @@ indentation. | |||
| 5195 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 5195 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 5196 | 5196 | ||
| 5197 | This section explains the structure and semantics of the style | 5197 | This section explains the structure and semantics of the style |
| 5198 | variable @code{c-offset-alist}, the principal variable for configuring | 5198 | variable @code{c-offsets-alist}, the principal variable for configuring |
| 5199 | indentation. Details of how to set it up, and its relationship to | 5199 | indentation. Details of how to set it up, and its relationship to |
| 5200 | @ccmode{}'s style system are given in @ref{Style Variables}. | 5200 | @ccmode{}'s style system are given in @ref{Style Variables}. |
| 5201 | 5201 | ||
diff --git a/doc/misc/org.texi b/doc/misc/org.texi index e033a47aa96..67633e1acac 100644 --- a/doc/misc/org.texi +++ b/doc/misc/org.texi | |||
| @@ -4,8 +4,8 @@ | |||
| 4 | @setfilename ../../info/org | 4 | @setfilename ../../info/org |
| 5 | @settitle The Org Manual | 5 | @settitle The Org Manual |
| 6 | 6 | ||
| 7 | @set VERSION 7.8.07 | 7 | @set VERSION 7.8.09 |
| 8 | @set DATE March 2012 | 8 | @set DATE April 2012 |
| 9 | 9 | ||
| 10 | @c Use proper quote and backtick for code sections in PDF output | 10 | @c Use proper quote and backtick for code sections in PDF output |
| 11 | @c Cf. Texinfo manual 14.2 | 11 | @c Cf. Texinfo manual 14.2 |
| @@ -5698,8 +5698,8 @@ until the entry is marked DONE. An example: | |||
| 5698 | 5698 | ||
| 5699 | @example | 5699 | @example |
| 5700 | *** TODO write article about the Earth for the Guide | 5700 | *** TODO write article about the Earth for the Guide |
| 5701 | The editor in charge is [[bbdb:Ford Prefect]] | ||
| 5702 | DEADLINE: <2004-02-29 Sun> | 5701 | DEADLINE: <2004-02-29 Sun> |
| 5702 | The editor in charge is [[bbdb:Ford Prefect]] | ||
| 5703 | @end example | 5703 | @end example |
| 5704 | 5704 | ||
| 5705 | You can specify a different lead time for warnings for a specific | 5705 | You can specify a different lead time for warnings for a specific |
| @@ -7852,9 +7852,9 @@ the other commands, the cursor needs to be in the desired line. | |||
| 7852 | @tsubheading{Motion} | 7852 | @tsubheading{Motion} |
| 7853 | @cindex motion commands in agenda | 7853 | @cindex motion commands in agenda |
| 7854 | @orgcmd{n,org-agenda-next-line} | 7854 | @orgcmd{n,org-agenda-next-line} |
| 7855 | Next line (same as @key{up} and @kbd{C-p}). | 7855 | Next line (same as @key{down} and @kbd{C-n}). |
| 7856 | @orgcmd{p,org-agenda-previous-line} | 7856 | @orgcmd{p,org-agenda-previous-line} |
| 7857 | Previous line (same as @key{down} and @kbd{C-n}). | 7857 | Previous line (same as @key{up} and @kbd{C-p}). |
| 7858 | @tsubheading{View/Go to Org file} | 7858 | @tsubheading{View/Go to Org file} |
| 7859 | @orgcmdkkc{@key{SPC},mouse-3,org-agenda-show-and-scroll-up} | 7859 | @orgcmdkkc{@key{SPC},mouse-3,org-agenda-show-and-scroll-up} |
| 7860 | Display the original location of the item in another window. | 7860 | Display the original location of the item in another window. |
| @@ -9537,12 +9537,12 @@ the web, while the XOXO format provides a solid base for exchange with a | |||
| 9537 | broad range of other applications. @LaTeX{} export lets you use Org mode and | 9537 | broad range of other applications. @LaTeX{} export lets you use Org mode and |
| 9538 | its structured editing functions to easily create @LaTeX{} files. DocBook | 9538 | its structured editing functions to easily create @LaTeX{} files. DocBook |
| 9539 | export makes it possible to convert Org files to many other formats using | 9539 | export makes it possible to convert Org files to many other formats using |
| 9540 | DocBook tools. OpenDocument Text(ODT) export allows seamless | 9540 | DocBook tools. OpenDocument Text (ODT) export allows seamless |
| 9541 | collaboration across organizational boundaries. For project management you | 9541 | collaboration across organizational boundaries. For project management you |
| 9542 | can create gantt and resource charts by using TaskJuggler export. To | 9542 | can create gantt and resource charts by using TaskJuggler export. To |
| 9543 | incorporate entries with associated times like deadlines or appointments into | 9543 | incorporate entries with associated times like deadlines or appointments into |
| 9544 | a desktop calendar program like iCal, Org mode can also produce extracts in | 9544 | a desktop calendar program like iCal, Org mode can also produce extracts in |
| 9545 | the iCalendar format. Currently Org mode only supports export, not import of | 9545 | the iCalendar format. Currently, Org mode only supports export, not import of |
| 9546 | these different formats. | 9546 | these different formats. |
| 9547 | 9547 | ||
| 9548 | Org supports export of selected regions when @code{transient-mark-mode} is | 9548 | Org supports export of selected regions when @code{transient-mark-mode} is |
| @@ -10869,10 +10869,10 @@ one format (say @samp{csv}) to another format (say @samp{ods} or @samp{xls}). | |||
| 10869 | If you have a working installation of LibreOffice, a document converter is | 10869 | If you have a working installation of LibreOffice, a document converter is |
| 10870 | pre-configured for you and you can use it right away. If you would like to | 10870 | pre-configured for you and you can use it right away. If you would like to |
| 10871 | use @file{unoconv} as your preferred converter, customize the variable | 10871 | use @file{unoconv} as your preferred converter, customize the variable |
| 10872 | @code{org-export-odt-convert-process} to point to @code{unoconv}. If you | 10872 | @code{org-export-odt-convert-process} to point to @code{unoconv}. You can |
| 10873 | would like to use a converter of your own choosing or tweak the default | 10873 | also use your own favorite converter or tweak the default settings of the |
| 10874 | settings of the default @file{LibreOffice} and @samp{unoconv} converters | 10874 | @file{LibreOffice} and @samp{unoconv} converters. @xref{Configuring a |
| 10875 | @xref{Configuring a document converter}. | 10875 | document converter}. |
| 10876 | 10876 | ||
| 10877 | @subsubsection Automatically exporting to other formats | 10877 | @subsubsection Automatically exporting to other formats |
| 10878 | @anchor{x-export-to-other-formats} | 10878 | @anchor{x-export-to-other-formats} |
| @@ -11206,7 +11206,7 @@ that the @file{dvipng} program be available on your system. | |||
| 11206 | 11206 | ||
| 11207 | For various reasons, you may find embedding @LaTeX{} math snippets in an | 11207 | For various reasons, you may find embedding @LaTeX{} math snippets in an |
| 11208 | ODT document less than reliable. In that case, you can embed a | 11208 | ODT document less than reliable. In that case, you can embed a |
| 11209 | math equation by linking to its MathML(@file{.mml}) source or its | 11209 | math equation by linking to its MathML (@file{.mml}) source or its |
| 11210 | OpenDocument formula (@file{.odf}) file as shown below: | 11210 | OpenDocument formula (@file{.odf}) file as shown below: |
| 11211 | 11211 | ||
| 11212 | @example | 11212 | @example |
| @@ -11269,7 +11269,7 @@ Illustration 2: Bell curve | |||
| 11269 | Export of literal examples (@pxref{Literal examples}) with full fontification | 11269 | Export of literal examples (@pxref{Literal examples}) with full fontification |
| 11270 | is supported. Internally, the exporter relies on @file{htmlfontify.el} to | 11270 | is supported. Internally, the exporter relies on @file{htmlfontify.el} to |
| 11271 | generate all style definitions needed for a fancy listing.@footnote{Your | 11271 | generate all style definitions needed for a fancy listing.@footnote{Your |
| 11272 | @file{htmlfontify.el} library must atleast be at Emacs 24.1 levels for | 11272 | @file{htmlfontify.el} library must at least be at Emacs 24.1 levels for |
| 11273 | fontification to be turned on.} The auto-generated styles have @samp{OrgSrc} | 11273 | fontification to be turned on.} The auto-generated styles have @samp{OrgSrc} |
| 11274 | as prefix and inherit their color from the faces used by Emacs | 11274 | as prefix and inherit their color from the faces used by Emacs |
| 11275 | @code{font-lock} library for the source language. | 11275 | @code{font-lock} library for the source language. |
| @@ -11318,10 +11318,9 @@ the variable @code{org-export-odt-convert-processes}. Also specify how the | |||
| 11318 | converter can be invoked via command-line to effect the conversion. | 11318 | converter can be invoked via command-line to effect the conversion. |
| 11319 | 11319 | ||
| 11320 | @item Configure its capabilities | 11320 | @item Configure its capabilities |
| 11321 | @vindex org-export-odt-convert-capabilities | ||
| 11322 | 11321 | ||
| 11322 | @vindex org-export-odt-convert-capabilities | ||
| 11323 | @anchor{x-odt-converter-capabilities} | 11323 | @anchor{x-odt-converter-capabilities} |
| 11324 | |||
| 11325 | Specify the set of formats the converter can handle by customizing the | 11324 | Specify the set of formats the converter can handle by customizing the |
| 11326 | variable @code{org-export-odt-convert-capabilities}. Use the default value | 11325 | variable @code{org-export-odt-convert-capabilities}. Use the default value |
| 11327 | for this variable as a guide for configuring your converter. As suggested by | 11326 | for this variable as a guide for configuring your converter. As suggested by |
| @@ -11460,7 +11459,7 @@ regular text. | |||
| 11460 | @end example | 11459 | @end example |
| 11461 | 11460 | ||
| 11462 | @strong{Hint:} To see the above example in action, edit your | 11461 | @strong{Hint:} To see the above example in action, edit your |
| 11463 | @file{styles.xml}(@pxref{x-orgodtstyles-xml,,Factory styles}) and add a | 11462 | @file{styles.xml} (@pxref{x-orgodtstyles-xml,,Factory styles}) and add a |
| 11464 | custom @samp{Highlight} style as shown below. | 11463 | custom @samp{Highlight} style as shown below. |
| 11465 | 11464 | ||
| 11466 | @example | 11465 | @example |
| @@ -11479,7 +11478,7 @@ directive. For example, to force a page break do the following: | |||
| 11479 | @end example | 11478 | @end example |
| 11480 | 11479 | ||
| 11481 | @strong{Hint:} To see the above example in action, edit your | 11480 | @strong{Hint:} To see the above example in action, edit your |
| 11482 | @file{styles.xml}(@pxref{x-orgodtstyles-xml,,Factory styles}) and add a | 11481 | @file{styles.xml} (@pxref{x-orgodtstyles-xml,,Factory styles}) and add a |
| 11483 | custom @samp{PageBreak} style as shown below. | 11482 | custom @samp{PageBreak} style as shown below. |
| 11484 | 11483 | ||
| 11485 | @example | 11484 | @example |