comparison man/abbrevs.texi @ 49983:2a8850f484eb

Clarify where insert-abbrevs puts point. Clarify how C-u - M-/ searches.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 Feb 2003 09:54:36 +0000
parents a5636409941f
children 695cf19ef79e
comparison
equal deleted inserted replaced
49982:50f3e9a779fe 49983:2a8850f484eb
317 317
318 @findex insert-abbrevs 318 @findex insert-abbrevs
319 @findex define-abbrevs 319 @findex define-abbrevs
320 The commands @kbd{M-x insert-abbrevs} and @kbd{M-x define-abbrevs} are 320 The commands @kbd{M-x insert-abbrevs} and @kbd{M-x define-abbrevs} are
321 similar to the previous commands but work on text in an Emacs buffer. 321 similar to the previous commands but work on text in an Emacs buffer.
322 @kbd{M-x insert-abbrevs} inserts text into the current buffer before point, 322 @kbd{M-x insert-abbrevs} inserts text into the current buffer after point,
323 describing all current abbrev definitions; @kbd{M-x define-abbrevs} parses 323 describing all current abbrev definitions; @kbd{M-x define-abbrevs} parses
324 the entire current buffer and defines abbrevs accordingly.@refill 324 the entire current buffer and defines abbrevs accordingly.@refill
325 325
326 @node Dynamic Abbrevs 326 @node Dynamic Abbrevs
327 @section Dynamic Abbrev Expansion 327 @section Dynamic Abbrev Expansion
368 @code{dabbrev-ignored-buffer-regexps}. Its value is a list of regular 368 @code{dabbrev-ignored-buffer-regexps}. Its value is a list of regular
369 expressions. If a buffer's name matches any of these regular 369 expressions. If a buffer's name matches any of these regular
370 expressions, dynamic abbrev expansion skips that buffer. 370 expressions, dynamic abbrev expansion skips that buffer.
371 371
372 A negative argument to @kbd{M-/}, as in @kbd{C-u - M-/}, says to 372 A negative argument to @kbd{M-/}, as in @kbd{C-u - M-/}, says to
373 search first for expansions after point, and second for expansions 373 search first for expansions after point, then other buffers, and
374 before point. If you repeat the @kbd{M-/} to look for another 374 consider expansions before point only as a last resort.
375 expansion, do not specify an argument. This tries all the expansions 375
376 after point and then the expansions before point. 376 If you repeat the @kbd{M-/} to look for another expansion, do not
377 specify an argument. This tries all the expansions after point and
378 then the expansions before point.
377 379
378 After you have expanded a dynamic abbrev, you can copy additional 380 After you have expanded a dynamic abbrev, you can copy additional
379 words that follow the expansion in its original context. Simply type 381 words that follow the expansion in its original context. Simply type
380 @kbd{@key{SPC} M-/} for each word you want to copy. The spacing and 382 @kbd{@key{SPC} M-/} for each word you want to copy. The spacing and
381 punctuation between words is copied along with the words. 383 punctuation between words is copied along with the words.