comparison lispref/positions.texi @ 30981:fdbde2514fc3

(List Motion): Note optional args.
author Dave Love <fx@gnu.org>
date Sun, 20 Aug 2000 18:22:20 +0000
parents f7b7fdb0f3f4
children d8e7d91d131a
comparison
equal deleted inserted replaced
30980:72217b771546 30981:fdbde2514fc3
606 various characters; see @ref{Syntax Tables}. @xref{Parsing 606 various characters; see @ref{Syntax Tables}. @xref{Parsing
607 Expressions}, for lower-level primitives for scanning sexps or parts of 607 Expressions}, for lower-level primitives for scanning sexps or parts of
608 sexps. For user-level commands, see @ref{Lists Commands,,, emacs, The GNU 608 sexps. For user-level commands, see @ref{Lists Commands,,, emacs, The GNU
609 Emacs Manual}. 609 Emacs Manual}.
610 610
611 @deffn Command forward-list arg 611 @deffn Command forward-list &optional arg
612 This function moves forward across @var{arg} balanced groups of 612 This function moves forward across @var{arg} (default 1) balanced groups of
613 parentheses. (Other syntactic entities such as words or paired string 613 parentheses. (Other syntactic entities such as words or paired string
614 quotes are ignored.) 614 quotes are ignored.)
615 @end deffn 615 @end deffn
616 616
617 @deffn Command backward-list arg 617 @deffn Command backward-list &optional arg
618 This function moves backward across @var{arg} balanced groups of 618 This function moves backward across @var{arg} (default 1) balanced groups of
619 parentheses. (Other syntactic entities such as words or paired string 619 parentheses. (Other syntactic entities such as words or paired string
620 quotes are ignored.) 620 quotes are ignored.)
621 @end deffn 621 @end deffn
622 622
623 @deffn Command up-list arg 623 @deffn Command up-list &optional arg
624 This function moves forward out of @var{arg} levels of parentheses. 624 This function moves forward out of @var{arg} (default 1) levels of parentheses.
625 A negative argument means move backward but still to a less deep spot. 625 A negative argument means move backward but still to a less deep spot.
626 @end deffn 626 @end deffn
627 627
628 @deffn Command down-list arg 628 @deffn Command down-list &optional arg
629 This function moves forward into @var{arg} levels of parentheses. A 629 This function moves forward into @var{arg} (default 1) levels of parentheses. A
630 negative argument means move backward but still go 630 negative argument means move backward but still go
631 deeper in parentheses (@minus{}@var{arg} levels). 631 deeper in parentheses (@minus{}@var{arg} levels).
632 @end deffn 632 @end deffn
633 633
634 @deffn Command forward-sexp arg 634 @deffn Command forward-sexp &optional arg
635 This function moves forward across @var{arg} balanced expressions. 635 This function moves forward across @var{arg} (default 1) balanced expressions.
636 Balanced expressions include both those delimited by parentheses and 636 Balanced expressions include both those delimited by parentheses and
637 other kinds, such as words and string constants. For example, 637 other kinds, such as words and string constants. For example,
638 638
639 @example 639 @example
640 @group 640 @group
652 ---------- Buffer: foo ---------- 652 ---------- Buffer: foo ----------
653 @end group 653 @end group
654 @end example 654 @end example
655 @end deffn 655 @end deffn
656 656
657 @deffn Command backward-sexp arg 657 @deffn Command backward-sexp &optional arg
658 This function moves backward across @var{arg} balanced expressions. 658 This function moves backward across @var{arg} (default 1) balanced expressions.
659 @end deffn 659 @end deffn
660 660
661 @deffn Command beginning-of-defun arg 661 @deffn Command beginning-of-defun arg
662 This function moves back to the @var{arg}th beginning of a defun. If 662 This function moves back to the @var{arg}th beginning of a defun. If
663 @var{arg} is negative, this actually moves forward, but it still moves 663 @var{arg} is negative, this actually moves forward, but it still moves