diff options
| author | Eli Zaretskii | 2016-01-19 19:31:05 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-01-19 19:31:05 +0200 |
| commit | 156270697deb9895f381faf0de1a23cfb9b217d7 (patch) | |
| tree | 8f0637f468c3a0b972ba97049eedec9b30bd38c8 | |
| parent | 32cb203c086163e40ecc040e61e5d304e101b602 (diff) | |
| download | emacs-156270697deb9895f381faf0de1a23cfb9b217d7.tar.gz emacs-156270697deb9895f381faf0de1a23cfb9b217d7.zip | |
Minor copyedits of doc/emacs/maintaining.texi
* doc/emacs/maintaining.texi (List Identifiers): More accurate
description of "C-M-i" wrt tags tables.
(Tags Tables): Move the definition of "tag" to a footnote.
| -rw-r--r-- | doc/emacs/maintaining.texi | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 989d8ff7485..90af5c8b17d 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -1990,8 +1990,8 @@ Searching}. | |||
| 1990 | @table @kbd | 1990 | @table @kbd |
| 1991 | @item C-M-i | 1991 | @item C-M-i |
| 1992 | @itemx M-@key{TAB} | 1992 | @itemx M-@key{TAB} |
| 1993 | Perform completion on the text around point, using the selected tags | 1993 | Perform completion on the text around point, possibly using the |
| 1994 | table if one is loaded (@code{completion-at-point}). | 1994 | selected tags table if one is loaded (@code{completion-at-point}). |
| 1995 | @item M-x xref-find-apropos @key{RET} @var{regexp} @key{RET} | 1995 | @item M-x xref-find-apropos @key{RET} @var{regexp} @key{RET} |
| 1996 | Display a list of all known identifiers matching @var{regexp}. | 1996 | Display a list of all known identifiers matching @var{regexp}. |
| 1997 | @item M-x list-tags @key{RET} @var{file} @key{RET} | 1997 | @item M-x list-tags @key{RET} @var{file} @key{RET} |
| @@ -2004,9 +2004,10 @@ Visit files recorded in the selected tags table. | |||
| 2004 | @cindex completion (symbol names) | 2004 | @cindex completion (symbol names) |
| 2005 | In most programming language modes, you can type @kbd{C-M-i} or | 2005 | In most programming language modes, you can type @kbd{C-M-i} or |
| 2006 | @kbd{M-@key{TAB}} (@code{completion-at-point}) to complete the symbol | 2006 | @kbd{M-@key{TAB}} (@code{completion-at-point}) to complete the symbol |
| 2007 | at point. If there is a tags table loaded, this command can use it to | 2007 | at point. Some modes provide specialized completion for this command |
| 2008 | generate completion candidates more intelligently. @xref{Symbol | 2008 | tailored to the mode; for those that don't, if there is a tags table |
| 2009 | Completion}. | 2009 | loaded, this command can use it to generate completion candidates. |
| 2010 | @xref{Symbol Completion}. | ||
| 2010 | 2011 | ||
| 2011 | @findex list-tags | 2012 | @findex list-tags |
| 2012 | @kbd{M-x list-tags} reads the name of one of the files covered by | 2013 | @kbd{M-x list-tags} reads the name of one of the files covered by |
| @@ -2047,17 +2048,17 @@ file. This command requires a tags table to be selected. | |||
| 2047 | @subsection Tags Tables | 2048 | @subsection Tags Tables |
| 2048 | @cindex tags and tag tables | 2049 | @cindex tags and tag tables |
| 2049 | 2050 | ||
| 2050 | @cindex tag | 2051 | A @dfn{tags table} records the tags@footnote{ |
| 2051 | A @dfn{tag} is a synonym for identifier reference. @xref{Xref}. | 2052 | A @dfn{tag} is a synonym for identifier reference. Commands and |
| 2052 | 2053 | features based on the @code{etags} package traditionally use ``tag'' | |
| 2053 | A @dfn{tags table} records the tags extracted by scanning the source | 2054 | with this meaning, and this subsection follows that tradition. |
| 2054 | code of a certain program or a certain document. Tags extracted from | 2055 | } extracted by scanning the source code of a certain program or a |
| 2055 | generated files reference the original files, rather than the | 2056 | certain document. Tags extracted from generated files reference the |
| 2056 | generated files that were scanned during tag extraction. Examples of | 2057 | original files, rather than the generated files that were scanned |
| 2057 | generated files include C files generated from Cweb source files, from | 2058 | during tag extraction. Examples of generated files include C files |
| 2058 | a Yacc parser, or from Lex scanner definitions; @file{.i} preprocessed | 2059 | generated from Cweb source files, from a Yacc parser, or from Lex |
| 2059 | C files; and Fortran files produced by preprocessing @file{.fpp} | 2060 | scanner definitions; @file{.i} preprocessed C files; and Fortran files |
| 2060 | source files. | 2061 | produced by preprocessing @file{.fpp} source files. |
| 2061 | 2062 | ||
| 2062 | @cindex etags | 2063 | @cindex etags |
| 2063 | To produce a tags table, you run the @command{etags} shell command | 2064 | To produce a tags table, you run the @command{etags} shell command |