comparison lispref/searching.texi @ 24934:f5e3b4ecd255

*** empty log message ***
author Karl Heuer <kwzh@gnu.org>
date Wed, 07 Jul 1999 23:14:06 +0000
parents f0cd03a7dac9
children 309fe4eb6522
comparison
equal deleted inserted replaced
24933:b43a8099ffb7 24934:f5e3b4ecd255
283 (@pxref{Character Sets}). Thus, @samp{[a-\x8e0]} is invalid because 283 (@pxref{Character Sets}). Thus, @samp{[a-\x8e0]} is invalid because
284 @samp{a} is in the @sc{ASCII} character set but the character 0x8e0 284 @samp{a} is in the @sc{ASCII} character set but the character 0x8e0
285 (@samp{a} with grave accent) is in the Emacs character set for Latin-1. 285 (@samp{a} with grave accent) is in the Emacs character set for Latin-1.
286 286
287 Note that the usual regexp special characters are not special inside a 287 Note that the usual regexp special characters are not special inside a
288 character alternative. A completely different set of characters are 288 character alternative. A completely different set of characters is
289 special inside character alternatives: @samp{]}, @samp{-} and @samp{^}. 289 special inside character alternatives: @samp{]}, @samp{-} and @samp{^}.
290 290
291 To include a @samp{]} in a character alternative, you must make it the 291 To include a @samp{]} in a character alternative, you must make it the
292 first character. For example, @samp{[]a]} matches @samp{]} or @samp{a}. 292 first character. For example, @samp{[]a]} matches @samp{]} or @samp{a}.
293 To include a @samp{-}, write @samp{-} as the first or last character of 293 To include a @samp{-}, write @samp{-} as the first or last character of
876 @var{nlines} defaults to @code{list-matching-lines-default-context-lines}. 876 @var{nlines} defaults to @code{list-matching-lines-default-context-lines}.
877 Interactively it is the prefix arg. 877 Interactively it is the prefix arg.
878 878
879 The lines are shown in a buffer named @samp{*Occur*}. 879 The lines are shown in a buffer named @samp{*Occur*}.
880 It serves as a menu to find any of the occurrences in this buffer. 880 It serves as a menu to find any of the occurrences in this buffer.
881 @kbd{C-h m} (@code{describe-mode} in that buffer gives help. 881 @kbd{C-h m} (@code{describe-mode}) in that buffer gives help.
882 @end deffn 882 @end deffn
883 883
884 @defopt list-matching-lines-default-context-lines 884 @defopt list-matching-lines-default-context-lines
885 Default value is 0. 885 Default value is 0.
886 Default number of context lines to include around a @code{list-matching-lines} 886 Default number of context lines to include around a @code{list-matching-lines}