/[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.39.2.8 by miles, Sat Sep 4 09:14:27 2004 UTC revision 1.39.2.9 by miles, Thu Oct 14 08:50:01 2004 UTC
# Line 1  Line 1 
1  @c This is part of the Emacs manual.  @c This is part of the Emacs manual.
2  @c Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 2000, 2001  @c Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 2000, 2001, 2004
3  @c   Free Software Foundation, Inc.  @c   Free Software Foundation, Inc.
4  @c See file emacs.texi for copying conditions.  @c See file emacs.texi for copying conditions.
5  @node Search, Fixit, Display, Top  @node Search, Fixit, Display, Top
# Line 193  repeat the search will then search for a Line 193  repeat the search will then search for a
193  character or word.  character or word.
194    
195    @kbd{C-y} is similar to @kbd{C-w} but copies all the rest of the    @kbd{C-y} is similar to @kbd{C-w} but copies all the rest of the
196  current line into the search string.  Both @kbd{C-y} and @kbd{C-w}  current line into the search string.  If point is already at the end
197  convert the text they copy to lower case if the search is currently  of a line, it grabs the entire next line.  Both @kbd{C-y} and
198  not case-sensitive; this is so the search remains case-insensitive.  @kbd{C-w} convert the text they copy to lower case if the search is
199    currently not case-sensitive; this is so the search remains
200    case-insensitive.
201    
202    @kbd{C-M-w} and @kbd{C-M-y} modify the search string by only one    @kbd{C-M-w} and @kbd{C-M-y} modify the search string by only one
203  character at a time: @kbd{C-M-w} deletes the last character from the  character at a time: @kbd{C-M-w} deletes the last character from the
# Line 777  matches any character that does @emph{no Line 779  matches any character that does @emph{no
779    The constructs that pertain to words and syntax are controlled by the    The constructs that pertain to words and syntax are controlled by the
780  setting of the syntax table (@pxref{Syntax}).  setting of the syntax table (@pxref{Syntax}).
781    
782    Here is a complicated regexp, stored in @code{sentence-end} and used    Here is a complicated regexp.  It is a simplified version of the
783  by Emacs to recognize the end of a sentence together with any  regexp that Emacs uses, by default, to recognize the end of a sentence
784  whitespace that follows.  We show its Lisp syntax to distinguish the  together with any whitespace that follows.  We show its Lisp syntax to
785  spaces from the tab characters.  In Lisp syntax, the string constant  distinguish the spaces from the tab characters.  In Lisp syntax, the
786  begins and ends with a double-quote.  @samp{\"} stands for a  string constant begins and ends with a double-quote.  @samp{\"} stands
787  double-quote as part of the regexp, @samp{\\} for a backslash as part  for a double-quote as part of the regexp, @samp{\\} for a backslash as
788  of the regexp, @samp{\t} for a tab, and @samp{\n} for a newline.  part of the regexp, @samp{\t} for a tab, and @samp{\n} for a newline.
789    
790  @example  @example
791  "[.?!][]\"')]*\\($\\| $\\|\t\\|  \\)[ \t\n]*"  "[.?!][]\"')]*\\($\\| $\\|\t\\|  \\)[ \t\n]*"

Legend:
Removed from v.1.39.2.8  
changed lines
  Added in v.1.39.2.9

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