Mercurial > emacs
changeset 77006:1f4b88ab053d
Improve index entries. Remove redundant/useless ones.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 07 Apr 2007 02:06:21 +0000 |
parents | 2122b5496349 |
children | 9490f7f3fe17 |
files | lispref/commands.texi lispref/customize.texi lispref/edebug.texi lispref/files.texi lispref/frames.texi lispref/lists.texi lispref/numbers.texi |
diffstat | 7 files changed, 40 insertions(+), 68 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/commands.texi Sat Apr 07 02:05:41 2007 +0000 +++ b/lispref/commands.texi Sat Apr 07 02:06:21 2007 +0000 @@ -116,13 +116,13 @@ @node Using Interactive @subsection Using @code{interactive} +@cindex arguments, interactive entry This section describes how to write the @code{interactive} form that makes a Lisp function an interactively-callable command, and how to examine a command's @code{interactive} form. @defspec interactive arg-descriptor -@cindex argument descriptors This special form declares that the function in which it appears is a command, and that it may therefore be called interactively (via @kbd{M-x} or by entering a key sequence bound to it). The argument @@ -151,7 +151,6 @@ or more arguments. @item -@cindex argument prompt It may be a string; then its contents should consist of a code character followed by a prompt (which some code characters use and some ignore). The prompt ends either with the end of the string or with a newline. @@ -207,7 +206,6 @@ command. Usually this form will call various functions to read input from the user, most often through the minibuffer (@pxref{Minibuffers}) or directly from the keyboard (@pxref{Reading Input}). -@cindex argument evaluation form Providing point or the mark as an argument value is also common, but if you do this @emph{and} read input (whether using the minibuffer or @@ -865,8 +863,8 @@ @node Adjusting Point @section Adjusting Point After Commands -@cindex adjust point -@cindex invisible or intangible text, and point display +@cindex adjusting point +@cindex invisible/intangible text, and point @cindex @code{display} property, and point display @cindex @code{composition} property, and point display @@ -1781,8 +1779,7 @@ @node Accessing Events @subsection Accessing Events -@cindex mouse events, accessing the data -@cindex accessing data of mouse events +@cindex mouse events, data in This section describes convenient functions for accessing the data in a mouse button or motion event. @@ -1897,7 +1894,6 @@ is a buffer position, return the size of the character at that position. @end defun -@cindex mouse event, timestamp @cindex timestamp of a mouse event @defun posn-timestamp position Return the timestamp in @var{position}. This is the time at which the @@ -2113,7 +2109,6 @@ for example, @code{describe-key} uses it to read the key to describe. @defun read-key-sequence prompt &optional continue-echo dont-downcase-last switch-frame-ok command-loop -@cindex key sequence This function reads a key sequence and returns it as a string or vector. It keeps reading events until it has accumulated a complete key sequence; that is, enough to specify a non-prefix command using the @@ -2546,7 +2541,6 @@ as the events will already have been added once as they were read for the first time. An element of the form @code{(@code{t} . @var{event})} forces @var{event} to be added to the current command's key sequence. - @end defvar @defun listify-key-sequence key @@ -2620,9 +2614,9 @@ @end defmac @defun discard-input -@cindex flush input -@cindex discard input -@cindex terminate keyboard macro +@cindex flushing input +@cindex discarding input +@cindex keyboard macro, terminating This function discards the contents of the terminal input buffer and cancels any keyboard macro that might be in the process of definition. It returns @code{nil}. @@ -2668,7 +2662,6 @@ @node Waiting @section Waiting for Elapsed Time or Input -@cindex pausing @cindex waiting The wait functions are designed to wait for a certain amount of time @@ -2775,7 +2768,7 @@ case of @code{read-quoted-char}, this is so that @kbd{C-q} can be used to quote a @kbd{C-g}. -@cindex prevent quitting +@cindex preventing quitting You can prevent quitting for a portion of a Lisp function by binding the variable @code{inhibit-quit} to a non-@code{nil} value. Then, although @kbd{C-g} still sets @code{quit-flag} to @code{t} as usual, the
--- a/lispref/customize.texi Sat Apr 07 02:05:41 2007 +0000 +++ b/lispref/customize.texi Sat Apr 07 02:06:21 2007 +0000 @@ -6,7 +6,6 @@ @setfilename ../info/customize @node Customization, Loading, Macros, Top @chapter Writing Customization Definitions -@cindex customize @cindex customization definitions This chapter describes how to declare user options for customization, @@ -187,10 +186,10 @@ @end defvar @node Group Definitions -@section Defining Custom Groups -@cindex define custom group +@section Defining Customization Groups +@cindex define customization group +@cindex customization groups, defining -@cindex custom groups, how to define Each Emacs Lisp package should have one main customization group which contains all the options, faces and other groups in the package. If the package has a small number of options and faces, use just one group and @@ -262,10 +261,9 @@ @node Variable Definitions @section Defining Customization Variables @cindex define customization options +@cindex customization variables, how to define -@cindex customization variables, how to define -@cindex declare user-editable variables - Use @code{defcustom} to declare user-editable variables. + Use @code{defcustom} to declare user-customizable variables. @defmac defcustom option standard doc [keyword value]@dots{} This construct declares @var{option} as a customizable user option @@ -704,7 +702,7 @@ @node Composite Types @subsection Composite Types -@cindex arguments (of composite type) +@cindex Composite Types (customization) When none of the simple types is appropriate, you can use composite types, which build new types from other types or from specified data.
--- a/lispref/edebug.texi Sat Apr 07 02:05:41 2007 +0000 +++ b/lispref/edebug.texi Sat Apr 07 02:06:21 2007 +0000 @@ -12,9 +12,8 @@ @node Edebug, Syntax Errors, Debugger, Debugging @section Edebug -@cindex Edebug mode +@cindex Edebug debugging facility -@cindex Edebug Edebug is a source-level debugger for Emacs Lisp programs with which you can: @@ -195,12 +194,6 @@ (@pxref{Jumping}), which steps into the call after instrumenting the function. -@cindex special forms (Edebug) -@cindex interactive commands (Edebug) -@cindex anonymous lambda expressions (Edebug) -@cindex Common Lisp (Edebug) -@pindex cl.el @r{(Edebug)} -@pindex cl-specs.el Edebug knows how to instrument all the standard special forms, @code{interactive} forms with an expression argument, anonymous lambda expressions, and other defining forms. However, Edebug cannot determine @@ -441,9 +434,9 @@ @end menu @node Breakpoints -@subsubsection Breakpoints +@subsubsection Edebug Breakpoints -@cindex breakpoints +@cindex breakpoints (Edebug) While using Edebug, you can specify @dfn{breakpoints} in the program you are testing: these are places where execution should stop. You can set a breakpoint at any stop point, as defined in @ref{Using Edebug}. For @@ -867,10 +860,10 @@ @node Coverage Testing @subsection Coverage Testing -@cindex coverage testing +@cindex coverage testing (Edebug) @cindex frequency counts @cindex performance analysis -Edebug provides rudimentary coverage testing and display of execution + Edebug provides rudimentary coverage testing and display of execution frequency. Coverage testing works by comparing the result of each expression with
--- a/lispref/files.texi Sat Apr 07 02:05:41 2007 +0000 +++ b/lispref/files.texi Sat Apr 07 02:06:21 2007 +0000 @@ -740,7 +740,6 @@ @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 @@ -1178,6 +1177,7 @@ @item The time of last modification as a list of two integers (as above). +@cindex modification time of file @item The time of last status change as a list of two integers (as above). @@ -1268,13 +1268,13 @@ @node Locating Files @subsection How to Locate Files in Standard Places -@cindex locate files -@cindex find files +@cindex locate file in path +@cindex find file in path This section explains how to search for a file in a list of -directories. One example is when you need to look for a program's -executable file, e.g., to find out whether a given program is -installed on the user's system. Another example is the search for +directories (a @dfn{path}). One example is when you need to look for +a program's executable file, e.g., to find out whether a given program +is installed on the user's system. Another example is the search for Lisp libraries (@pxref{Library Search}). Such searches generally need to try various possible file name extensions, in addition to various possible directories. Emacs provides a function for such a @@ -1317,7 +1317,6 @@ a list of one or more of these symbols. @end defun -@cindex find executable program @defun executable-find program This function searches for the executable file of the named @var{program} and returns the full absolute name of the executable, @@ -1329,7 +1328,7 @@ @node Changing Files @section Changing File Names and Attributes -@cindex renaming files +@c @cindex renaming files Duplicates rename-file @cindex copying files @cindex deleting files @cindex linking files
--- a/lispref/frames.texi Sat Apr 07 02:05:41 2007 +0000 +++ b/lispref/frames.texi Sat Apr 07 02:06:21 2007 +0000 @@ -927,7 +927,7 @@ @node Deleting Frames @section Deleting Frames -@cindex deletion of frames +@cindex deleting frames Frames remain potentially visible until you explicitly @dfn{delete} them. A deleted frame cannot appear on the screen, but continues to @@ -959,7 +959,7 @@ @node Finding All Frames @section Finding All Frames -@cindex finding all frames +@cindex frames, scanning all @defun frame-list The function @code{frame-list} returns a list of all the frames that @@ -1081,7 +1081,7 @@ @node Input Focus @section Input Focus @cindex input focus -@cindex selected frame +@c @cindex selected frame Duplicates selected-frame At any time, one frame in Emacs is the @dfn{selected frame}. The selected window always resides on the selected frame. @@ -1264,7 +1264,7 @@ the one underneath. Even a window at the bottom of the stack can be seen if no other window overlaps it. -@cindex raising a frame +@c @cindex raising a frame redundant with raise-frame @cindex lowering a frame A window's place in this ordering is not fixed; in fact, users tend to change the order frequently. @dfn{Raising} a window means moving @@ -1319,14 +1319,14 @@ @node Mouse Tracking @section Mouse Tracking @cindex mouse tracking -@cindex tracking the mouse +@c @cindex tracking the mouse Duplicates track-mouse -Sometimes it is useful to @dfn{track} the mouse, which means to display + Sometimes it is useful to @dfn{track} the mouse, which means to display something to indicate where the mouse is and move the indicator as the mouse moves. For efficient mouse tracking, you need a way to wait until the mouse actually moves. -The convenient way to track the mouse is to ask for events to represent + The convenient way to track the mouse is to ask for events to represent mouse motion. Then you can wait for motion by waiting for an event. In addition, you can easily handle any other sorts of events that may occur. That is useful, because normally you don't want to track the @@ -2019,8 +2019,6 @@ @end defun @defun display-graphic-p &optional display -@cindex frames, more than one on display -@cindex fonts, more than one on display This function returns @code{t} if @var{display} is a graphic display capable of displaying several frames and several different fonts at once. This is true for displays that use a window system such as X, and
--- a/lispref/lists.texi Sat Apr 07 02:05:41 2007 +0000 +++ b/lispref/lists.texi Sat Apr 07 02:06:21 2007 +0000 @@ -6,7 +6,7 @@ @setfilename ../info/lists @node Lists, Sequences Arrays Vectors, Strings and Characters, Top @chapter Lists -@cindex list +@cindex lists @cindex element (of list) A @dfn{list} represents a sequence of zero or more elements (which may @@ -30,7 +30,6 @@ @node Cons Cells @section Lists and Cons Cells @cindex lists and cons cells -@cindex @code{nil} and lists Lists in Lisp are not a primitive data type; they are built up from @dfn{cons cells}. A cons cell is a data object that represents an @@ -104,7 +103,6 @@ @end defun @defun atom object -@cindex atoms This function returns @code{t} if @var{object} is an atom, @code{nil} otherwise. All objects except cons cells are atoms. The symbol @code{nil} is an atom and is also a list; it is the only Lisp object @@ -1305,7 +1303,7 @@ @end defun @defun delq object list -@cindex deletion of elements +@cindex deleting list elements This function destructively removes all elements @code{eq} to @var{object} from @var{list}. The letter @samp{q} in @code{delq} says that it uses @code{eq} to compare @var{object} against the elements of
--- a/lispref/numbers.texi Sat Apr 07 02:05:41 2007 +0000 +++ b/lispref/numbers.texi Sat Apr 07 02:06:21 2007 +0000 @@ -268,9 +268,8 @@ @node Comparison of Numbers @section Comparison of Numbers -@cindex number equality @cindex number comparison -@cindex compare numbers +@cindex comparing numbers To test numbers for numerical equality, you should normally use @code{=}, not @code{eq}. There can be many distinct floating point @@ -391,8 +390,8 @@ @node Numeric Conversions @section Numeric Conversions @cindex rounding in conversions -@cindex numeric conversions -@cindex convert number +@cindex number conversions +@cindex converting numbers To convert an integer to floating point, use the function @code{float}. @@ -738,6 +737,8 @@ @node Bitwise Operations @section Bitwise Operations on Integers +@cindex bitwise arithmetic +@cindex logical arithmetic In a computer, an integer is represented as a binary number, a sequence of @dfn{bits} (digits which are either zero or one). A bitwise @@ -919,8 +920,6 @@ @end defun @defun logand &rest ints-or-markers -@cindex logical and -@cindex bitwise and This function returns the ``logical and'' of the arguments: the @var{n}th bit is set in the result if, and only if, the @var{n}th bit is set in all the arguments. (``Set'' means that the value of the bit is 1 @@ -972,8 +971,6 @@ @end defun @defun logior &rest ints-or-markers -@cindex logical inclusive or -@cindex bitwise or This function returns the ``inclusive or'' of its arguments: the @var{n}th bit is set in the result if, and only if, the @var{n}th bit is set in at least one of the arguments. If there are no arguments, the result is zero, @@ -999,8 +996,6 @@ @end defun @defun logxor &rest ints-or-markers -@cindex bitwise exclusive or -@cindex logical exclusive or This function returns the ``exclusive or'' of its arguments: the @var{n}th bit is set in the result if, and only if, the @var{n}th bit is set in an odd number of the arguments. If there are no arguments, the @@ -1026,8 +1021,6 @@ @end defun @defun lognot integer -@cindex logical not -@cindex bitwise not This function returns the logical complement of its argument: the @var{n}th bit is one in the result if, and only if, the @var{n}th bit is zero in @var{integer}, and vice-versa.