]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve indexing.
authorEli Zaretskii <eliz@gnu.org>
Sat, 31 Mar 2007 17:28:11 +0000 (17:28 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 31 Mar 2007 17:28:11 +0000 (17:28 +0000)
21 files changed:
lispref/ChangeLog
lispref/advice.texi
lispref/commands.texi
lispref/debugging.texi
lispref/display.texi
lispref/files.texi
lispref/frames.texi
lispref/functions.texi
lispref/help.texi
lispref/internals.texi
lispref/intro.texi
lispref/markers.texi
lispref/minibuf.texi
lispref/modes.texi
lispref/os.texi
lispref/positions.texi
lispref/symbols.texi
lispref/text.texi
lispref/tips.texi
lispref/variables.texi
lispref/windows.texi

index 74a7591a485039f5a0bea9ba961d85d102eab59b..61595bb651fb3658885c221fa84e8c29acae815a 100644 (file)
@@ -1,5 +1,30 @@
 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
 
+       * intro.texi (nil and t): 
+       * symbols.texi (Plists and Alists): 
+       * variables.texi (Variable Aliases, Constant Variables): 
+       * functions.texi (Defining Functions): 
+       * advice.texi (Advising Primitives): 
+       * debugging.texi (Syntax Errors, Compilation Errors): 
+       * minibuf.texi (Minibuffer Windows): 
+       * commands.texi (Adjusting Point): 
+       * modes.texi (Syntactic Font Lock, Faces for Font Lock)
+       (Auto Major Mode, Major Mode Conventions): 
+       * help.texi (Describing Characters): 
+       * files.texi (Create/Delete Dirs, Information about Files)
+       (File Locks, Writing to Files, Reading from Files)
+       (Saving Buffers): 
+       * windows.texi (Resizing Windows, Cyclic Window Ordering): 
+       * frames.texi (Finding All Frames): 
+       * positions.texi (Buffer End, Motion): 
+       * markers.texi (The Region): 
+       * text.texi (Deletion, Near Point): 
+       * display.texi (Displaying Messages, Truncation): 
+       * os.texi (Processor Run Time): 
+       * tips.texi (Key Binding Conventions, Programming Tips)
+       (Warning Tips, Documentation Tips, Comment Tips): 
+       * internals.texi (Memory Usage): Improve indexing.
+
        * variables.texi (Frame-Local Variables): 
        * functions.texi (Argument List): 
        * loading.texi (Library Search): 
index 003e12ad8331f7339d1e6730df41d673f8984c55..ec8d666a422fecdaeedd60ead04ac910d2ad3625 100644 (file)
@@ -673,6 +673,7 @@ Instead they are implemented specially by the advice mechanism.
 
 @node Advising Primitives
 @section Advising Primitives
+@cindex advising primitives
 
   Advising a primitive function (also called a ``subr'') is risky.
 Some primitive functions are used by the advice mechanism; advising
index 89bb570c5ca8a1c22346ca93789df80db2cd0a25..e6a995cca4243b6df4970c3490f88dc1975d7282 100644 (file)
@@ -865,6 +865,10 @@ If the last event came from a keyboard macro, the value is @code{macro}.
 
 @node Adjusting Point
 @section Adjusting Point After Commands
+@cindex adjust point
+@cindex invisible or intangible text, and point display
+@cindex @code{display} property, and point display
+@cindex @code{composition} property, and point display
 
   It is not easy to display a value of point in the middle of a
 sequence of text that has the @code{display}, @code{composition} or
index cce112a0aa0cafad5d9daac9fd650147731937d6..766fa64c0015b7be459b5f4fd013d7fa1eb7192d 100644 (file)
@@ -675,6 +675,7 @@ If @var{frame-number} is out of range, @code{backtrace-frame} returns
 
 @node Syntax Errors
 @section Debugging Invalid Lisp Syntax
+@cindex debugging invalid Lisp syntax
 
   The Lisp reader reports invalid syntax, but cannot say where the real
 problem is.  For example, the error ``End of file during parsing'' in
@@ -690,6 +691,8 @@ technique is to try @kbd{C-M-e} at the beginning of each defun, and see
 if it goes to the place where that defun appears to end.  If it does
 not, there is a problem in that defun.
 
+@cindex unbalanced parentheses
+@cindex parentheses mismatch
   However, unmatched parentheses are the most common syntax errors in
 Lisp, and we can give further advice for those cases.  (In addition,
 just moving point through the code with Show Paren mode enabled might
@@ -798,6 +801,7 @@ never return.  If it ever does return, you get a run-time error.
 
 @node Compilation Errors
 @section Debugging Problems in Compilation
+@cindex debugging byte compilation problems
 
   When an error happens during byte compilation, it is normally due to
 invalid syntax in the program you are compiling.  The compiler prints a
index 0f4eae0a6d23213f0d0550ad8ad44e295efd891e..893ef922c5a0a02b62033dafd336459812d5bba5 100644 (file)
@@ -126,6 +126,7 @@ Returns @code{t} if redisplay was performed, or @code{nil} otherwise.
 @node Truncation
 @section Truncation
 @cindex line wrapping
+@cindex line truncation
 @cindex continuation lines
 @cindex @samp{$} in display
 @cindex @samp{\} in display
@@ -216,6 +217,7 @@ explicitly.
 
 @node Displaying Messages
 @subsection Displaying Messages in the Echo Area
+@cindex display message in echo area
 
   This section describes the functions for explicitly producing echo
 area messages.  Many other Emacs features display messages there, too.
index f13888197c70755106889b71f8f6ae3faf43e52b..f4cb3be8a508b9b4367dc455de7851c8d94e2db7 100644 (file)
@@ -296,6 +296,7 @@ in the list @code{find-file-hook}.
 
 @node Saving Buffers
 @section Saving Buffers
+@cindex saving buffers
 
   When you edit a file in Emacs, you are actually working on a buffer
 that is visiting that file---that is, the contents of the file are
@@ -481,6 +482,7 @@ Name}).
 @node Reading from Files
 @comment  node-name,  next,  previous,  up
 @section Reading from Files
