diff options
| author | Glenn Morris <rgm@gnu.org> | 2018-05-23 01:37:54 -0700 |
|---|---|---|
| committer | Glenn Morris <rgm@gnu.org> | 2018-05-23 01:37:54 -0700 |
| commit | cc130d13d4b2b4c20d22401364f9814871819791 (patch) | |
| tree | 211002c7747c0c66ffef5eeef1842d8f87addcc4 /doc/lispintro/emacs-lisp-intro.texi | |
| parent | e5ff7f788e8d6e58000a3f8b2a005cb5f5124dd8 (diff) | |
| parent | e3f00f5637a2790923a9c4c1d4b7dbf65027d8ce (diff) | |
| download | emacs-cc130d13d4b2b4c20d22401364f9814871819791.tar.gz | |
Merge from origin/emacs-26
e3f00f5 (origin/emacs-26) Clarify when to use advice-add vs add-function
c0f3e6b Minor formatting tweak in the Emacs manual
fadf653 Update comments in Intro to Emacs Lisp
52ccb24 ; * doc/os.texi (Batch Mode): use = after --eval
d65430f * etc/NEWS: Mention change in `edebug-prin1-to-string'.
ef4aec1 ; * doc/lispref/hash.texi (Defining Hash): Fix typos.
2981952 Another attempt to fix sql.el
b1b96d7 Update binding of 'M-.' in Intro to Emacs Lisp
b239a09 Fix a typo in last change in sql.el
0d8bae5 Fix capitalization of mail headers
845fe03 Fix buffer names in sql.el
a3885f5 Minor fixes in the Emacs manual
542f830 Fix a typo in rmail.texi
eb0bc6f * etc/PROBLEMS: Document Bug#31305.
Conflicts:
doc/emacs/sending.texi
etc/NEWS
Diffstat (limited to 'doc/lispintro/emacs-lisp-intro.texi')
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 50 |
1 files changed, 29 insertions, 21 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index bca8e1fff0a..81f26728e0a 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi @@ -245,6 +245,10 @@ This master menu first lists each chapter and index; then it lists every node in every chapter. @end ifnottex +@c Uncomment the 3 lines below, starting with @iftex, if you want the +@c pages of Preface to be numbered in roman numerals. Use -9 instead +@c of -11 for smallbook format. + @c >>>> Set pageno appropriately <<<< @c The first page of the Preface is a roman numeral; it is the first @@ -822,10 +826,10 @@ programming language, the examples and guided tours will give you an opportunity to get acquainted with Emacs as a Lisp programming environment. GNU Emacs supports programming and provides tools that you will want to become comfortable using, such as @kbd{M-.} (the key -which invokes the @code{find-tag} command). You will also learn about -buffers and other objects that are part of the environment. -Learning about these features of Emacs is like learning new routes -around your home town. +which invokes the @code{xref-find-definitions} command). You will +also learn about buffers and other objects that are part of the +environment. Learning about these features of Emacs is like learning +new routes around your home town. @ignore In addition, I have written several programs as extended examples. @@ -1012,6 +1016,8 @@ bob@@gnu.org @c makes a link to something in the first 4 pages though?). @c E.g., note that the Emacs manual has a preface, but does not bother @c resetting the page numbers back to 1 after that. +@c Alternatively, uncomment the 3 lines above (search for ``pageno'') +@c to have the preface numbered in roman numerals. @iftex @headings off @evenheading @thispage @| @| @thischapter @@ -5357,7 +5363,7 @@ Here is a brief summary of the various functions discussed in this chapter. Print the documentation for a function or variable. Conventionally bound to @kbd{C-h f} and @kbd{C-h v}. -@item find-tag +@item xref-find-definitions Find the file containing the source for a function or variable and switch buffers to it, positioning point at the beginning of the item. Conventionally bound to @kbd{M-.} (that's a period following the @@ -5411,8 +5417,8 @@ Use @code{if} and @code{get-buffer} to write a function that prints a message telling you whether a buffer exists. @item -Using @code{find-tag}, find the source for the @code{copy-to-buffer} -function. +Using @code{xref-find-definitions}, find the source for the +@code{copy-to-buffer} function. @end itemize @node More Complex @@ -14754,10 +14760,11 @@ creating one if none already exists." @noindent (The most recent version of the @code{find-file} function definition -permits you to specify optional wildcards to visit multiple files; that -makes the definition more complex and we will not discuss it here, -since it is not relevant. You can see its source using either -@kbd{M-.} (@code{find-tag}) or @kbd{C-h f} (@code{describe-function}).) +permits you to specify optional wildcards to visit multiple files; +that makes the definition more complex and we will not discuss it +here, since it is not relevant. You can see its source using either +@kbd{M-.} (@code{xref-find-definitions}) or @kbd{C-h f} +(@code{describe-function}).) @ignore In Emacs 22 @@ -18544,8 +18551,8 @@ introduction, it comes as a Texinfo source file, so you can read it on your computer and as a typeset, printed book.) Go to the other built-in help that is part of GNU Emacs: the built-in -documentation for all functions and variables, and @code{find-tag}, -the program that takes you to sources. +documentation for all functions and variables, and +@code{xref-find-definitions}, the program that takes you to sources. Here is an example of how I explore the sources. Because of its name, @file{simple.el} is the file I looked at first, a long time ago. As @@ -18581,7 +18588,7 @@ contains the name of the library containing the function's source. You can put point over the name of the library and press the @key{RET} key, which in this situation is bound to @code{help-follow}, and be taken directly to the source, in the same way as @kbd{M-.} -(@code{find-tag}). +(@code{xref-find-definitions}). The definition for @code{describe-function} illustrates how to customize the @code{interactive} expression without using the standard @@ -18589,13 +18596,14 @@ character codes; and it shows how to create a temporary buffer. (The @code{indent-to} function is written in C rather than Emacs Lisp; it is a built-in function. @code{help-follow} takes you to its -source as does @code{find-tag}, when properly set up.) - -You can look at a function's source using @code{find-tag}, which is -bound to @kbd{M-.} Finally, you can find out what the Reference -Manual has to say by visiting the manual in Info, and typing @kbd{i} -(@code{Info-index}) and the name of the function, or by looking up the -function in the index to a printed copy of the manual. +source as does @code{xref-find-definitions}, when properly set up.) + +You can look at a function's source using +@code{xref-find-definitions}, which is bound to @kbd{M-.} Finally, +you can find out what the Reference Manual has to say by visiting the +manual in Info, and typing @kbd{i} (@code{Info-index}) and the name of +the function, or by looking up the function in the index to a printed +copy of the manual. Similarly, you can find out what is meant by @code{insert-and-inherit}. |
