• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/textmodes/

Lines Matching +refs:point +refs:max

87 ;; point is located (i.e., for the node preceding point).
111 ;; point. With an argument, it makes or updates menus for the nodes
135 ;; description in the menu following point, to the specified column.
262 Make the menu for the section enclosing the node found following point.
278 (list (point) (mark))))
287 ;; find section type following point
290 (set-marker region-end-marker (max beginning end))
299 (while (and (< (point) (marker-position region-end-marker))
322 (point)))
351 (push-mark (point-max) t)
352 (goto-char (point-min))
357 ;; if so, leave point before @detailmenu.
359 (save-excursion (forward-line -3) (point))
368 (point))))
369 (delete-region (point) end-of-detailed-menu-descriptions))))
373 (texinfo-update-node (point-min) (point-max)))
376 (texinfo-make-menu (point-max) (point-min))
385 "Search forward from point for node at any level lower than LEVEL.
389 Return t if the node is found, else nil. Leave point at the beginning
390 of the node if one is found; else do not move point."
392 (if (and (< (point) region-end)
411 "Search forward from point for node at any higher level than argument LEVEL.
414 Return t if the node is found, else nil. Leave point at the beginning
415 of the node if one is found; else do not move point.
417 A `@node' line starting at point does count as a match;
418 if the match is found there, the value is t and point does not move."
472 forward from point, and leaves point at the beginning of the node.
495 Start with point at the beginning of the node line; copy the text
497 return the text as a string. Leaves point at the beginning of the
504 (point))
506 (1- (point))
507 (end-of-line) (point)))))
514 Move point to the beginning of the appropriate section line by going
527 (point))
528 (progn (end-of-line) (point))))
535 "Move point to the beginning of the menu for this section, if any.
536 Otherwise move point to the end of the first node of this section.
544 end of the section, and leaves point there where a menu ought to be."
565 (save-excursion ; keep point at beginning of menu
604 (save-excursion ; keep point at beginning of menu
635 (point)
640 (point)))
644 "Return position of end of menu, but don't move point.
648 (point)
658 (delete-region (point)
661 (point))))
672 "Insert formatted menu at point.
722 Position point at beginning of description ready for editing.
732 (if (search-forward "* " (save-excursion (end-of-line) (point)) t)
734 (setq beginning (point)))
739 ((search-forward "::" (save-excursion (end-of-line) (point)) t)
743 (setq node-name (buffer-substring beginning (point))))
746 ((search-forward ":" (save-excursion (end-of-line) (point)) t)
748 (setq beginning (point))
751 (save-excursion (forward-line 1) (point)) t)
756 (setq node-name (buffer-substring beginning (point))))
759 (save-excursion (forward-line 1) (point)) t)
761 (setq node-name (buffer-substring beginning (point)))
787 (point))
790 (point))))
792 ;; Return point to the menu and insert the title.
795 (point)
796 (save-excursion (skip-chars-backward " \t") (point)))
808 "Indent every description in menu following point to COLUMN.
827 (while (and (< (point) (region-end))
835 Start with point just after the word `menu' in the `@menu' line and
836 leave point on the line before the `@end menu' line. Does not indent
838 (let* ((beginning-of-next-line (point)))
843 (point)))
848 (let ((beginning-white-space (point)))
853 (delete-region beginning-white-space (point))
855 ;; position point at beginning of next line
857 (setq beginning-of-next-line (point)))))
904 (goto-char (point-min))
906 ;; Move point to location after `top'.
914 (point))))
918 ;; if so, leave point before @detailmenu.
920 (save-excursion (forward-line -3) (point))
928 (point))))
929 (delete-region (point) end-of-detailed-menu-descriptions)))))
935 (texinfo-update-node (point-min) (point-max))
938 (texinfo-make-menu (point-min) (point-max))))
941 (goto-char (point-min))
949 (goto-char (point-min))
955 ;; if so, leave point before @detailmenu.
957 (save-excursion (forward-line -3) (point))
961 (goto-char (point-min))))
996 (goto-char (point-min))
1002 (save-excursion (re-search-forward "^@node\\|^@include") (point))))
1007 (point)
1008 (save-excursion (re-search-forward "^@end menu") (point)))
1064 If found, leave point after word `menu' on the `@menu' line, and return t.
1065 If a menu is not found, do not move point and return nil."
1071 point."
1087 (point)
1088 (progn (end-of-line) (point))))
1093 Start with point just after the word `menu' in the `@menu' line
1094 and leave point on the line before the `@end menu' line."
1103 (point))))
1104 (while (< (point) last-entry)
1107 (point)
1111 (- (point) 3)))
1123 Searches forward for a section. Hence, point must be before the
1124 section whose type will be found. Does not move point. Signal an
1138 (1+ (point)))
1140 (point))))
1159 Return position of the beginning of the node line; do not move point.
1169 (goto-char (point-min))
1172 (point)))
1188 (point))))))
1192 Return position; do not move point. Thus, if this level is a
1213 (point-max)))))
1217 Return position; do not move point.
1229 (point)))
1236 "Without any prefix argument, update the node in which point is located.
1257 (list (point) (mark))))
1261 (if (not (re-search-backward "^@node" (point-min) t))
1270 (goto-char (point-min))
1271 (while (re-search-forward "^@node" (point-max) t)
1274 (goto-char (point-max))
1281 (texinfo-update-node (point-min) (point-max))
1286 Leave point at the end of the node line."
1330 Point must be at beginning of node line. Does not move point."
1348 line, including the comma. Leaves point at beginning of line."
1349 (let ((eol-point (save-excursion (end-of-line) (point))))
1350 (if (search-forward "," eol-point t)
1351 (delete-region (1- (point)) eol-point)))
1355 "Move point to section associated with next, previous, or up pointer.
1456 (point))
1469 (re-search-backward ; when point is already
1481 "Insert the `Next', `Previous' or `Up' node name at point.
1482 Move point forward.
1501 (delete-region (point) (save-excursion (end-of-line) (point))))
1507 ;; pointers that point to the following or preceding nodes even if they
1510 ;; pointer will point to the subsection and not the following section.
1517 This function causes the `Next' or `Previous' pointer to point to the
1522 Without any prefix argument, update the node in which point is located.
1535 (if (not (re-search-backward "^@node" (point-min) t))
1549 (push-mark (point) t)
1550 (while (re-search-forward "^@node" (point-max) t)
1578 "Insert the `Next', `Previous' or `Up' node name at point.
1579 Move point forward.
1594 Move point to section associated with the pointer. Find point even if
1610 (point-max)
1617 (point-min)
1624 (point-min)
1645 ;; Use marker; after inserting node lines, leave point at end of
1666 (point)
1667 (save-excursion (end-of-line) (point))))))
1673 (save-excursion (forward-line -2) (point))) t)
1674 ;; @node is present, and point at beginning of that line
1675 (forward-word 1) ; Leave point just after @node.
1679 (backward-char 1)) ; Leave point just after `@node'.
1695 (save-excursion (forward-line 3) (point)) t)
1696 (setq last-section-position (point))
1699 ;; Leave point at end of region, mark at beginning.
1748 (goto-char (point-min))
1751 (setq start (point))
1755 (cons (buffer-substring start (point))
1762 Start with point at the beginning of the node line. Leave point at the
1771 (point-max))))
1780 (point))
1781 (progn (end-of-line) (point)))))
1830 (goto-char (point-min))
1840 (goto-char (point-min))
1855 (goto-char (point-min))
1874 (goto-char (point-min))
1889 (goto-char (point-min))
1907 "Insert formatted main menu at point.
1945 (goto-char (point-min))
2014 (point-min)
2018 (point)))
2020 ;; If found, leave point after word `menu' on the `@menu' line.
2026 (point)
2027 (save-excursion (re-search-forward "^@end menu") (point)))
2039 (goto-char (point-min))
2044 ;; if so, leave point before @detailmenu.
2046 (save-excursion (forward-line -3) (point))
2053 (point))))
2054 (delete-region (point) end-of-detailed-menu-descriptions))))
2063 (goto-char (point-min))