+@cindex reading from files
 
   You can copy a file from the disk and insert it into a buffer
 using the @code{insert-file-contents} function.  Don't use the user-level
@@ -544,6 +546,7 @@ program can read the file, use the function @code{file-local-copy}; see
 @node Writing to Files
 @comment  node-name,  next,  previous,  up
 @section Writing to Files
+@cindex writing to files
 
   You can write the contents of a buffer, or part of a buffer, directly
 to a file on disk using the @code{append-to-file} and
@@ -647,6 +650,7 @@ with-temp-buffer,, The Current Buffer}.
 @node File Locks
 @section File Locks
 @cindex file locks
+@cindex lock file
 
   When two users edit the same file at the same time, they are likely
 to interfere with each other.  Emacs tries to prevent this situation
@@ -736,6 +740,8 @@ for its usual definition is in @file{userlock.el}.
 
 @node Information about Files
 @section Information about Files
+@cindex information about files
+@cindex file, information about
 
   The functions described in this section all operate on strings that
 designate file names.  With a few exceptions, all the functions have
@@ -2459,6 +2465,7 @@ which generate the listing with Lisp code.
 
 @node Create/Delete Dirs
 @section Creating and Deleting Directories
+@cindex creating and deleting directories
 @c Emacs 19 features
 
   Most Emacs Lisp file-manipulation functions get errors when used on
index e48eafcf87b494dfbf0b9dceb9167f4317d17287..5699c8f410c63bd05dfb8918c6a280cb71f06c5c 100644 (file)
@@ -959,6 +959,7 @@ calls the function @code{delete-frame}.  @xref{Misc Events}.
 
 @node Finding All Frames
 @section Finding All Frames
+@cindex finding all frames
 
 @defun frame-list
 The function @code{frame-list} returns a list of all the frames that
index d873ea5d3598bee5656516df8a79f300ab7d90a6..045aa454c9c55d1580e70df7e94459abb4b2e256 100644 (file)
@@ -584,6 +584,7 @@ defined is often done deliberately, and there is no way to distinguish
 deliberate redefinition from unintentional redefinition.
 @end defspec
 
+@cindex function aliases
 @defun defalias name definition &optional docstring
 @anchor{Definition of defalias}
 This special form defines the symbol @var{name} as a function, with
index 0939d384a4ec2faae203ea5ff88e3f7fccb045b6..56fbb34440ea1f1d26b5f751d45e15299addc3af 100644 (file)
@@ -388,6 +388,7 @@ C-g             abort-recursive-edit
 
 @node Describing Characters
 @section Describing Characters for Help Messages
+@cindex describe characters and events
 
   These functions convert events, key sequences, or characters to
 textual descriptions.  These descriptions are useful for including
index 59aa19db12ac7af458d815e0b1304f5ea2989d25..0af945c034fd31f051bfb3a687b5f37d3797079c 100644 (file)
@@ -441,6 +441,7 @@ point number.
 
 @node Memory Usage
 @section Memory Usage
