Mercurial > emacs
comparison etc/refcard.tex @ 77685:02fdc61fbbc6
(section{Incremental Search}): Minor corrections.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 12 May 2007 16:57:11 +0000 |
parents | ce8275d968c3 |
children | 713172dcf518 d7172f202ab8 |
comparison
equal
deleted
inserted
replaced
77684:1d05a14c853d | 77685:02fdc61fbbc6 |
---|---|
328 \key{exit incremental search}{RET} | 328 \key{exit incremental search}{RET} |
329 \key{undo effect of last character}{DEL} | 329 \key{undo effect of last character}{DEL} |
330 \key{abort current search}{C-g} | 330 \key{abort current search}{C-g} |
331 | 331 |
332 Use \kbd{C-s} or \kbd{C-r} again to repeat the search in either direction. | 332 Use \kbd{C-s} or \kbd{C-r} again to repeat the search in either direction. |
333 If Emacs is still searching, \kbd{C-g} cancels only the part not done. | 333 If Emacs is still searching, \kbd{C-g} cancels only the part not matched. |
334 | 334 |
335 \shortcopyrightnotice | 335 \shortcopyrightnotice |
336 | 336 |
337 \section{Motion} | 337 \section{Motion} |
338 | 338 |
476 \key{regexp search backward through history}{M-r} | 476 \key{regexp search backward through history}{M-r} |
477 \key{regexp search forward through history}{M-s} | 477 \key{regexp search forward through history}{M-s} |
478 \key{abort command}{C-g} | 478 \key{abort command}{C-g} |
479 | 479 |
480 Type \kbd{C-x ESC ESC} to edit and repeat the last command that used the | 480 Type \kbd{C-x ESC ESC} to edit and repeat the last command that used the |
481 minibuffer. Type \kbd{F10} to activate the menu bar using the minibuffer. | 481 minibuffer. Type \kbd{F10} to activate menu bar items on text terminals. |
482 | 482 |
483 \newcolumn | 483 \newcolumn |
484 \title{GNU Emacs Reference Card} | 484 \title{GNU Emacs Reference Card} |
485 | 485 |
486 \section{Buffers} | 486 \section{Buffers} |
655 | 655 |
656 An example: | 656 An example: |
657 | 657 |
658 \beginexample% | 658 \beginexample% |
659 (defun this-line-to-top-of-window (line) | 659 (defun this-line-to-top-of-window (line) |
660 "Reposition line point is on to top of window. | 660 "Reposition current line to top of window. |
661 With ARG, put point on line ARG." | 661 With ARG, put point on line ARG." |
662 (interactive "P") | 662 (interactive "P") |
663 (recenter (if (null line) | 663 (recenter (if (null line) |
664 0 | 664 0 |
665 (prefix-numeric-value line)))) | 665 (prefix-numeric-value line)))) |