/[emacs]/emacs/man/search.texi
ViewVC logotype

Diff of /emacs/man/search.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.33.2.9 by miles, Sat Sep 4 09:18:39 2004 UTC revision 1.33.2.10 by miles, Sat Sep 4 09:26:23 2004 UTC
# Line 434  Search}. Line 434  Search}.
434    This manual describes regular expression features that users    This manual describes regular expression features that users
435  typically want to use.  There are additional features that are  typically want to use.  There are additional features that are
436  mainly used in Lisp programs; see @ref{Regular Expressions,,,  mainly used in Lisp programs; see @ref{Regular Expressions,,,
437  elisp, the same manual}.  elisp, The Emacs Lisp Reference Manual}.
438    
439    Regular expressions have a syntax in which a few characters are    Regular expressions have a syntax in which a few characters are
440  special constructs and the rest are @dfn{ordinary}.  An ordinary  special constructs and the rest are @dfn{ordinary}.  An ordinary
# Line 921  The buffer contents. Line 921  The buffer contents.
921  @item  @item
922  The selected window and selected frame.  The selected window and selected frame.
923  @item  @item
924  The current match-data @xref{Match Data,,,elisp}.  The current match-data.  @xref{Match Data,,, elisp, The Emacs Lisp
925    Reference Manual}.
926  @end enumerate  @end enumerate
927    
928  Additionally, the command must not delete the current window and must  Additionally, the command must not delete the current window and must
# Line 930  window's size, or create or delete other Line 931  window's size, or create or delete other
931    
932  Note that an attempt by a command to scroll the text  Note that an attempt by a command to scroll the text
933  @emph{horizontally} won't work, although it will do no harm---any such  @emph{horizontally} won't work, although it will do no harm---any such
934  scrolling will be overriden and nullified by the display code.  scrolling will be overridden and nullified by the display code.
935    
936  @node Replace, Other Repeating Search, Configuring Scrolling, Search  @node Replace, Other Repeating Search, Configuring Scrolling, Search
937  @section Replacement Commands  @section Replacement Commands
# Line 1063  M-x replace-regexp @key{RET} \(x\)\|y @k Line 1064  M-x replace-regexp @key{RET} \(x\)\|y @k
1064  @end example  @end example
1065    
1066    For computing replacement strings for @samp{\,}, the @code{format}    For computing replacement strings for @samp{\,}, the @code{format}
1067  function is often useful (@pxref{Formatting Strings,,,elisp, GNU Emacs  function is often useful (@pxref{Formatting Strings,,, elisp, The Emacs
1068  Lisp Reference Manual}).  For example, to add consecutively numbered  Lisp Reference Manual}).  For example, to add consecutively numbered
1069  strings like @samp{ABC00042} to columns 73 @w{to 80} (unless they are  strings like @samp{ABC00042} to columns 73 @w{to 80} (unless they are
1070  already occupied), you can use  already occupied), you can use
# Line 1084  M-x replace-regexp @key{RET} \footnote@{ Line 1085  M-x replace-regexp @key{RET} \footnote@{
1085  @end example  @end example
1086    
1087  @noindent  @noindent
1088  will add labels starting with @samp{\label@{fn:0@}} to occurences of  will add labels starting with @samp{\label@{fn:0@}} to occurrences of
1089  @samp{\footnote@{}, but letting you edit each replacement before  @samp{\footnote@{}, but letting you edit each replacement before
1090  performing it.  To number the labels starting at 1, use @samp{\,(1+  performing it.  To number the labels starting at 1, use @samp{\,(1+
1091  \#)} instead of @samp{\#}.  \#)} instead of @samp{\#}.

Legend:
Removed from v.1.33.2.9  
changed lines
  Added in v.1.33.2.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26