+@cindex memory usage
 
   These functions and variables give information about the total amount
 of memory allocation that Emacs has done, broken down by data type.
index 7beb324a428a8c76d634720f29b5d0d07de19841..35566603b7cb12aa922720676b6b7ed49e68a936 100644 (file)
@@ -170,11 +170,11 @@ being described, are formatted like this: @var{first-number}.
 
 @node nil and t
 @subsection @code{nil} and @code{t}
-@cindex @code{nil}, uses of
 @cindex truth value
 @cindex boolean
-@cindex false
 
+@cindex @code{nil}
+@cindex false
   In Lisp, the symbol @code{nil} has three separate meanings: it
 is a symbol with the name @samp{nil}; it is the logical truth value
 @var{false}; and it is the empty list---the list of zero elements.
@@ -197,7 +197,7 @@ in Lisp programs also.
 (setq foo-flag nil)           ; @r{Emphasize the truth value @var{false}}
 @end example
 
-@cindex @code{t}, uses of
+@cindex @code{t}
 @cindex true
   In contexts where a truth value is expected, any non-@code{nil} value
 is considered to be @var{true}.  However, @code{t} is the preferred way
index b955538fe031c8d86d62fd1bdb7f5254b1bb3405..1cf3501d460388a444da8f0e90746f17c8552938 100644 (file)
@@ -629,7 +629,7 @@ more marks than this are pushed onto the @code{mark-ring},
 
 @node The Region
 @section The Region
-@cindex region, the
+@cindex region between mark and point
 
   The text between point and the mark is known as @dfn{the region}.
 Various functions operate on text delimited by point and the mark, but
index 950bd446ccd3ccb22b6af60e059f15ef70d74d98..efe2d7575c735e7c811a22a98e3a4cc1a0ff6d68 100644 (file)
@@ -1786,6 +1786,7 @@ regular expression).
 
 @node Minibuffer Windows
 @section Minibuffer Windows
+@cindex minibuffer windows
 
   These functions access and select minibuffer windows
 and test whether they are active.
index 6eba02d5a0b21d9f8f096c4cddfe8caa80eb088c..98a2882995e2ac918080d9a72ca821170d4b8e86 100644 (file)
@@ -252,6 +252,8 @@ Fundamental mode.  Rmail mode is a complicated and specialized mode.
 
 @node Major Mode Conventions
 @subsection Major Mode Conventions
+@cindex major mode conventions
+@cindex conventions for writing major modes
 
   The code for existing major modes follows various coding conventions,
 including conventions for local keymap and syntax table initialization,
@@ -495,6 +497,7 @@ Even if you never load the file more than once, someone else will.
 
 @node Auto Major Mode
 @subsection How Emacs Chooses a Major Mode
+@cindex major mode, automatic selection
 
   Based on information in the file name or in the file itself, Emacs
 automatically selects a major mode for the new buffer when a file is
@@ -2855,6 +2858,8 @@ set the variable @code{font-lock-defaults}.
 
 @node Faces for Font Lock
 @subsection Faces for Font Lock
+@cindex faces for font lock
+@cindex font lock faces
 
   You can make Font Lock mode use any face, but several faces are
 defined specifically for Font Lock mode.  Each of these symbols is both
@@ -2927,6 +2932,7 @@ directives in C.
 
 @node Syntactic Font Lock
 @subsection Syntactic Font Lock
+@cindex syntactic font lock
 
 Syntactic fontification uses the syntax table to find comments and
 string constants (@pxref{Syntax Tables}).  It highlights them using
index c1e16c70d67836ae26718df92410cc9accb8d033..479920ac830f97dbdcef01634936a3f710a74ae6 100644 (file)
@@ -1310,6 +1310,7 @@ the inverse conversion, use @code{float-time}.
 
 @node Processor Run Time
 @section Processor Run time
+@cindex processor run time
 
 @defun get-internal-run-time
 This function returns the processor run time used by Emacs as a list
index 25ffbd2e1d6f9754b2501f31b6570f51ad7886d2..618886a40f70fec9ef19c40892b36c99ad911f07 100644 (file)
@@ -123,6 +123,7 @@ size of @var{buffer}.
 
 @node Motion
 @section Motion
+@cindex motion by characters, words, lines, lists
 
   Motion functions change the value of point, either relative to the
 current value of point, relative to the beginning or end of the buffer,
@@ -235,6 +236,7 @@ If this variable is non-@code{nil}, certain motion functions including
 
 @node Buffer End Motion
 @subsection Motion to an End of the Buffer
