[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/modes.texi
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/modes.texi |
Date: |
Tue, 22 Jul 2003 11:24:40 -0400 |
Index: emacs/lispref/modes.texi
diff -c emacs/lispref/modes.texi:1.57 emacs/lispref/modes.texi:1.58
*** emacs/lispref/modes.texi:1.57 Mon Jul 14 11:59:12 2003
--- emacs/lispref/modes.texi Tue Jul 22 11:24:39 2003
***************
*** 1616,1626 ****
@cindex Imenu
@dfn{Imenu} is a feature that lets users select a definition or
section in the buffer, from a menu which lists all of them, to go
! directly to that location in the buffer. Imenu works by constructing a
! buffer index which lists the names and buffer positions of the
definitions, or other named portions of the buffer; then the user can
! choose one of them and move point to it. This section explains how to
! customize how Imenu finds the definitions or buffer portions for a
particular major mode.
The usual and simplest way is to set the variable
--- 1616,1628 ----
@cindex Imenu
@dfn{Imenu} is a feature that lets users select a definition or
section in the buffer, from a menu which lists all of them, to go
! directly to that location in the buffer. Imenu works by constructing
! a buffer index which lists the names and buffer positions of the
definitions, or other named portions of the buffer; then the user can
! choose one of them and move point to it. The user-level commands for
! using Imenu are described in the Emacs Manual (@pxref{Imenu,, Imenu,
! emacs, the Emacs Manual}). This section explains how to customize
! Imenu's method of finding definitions or buffer portions for a
particular major mode.
The usual and simplest way is to set the variable
***************
*** 1708,1714 ****
For example, Fortran mode uses it this way:
@example
! (setq imenu-syntax-alist '(("_$" . "w")))
@end example
The @code{imenu-generic-expression} patterns can then use @samp{\\sw+}
--- 1710,1716 ----
For example, Fortran mode uses it this way:
@example
! (setq imenu-syntax-alist '(("_$" . "w")))
@end example
The @code{imenu-generic-expression} patterns can then use @samp{\\sw+}