Mercurial > emacs
comparison man/programs.texi @ 54272:3fd0ea9feede
(Expressions): Doc C-M-SPC as alias for C-M-@.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 04 Mar 2004 17:24:23 +0000 |
parents | 8bacf8f6aa0c |
children | c5c08e52e9d6 |
comparison
equal
deleted
inserted
replaced
54271:7232ffdd33dd | 54272:3fd0ea9feede |
---|---|
639 @item C-M-k | 639 @item C-M-k |
640 Kill balanced expression forward (@code{kill-sexp}). | 640 Kill balanced expression forward (@code{kill-sexp}). |
641 @item C-M-t | 641 @item C-M-t |
642 Transpose expressions (@code{transpose-sexps}). | 642 Transpose expressions (@code{transpose-sexps}). |
643 @item C-M-@@ | 643 @item C-M-@@ |
644 @itemx C-M-@key{SPC} | |
644 Put mark after following expression (@code{mark-sexp}). | 645 Put mark after following expression (@code{mark-sexp}). |
645 @end table | 646 @end table |
646 | 647 |
647 Each programming language major mode customizes the definition of | 648 Each programming language major mode customizes the definition of |
648 balanced expressions to suit that language. Balanced expressions | 649 balanced expressions to suit that language. Balanced expressions |
699 effect of @kbd{C-M-t} with a positive argument). An argument of zero, | 700 effect of @kbd{C-M-t} with a positive argument). An argument of zero, |
700 rather than doing nothing, transposes the balanced expressions ending | 701 rather than doing nothing, transposes the balanced expressions ending |
701 at or after point and the mark. | 702 at or after point and the mark. |
702 | 703 |
703 @kindex C-M-@@ | 704 @kindex C-M-@@ |
705 @kindex C-M-@key{SPC} | |
704 @findex mark-sexp | 706 @findex mark-sexp |
705 To set the region around the next balanced expression in the buffer, | 707 To set the region around the next balanced expression in the buffer, |
706 use @kbd{C-M-@@} (@code{mark-sexp}), which sets mark at the same place | 708 use @kbd{C-M-@@} (@code{mark-sexp}), which sets mark at the same place |
707 that @kbd{C-M-f} would move to. @kbd{C-M-@@} takes arguments like | 709 that @kbd{C-M-f} would move to. @kbd{C-M-@@} takes arguments like |
708 @kbd{C-M-f}. In particular, a negative argument is useful for putting | 710 @kbd{C-M-f}. In particular, a negative argument is useful for putting |
709 the mark at the beginning of the previous balanced expression. | 711 the mark at the beginning of the previous balanced expression. |
712 The alias @kbd{C-M-@key{SPC}} is equivalent to @kbd{C-M-@@}. | |
710 | 713 |
711 In languages that use infix operators, such as C, it is not possible | 714 In languages that use infix operators, such as C, it is not possible |
712 to recognize all balanced expressions as such because there can be | 715 to recognize all balanced expressions as such because there can be |
713 multiple possibilities at a given position. For example, C mode does | 716 multiple possibilities at a given position. For example, C mode does |
714 not treat @samp{foo + bar} as a single expression, even though it | 717 not treat @samp{foo + bar} as a single expression, even though it |