+@cindex move to beginning or end of buffer
 
   To move point to the beginning of the buffer, write:
 
index 4cd4bd42594e81b79aafb5c097acde46b8a05e51..eb826b444c3573eb979367741885225e4f976950 100644 (file)
@@ -436,6 +436,8 @@ names, and the other two elements are the corresponding values.
 
 @node Plists and Alists
 @subsection Property Lists and Association Lists
+@cindex plist vs alist
+@cindex alist vs plist
 
 @cindex property lists vs association lists
   Association lists (@pxref{Association Lists}) are very similar to
index 11cf3cf21844f69ef7dfa8ce819c52f05e5fc2ed..c57fc500f45ba29ecc2f2c5e74ffe72784b1c803 100644 (file)
@@ -64,6 +64,7 @@ the character after point.
 
 @node Near Point
 @section Examining Text Near Point
+@cindex text near point
 
   Many functions are provided to look at the characters around point.
 Several simple functions are described here.  See also @code{looking-at}
@@ -537,6 +538,7 @@ newlines and tabs like any other characters).
 
 @node Deletion
 @section Deleting Text
+@cindex text deletion
 
 @cindex deletion vs killing
   Deletion means removing part of the text in a buffer, without saving
index 5f4479a5fd3ef127facfdd7073103b67851b1e99..bbfc6f515e4275cc6c7b48e3e14220b872562788 100644 (file)
@@ -295,6 +295,7 @@ Otherwise, use your name.  See also @xref{Library Headers}.
 
 @node Key Binding Conventions
 @section Key Binding Conventions
+@cindex key binding, conventions for
 
 @itemize @bullet
 @item
@@ -374,6 +375,7 @@ after @key{ESC}.  In these states, you should define @kbd{@key{ESC}
 
 @node Programming Tips
 @section Emacs Programming Tips
+@cindex programming conventions
 
   Following these conventions will make your program fit better
 into Emacs when it runs.
@@ -559,6 +561,7 @@ the speed.  @xref{Inline Functions}.
 
 @node Warning Tips
 @section Tips for Avoiding Compiler Warnings
+@cindex byte compiler warnings, how to avoid
 
 @itemize @bullet
 @item
@@ -599,6 +602,7 @@ is to put a call to @code{with-no-warnings} around it.
 
 @node Documentation Tips
 @section Tips for Documentation Strings
+@cindex documentation strings, conventions and tips
 
 @findex checkdoc-minor-mode
   Here are some tips and conventions for the writing of documentation
@@ -863,6 +867,7 @@ describe the most important commands in your major mode, and then use
 
 @node Comment Tips
 @section Tips on Writing Comments
+@cindex comments, convention for
 
   We recommend these conventions for where to put comments and how to
 indent them:
index 9a846fde3cc906d7e2ca4e0add5e9ae842801c18..33c9f1db149b834534f16aea95f63c9ae29229e2 100644 (file)
@@ -100,10 +100,11 @@ x
 
 @node Constant Variables
 @section Variables that Never Change
-@vindex nil
-@vindex t
 @kindex setting-constant
 @cindex keyword symbol
+@cindex constant variables
+@cindex symbols that evaluate to themselves
+@cindex symbols with constant values
 
   In Emacs Lisp, certain symbols normally evaluate to themselves.  These
 include @code{nil} and @code{t}, as well as any symbol whose name starts
@@ -1779,6 +1780,7 @@ properties from string values specified for file local variables.
 
 @node Variable Aliases
 @section Variable Aliases
+@cindex variable aliases
 
   It is sometimes useful to make two variables synonyms, so that both
 variables always have the same value, and changing either one also
index 1897414dd1694640265b9cd21158f6a69749d07c..9668fd08d6da5980cde8c4e2038b5a88c84fab07 100644 (file)
@@ -572,7 +572,7 @@ In general, within each set of siblings at any level in the window tree,
 the order is left to right, or top to bottom.
 
 @defun next-window &optional window minibuf all-frames
-@cindex minibuffer window
+@cindex minibuffer window, and @code{next-window}
 This function returns the window following @var{window} in the cyclic
 ordering of windows.  This is the window that @kbd{C-x o} would select
 if typed when @var{window} is selected.  If @var{window} is the only
@@ -1987,6 +1987,7 @@ in character lines and columns.
 @node Resizing Windows
 @section Changing the Size of a Window
 @cindex window resizing
+@cindex resize window
 @cindex changing window size
 @cindex window size, changing