PT 2372 src/buffer.c XSETFASTINT (position, PT); PT 2742 src/buffer.c ptrdiff_t pt = PT; PT 2814 src/buffer.c if (pt != PT) PT 886 src/buffer.h return (buf == current_buffer ? PT PT 1364 src/bytecode.c PUSH (make_fixed_natnum (PT)); PT 503 src/callint.c set_marker_both (point_marker, Qnil, PT, PT_BYTE); PT 659 src/callint.c set_marker_both (point_marker, Qnil, PT, PT_BYTE); PT 662 src/callint.c args[i] = PT < mark ? point_marker : BVAR (current_buffer, mark); PT 664 src/callint.c args[++i] = PT > mark ? point_marker : BVAR (current_buffer, mark); PT 806 src/callproc.c if ((prepared_pos < PT) && nread) PT 808 src/callproc.c prepare_to_modify_buffer (PT, PT, NULL); PT 809 src/callproc.c prepared_pos = PT; PT 820 src/callproc.c signal_after_change (PT - nread, 0, nread); PT 861 src/callproc.c TEMP_SET_PT_BOTH (PT + process_coding.produced_char, PT 863 src/callproc.c signal_after_change (PT - process_coding.produced_char, PT 474 src/casefiddle.c ptrdiff_t opoint = PT, added = 0; PT 511 src/casefiddle.c if (PT != opoint) PT 649 src/casefiddle.c ptrdiff_t farend = scan_words (PT, XFIXNUM (arg)); PT 652 src/casefiddle.c SET_PT (casify_region (flag, make_fixnum (PT), make_fixnum (farend))); PT 52 src/cmds.c new_point = PT + (forward ? XFIXNUM (n) : - XFIXNUM (n)); PT 116 src/cmds.c ptrdiff_t opoint = PT, pos, pos_byte, count; PT 141 src/cmds.c : (BEGV < ZV && PT != opoint PT 197 src/cmds.c if (PT > newpos PT 205 src/cmds.c SET_PT (PT - 1); PT 208 src/cmds.c else if (PT > newpos && PT < ZV PT 238 src/cmds.c pos = PT + XFIXNUM (n); PT 246 src/cmds.c del_range (pos, PT); PT 253 src/cmds.c del_range (PT, pos); PT 342 src/cmds.c && PT < ZV) PT 368 src/cmds.c ptrdiff_t pos = PT; PT 386 src/cmds.c chars_to_delete = PT - pos; PT 412 src/cmds.c && PT > BEGV PT 456 src/cmds.c if (INT_ADD_WRAPV (PT, chars_to_delete, &to)) PT 458 src/cmds.c replace_range (PT, to, string, 1, 1, 1, 0, false); PT 485 src/cmds.c SET_PT_BOTH (PT - 1, PT_BYTE - 1); PT 488 src/cmds.c if (c == '\n' && PT < ZV) PT 489 src/cmds.c SET_PT_BOTH (PT + 1, PT_BYTE + 1); PT 7358 src/coding.c if (GPT != PT) PT 7359 src/coding.c move_gap_both (PT, PT_BYTE); PT 7911 src/coding.c coding->dst_pos = PT; PT 8106 src/coding.c saved_pt = PT, saved_pt_byte = PT_BYTE; PT 8329 src/coding.c saved_pt = PT, saved_pt_byte = PT_BYTE; PT 8359 src/coding.c saved_pt = PT, saved_pt_byte = PT_BYTE; PT 8392 src/coding.c coding->dst_pos = PT; PT 9613 src/coding.c move_gap_both (PT, PT_BYTE); PT 948 src/composite.c ptrdiff_t pt = PT, pt_byte = PT_BYTE; PT 1362 src/composite.c eassert (endpos == PT); PT 285 src/decompress.c unwind_data.old_point = PT; PT 5591 src/dispnew.c && EQ (automatic_hscrolling, Qcurrent_line) && IT_CHARPOS (it) < PT) PT 5598 src/dispnew.c move_it_in_display_line (&it2, PT, -1, MOVE_TO_POS); PT 5599 src/dispnew.c if (IT_CHARPOS (it2) >= PT) PT 190 src/editfns.c XSETFASTINT (temp, PT); PT 198 src/editfns.c return build_marker (current_buffer, PT, PT_BYTE); PT 242 src/editfns.c return make_fixnum ((PT < XFIXNAT (m)) == beginningp PT 243 src/editfns.c ? PT PT 409 src/editfns.c XSETFASTINT (pos, PT); PT 613 src/editfns.c orig_point = PT; PT 614 src/editfns.c XSETFASTINT (new_pos, PT); PT 739 src/editfns.c return Fconstrain_to_field (make_fixnum (charpos), make_fixnum (PT), PT 758 src/editfns.c return find_before_next_newline (PT, 0, count - (count <= 0), PT 794 src/editfns.c return Fconstrain_to_field (make_fixnum (eol (n)), make_fixnum (PT), PT 836 src/editfns.c Fset_window_point (window, make_fixnum (PT)); PT 995 src/editfns.c if (PT >= ZV) PT 1008 src/editfns.c if (PT <= BEGV) PT 1026 src/editfns.c if (PT == BEGV) PT 1036 src/editfns.c if (PT == ZV) PT 1045 src/editfns.c if (PT == BEGV || FETCH_BYTE (PT_BYTE - 1) == '\n') PT 1055 src/editfns.c if (PT == ZV || FETCH_BYTE (PT_BYTE) == '\n') PT 1104 src/editfns.c XSETFASTINT (pos, PT); PT 2975 src/editfns.c if (PT < s) PT 2977 src/editfns.c if (e < PT) PT 4409 src/editfns.c if (PT < start1) PT 4411 src/editfns.c else if (PT < end1) PT 4412 src/editfns.c TEMP_SET_PT_BOTH (PT + (end2 - end1), PT 4414 src/editfns.c else if (PT < start2) PT 4415 src/editfns.c TEMP_SET_PT_BOTH (PT + (end2 - start2) - (end1 - start1), PT 4418 src/editfns.c else if (PT < end2) PT 4419 src/editfns.c TEMP_SET_PT_BOTH (PT - (start2 - start1), PT 3979 src/fileio.c && RANGED_FIXNUMP (0, XCAR (XCDR (val)), ZV - PT)) PT 4575 src/fileio.c inserted = PT - temp; PT 4597 src/fileio.c prepare_to_modify_buffer (PT, PT, NULL); PT 4600 src/fileio.c move_gap_both (PT, PT_BYTE); PT 4793 src/fileio.c eassert (PT == GPT); PT 4814 src/fileio.c invalidate_buffer_caches (current_buffer, PT, PT + inserted); PT 4815 src/fileio.c adjust_after_insert (PT, PT_BYTE, PT + inserted, PT_BYTE + inserted, PT 4825 src/fileio.c signal_after_change (PT, 0, inserted); PT 4826 src/fileio.c update_compositions (PT, PT, CHECK_BORDER); PT 4873 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 4896 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 4911 src/fileio.c ptrdiff_t opoint = PT; PT 4919 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 4942 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 4951 src/fileio.c ptrdiff_t opoint = PT; PT 4960 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 4987 src/fileio.c && XFIXNUM (XCDR (tem)) == PT + old_inserted) PT 4988 src/fileio.c XSETCDR (tem, make_fixnum (PT + inserted)); PT 5012 src/fileio.c PT - BEG, Z - PT - inserted); PT 5016 src/fileio.c PT - BEG, Z - PT - inserted); PT 3726 src/fns.c ptrdiff_t old_pos = PT; PT 3962 src/fns.c ptrdiff_t old_pos = PT; PT 4003 src/fns.c del_range_both (PT, PT_BYTE, XFIXNAT (end) + inserted_chars, PT 1729 src/fringe.c textpos = PT; PT 340 src/indent.c if (PT == last_known_column_point PT 344 src/indent.c ptrdiff_t line_beg = find_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -1, PT 350 src/indent.c && PT - line_beg > XFIXNUM (Vlong_line_threshold)) PT 351 src/indent.c return PT - line_beg; /* this is an approximation! */ PT 366 src/indent.c if (PT == BEGV) PT 368 src/indent.c else if (PT <= GPT || BEGV > GPT) PT 462 src/indent.c last_known_column_point = PT; PT 563 src/indent.c ptrdiff_t end = endpos ? *endpos : PT; PT 566 src/indent.c scan = find_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -1, NULL, &scan_byte, 1); PT 593 src/indent.c find_newline (PT, PT_BYTE, ZV, ZV_BYTE, 1, NULL, NULL, 1); PT 774 src/indent.c last_known_column_point = PT; PT 798 src/indent.c ptrdiff_t opoint = PT; PT 927 src/indent.c last_known_column_point = PT; PT 946 src/indent.c find_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -1, NULL, &posbyte, 1); PT 1106 src/indent.c del_range (PT, PT + 1); PT 1107 src/indent.c goal_pt = PT; PT 1122 src/indent.c last_known_column_point = PT; PT 2063 src/indent.c SET_TEXT_POS (startpos, PT, PT_BYTE); PT 2225 src/indent.c pos = *vmotion (PT, PT_BYTE, XFIXNUM (lines), w); PT 2256 src/indent.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 2310 src/indent.c if (IT_CHARPOS (it) != PT) PT 2326 src/indent.c ? PT PT 2327 src/indent.c : PT - 1, PT 2372 src/indent.c else if (IT_CHARPOS (it) == PT - 1 PT 331 src/insdel.c SET_BUF_PT_BOTH (current_buffer, PT + nchars, PT_BYTE + nbytes); PT 333 src/insdel.c eassert (PT_BYTE >= PT && PT_BYTE - PT <= ZV_BYTE - ZV); PT 680 src/insdel.c opoint = PT - len; PT 682 src/insdel.c update_compositions (opoint, PT, CHECK_BORDER); PT 695 src/insdel.c opoint = PT - len; PT 697 src/insdel.c update_compositions (opoint, PT, CHECK_BORDER); PT 740 src/insdel.c opoint = PT - len; PT 742 src/insdel.c update_compositions (opoint, PT, CHECK_BORDER); PT 756 src/insdel.c opoint = PT - len; PT 758 src/insdel.c update_compositions (opoint, PT, CHECK_BORDER); PT 898 src/insdel.c prepare_to_modify_buffer (PT, PT, NULL); PT 900 src/insdel.c if (PT != GPT) PT 901 src/insdel.c move_gap_both (PT, PT_BYTE); PT 906 src/insdel.c if (count_combining_before (string, nbytes, PT, PT_BYTE) PT 907 src/insdel.c || count_combining_after (string, nbytes, PT, PT_BYTE)) PT 914 src/insdel.c record_insert (PT, nchars); PT 935 src/insdel.c adjust_markers_for_insert (PT, PT_BYTE, PT 936 src/insdel.c PT + nchars, PT_BYTE + nbytes, PT 939 src/insdel.c offset_intervals (current_buffer, PT, nchars); PT 942 src/insdel.c set_text_properties (make_fixnum (PT), make_fixnum (PT + nchars), PT 969 src/insdel.c ptrdiff_t opoint = PT; PT 976 src/insdel.c signal_after_change (opoint, 0, PT - opoint); PT 977 src/insdel.c update_compositions (opoint, PT, CHECK_BORDER); PT 989 src/insdel.c ptrdiff_t opoint = PT; PT 996 src/insdel.c signal_after_change (opoint, 0, PT - opoint); PT 997 src/insdel.c update_compositions (opoint, PT, CHECK_BORDER); PT 1023 src/insdel.c prepare_to_modify_buffer (PT, PT, NULL); PT 1025 src/insdel.c if (PT != GPT) PT 1026 src/insdel.c move_gap_both (PT, PT_BYTE); PT 1042 src/insdel.c if (count_combining_before (GPT_ADDR, outgoing_nbytes, PT, PT_BYTE) PT 1043 src/insdel.c || count_combining_after (GPT_ADDR, outgoing_nbytes, PT, PT_BYTE)) PT 1047 src/insdel.c record_insert (PT, nchars); PT 1066 src/insdel.c adjust_markers_for_insert (PT, PT_BYTE, PT + nchars, PT 1070 src/insdel.c offset_intervals (current_buffer, PT, nchars); PT 1078 src/insdel.c graft_intervals_into_buffer (intervals, PT, nchars, PT 1163 src/insdel.c if (ins_charpos < PT) PT 1180 src/insdel.c ptrdiff_t opoint = PT; PT 1187 src/insdel.c signal_after_change (opoint, 0, PT - opoint); PT 1188 src/insdel.c update_compositions (opoint, PT, CHECK_BORDER); PT 1249 src/insdel.c prepare_to_modify_buffer (PT, PT, NULL); PT 1251 src/insdel.c if (PT != GPT) PT 1252 src/insdel.c move_gap_both (PT, PT_BYTE); PT 1284 src/insdel.c if (count_combining_before (GPT_ADDR, outgoing_nbytes, PT, PT_BYTE) PT 1285 src/insdel.c || count_combining_after (GPT_ADDR, outgoing_nbytes, PT, PT_BYTE)) PT 1289 src/insdel.c record_insert (PT, nchars); PT 1308 src/insdel.c adjust_markers_for_insert (PT, PT_BYTE, PT + nchars, PT 1312 src/insdel.c offset_intervals (current_buffer, PT, nchars); PT 1318 src/insdel.c if (buf == current_buffer && PT <= from) PT 1324 src/insdel.c graft_intervals_into_buffer (intervals, PT, nchars, current_buffer, inherit); PT 1374 src/insdel.c if (from < PT) PT 1570 src/insdel.c if (from < PT) PT 1571 src/insdel.c adjust_point ((from + inschars - (PT < to ? PT : to)), PT 1693 src/insdel.c if (from < PT && (nchars_del != inschars || nbytes_del != insbytes)) PT 1695 src/insdel.c if (PT < to) PT 1697 src/insdel.c adjust_point (from - PT, from_byte - PT_BYTE); PT 1883 src/insdel.c if (from < PT) PT 1884 src/insdel.c adjust_point (from - (PT < to ? PT : to), PT 1855 src/intervals.c ptrdiff_t old_position = PT; PT 1866 src/intervals.c if (charpos == PT) PT 1898 src/intervals.c buffer_point = (PT == ZV ? ZV - 1 : PT); PT 1907 src/intervals.c else if (from && from->position == PT) PT 1909 src/intervals.c else if (buffer_point != PT) PT 2084 src/intervals.c else if (PT < position && XFIXNUM (pos) < ZV) PT 2125 src/intervals.c if (XFIXNUM (pos) != PT) PT 734 src/json.c prepare_to_modify_buffer (PT, PT, NULL); PT 735 src/json.c move_gap_both (PT, PT_BYTE); PT 780 src/json.c PT, PT + inserted_bytes); PT 781 src/json.c adjust_after_insert (PT, PT_BYTE, PT 782 src/json.c PT + inserted_bytes, PT 790 src/json.c signal_after_change (PT, 0, inserted); PT 793 src/json.c update_compositions (PT, PT, CHECK_BORDER); PT 795 src/json.c SET_PT_BOTH (PT + inserted, PT_BYTE + inserted_bytes); PT 1438 src/keyboard.c last_point_position = PT; PT 1494 src/keyboard.c point_before_last_command_or_undo = PT; PT 1609 src/keyboard.c && last_point_position != PT) PT 1628 src/keyboard.c else if (PT > BEGV && PT < ZV PT 1629 src/keyboard.c && (composition_adjust_point (last_point_position, PT) PT 1630 src/keyboard.c != PT)) PT 1683 src/keyboard.c ptrdiff_t orig_pt = PT; PT 1693 src/keyboard.c && PT > BEGV && PT < ZV PT 1694 src/keyboard.c && (beg = composition_adjust_point (last_pt, PT)) != PT) PT 1701 src/keyboard.c && PT > BEGV && PT < ZV PT 1703 src/keyboard.c (make_fixnum (PT), Qdisplay, selected_window, PT 1705 src/keyboard.c && display_prop_intangible_p (val, overlay, PT, PT_BYTE) PT 1707 src/keyboard.c ? get_property_and_range (PT, Qdisplay, &val, &beg, &end, Qnil) PT 1710 src/keyboard.c && (beg < PT /* && end > PT <- It's always the case. */ PT 1711 src/keyboard.c || (beg <= PT && STRINGP (val) && SCHARS (val) == 0))) PT 1713 src/keyboard.c eassert (end > PT); PT 1714 src/keyboard.c SET_PT (PT < last_pt PT 1722 src/keyboard.c if (check_invisible && PT > BEGV && PT < ZV) PT 1726 src/keyboard.c beg = end = PT; PT 1776 src/keyboard.c if (beg < PT && end > PT) PT 1778 src/keyboard.c SET_PT ((orig_pt == PT && (last_pt < beg || last_pt > end)) PT 1786 src/keyboard.c ? (orig_pt = -1, PT < last_pt ? end : beg) PT 1790 src/keyboard.c : (PT < last_pt ? beg : end)); PT 1796 src/keyboard.c eassert (PT == beg || PT == end); PT 1803 src/keyboard.c if (last_pt == beg && PT == end && end < ZV) PT 1805 src/keyboard.c else if (last_pt == end && PT == beg && beg > BEGV) PT 1807 src/keyboard.c else if (PT == ((PT < last_pt) ? beg : end)) PT 1812 src/keyboard.c else if (val = Fget_pos_property (make_fixnum (PT), PT 1816 src/keyboard.c (make_fixnum (PT == beg ? end : beg), PT 1820 src/keyboard.c SET_PT (PT == beg ? end : beg)); PT 1924 src/keyboard.c ptrdiff_t begv = get_large_narrowing_begv (PT); PT 1925 src/keyboard.c ptrdiff_t zv = get_large_narrowing_zv (PT); PT 7996 src/keyboard.c if (tem = get_local_map (PT, current_buffer, Qkeymap), !NILP (tem)) PT 8003 src/keyboard.c maps[nmaps++] = get_local_map (PT, current_buffer, Qlocal_map); PT 8551 src/keyboard.c if (tem = get_local_map (PT, current_buffer, Qkeymap), !NILP (tem)) PT 8558 src/keyboard.c maps[nmaps++] = get_local_map (PT, current_buffer, Qlocal_map); PT 8935 src/keyboard.c if (tem = get_local_map (PT, current_buffer, Qkeymap), !NILP (tem)) PT 8942 src/keyboard.c maps[nmaps++] = get_local_map (PT, current_buffer, Qlocal_map); PT 1651 src/keymap.c : PT); PT 3314 src/keymap.c SET_PT (PT - 1); PT 3327 src/keymap.c SET_PT (PT + 1); PT 847 src/minibuf.c if (PT > BEG) PT 849 src/minibuf.c Fput_text_property (make_fixnum (BEG), make_fixnum (PT), PT 851 src/minibuf.c Fput_text_property (make_fixnum (BEG), make_fixnum (PT), PT 853 src/minibuf.c Fput_text_property (make_fixnum (BEG), make_fixnum (PT), PT 873 src/minibuf.c make_fixnum (PT), val, Qt, Qnil); PT 875 src/minibuf.c Fput_text_property (make_fixnum (BEG), make_fixnum (PT), PT 162 src/print.c pc.old_point = PT; PT 165 src/print.c pc.start_point = PT; PT 219 src/print.c signal_after_change (PT - print_buffer.pos, 0, print_buffer.pos); PT 222 src/print.c set_marker_both (pc->old_printcharfun, Qnil, PT, PT_BYTE); PT 226 src/print.c ? PT - pc->start_point : 0), PT 6331 src/process.c opoint = PT; PT 6345 src/process.c before = PT; PT 6350 src/process.c if (! (BEGV <= PT && PT <= ZV)) PT 6371 src/process.c set_marker_both (p->mark, p->buffer, PT, PT_BYTE); PT 6379 src/process.c opoint += PT - before; PT 6383 src/process.c old_begv += PT - before; PT 6385 src/process.c old_zv += PT - before; PT 6561 src/process.c save_pt = PT, save_pt_byte = PT_BYTE; PT 7707 src/process.c opoint = PT; PT 7717 src/process.c before = PT; PT 7728 src/process.c set_marker_both (p->mark, p->buffer, PT, PT_BYTE); PT 7731 src/process.c SET_PT_BOTH (opoint + (PT - before), PT 988 src/search.c *charpos = find_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, count - 1, PT 991 src/search.c *charpos = find_newline (PT, PT_BYTE, ZV, ZV_BYTE, count, PT 1054 src/search.c if (n > 0 ? lim < PT : lim > PT) PT 1069 src/search.c np = search_buffer (string, PT, PT_BYTE, lim, lim_byte, n, RE, PT 2623 src/search.c opoint = PT <= sub_start ? PT : max (PT, sub_end) - ZV; PT 581 src/syntax.c ptrdiff_t opoint = PT, opoint_byte = PT_BYTE; PT 628 src/syntax.c while (PT > BEGV) PT 635 src/syntax.c SETUP_SYNTAX_TABLE (PT + 1, -1); /* Try again... */ PT 643 src/syntax.c scan_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -2, 1); PT 647 src/syntax.c find_start_value = PT; PT 1594 src/syntax.c val = orig_val = scan_words (PT, XFIXNUM (arg)); PT 1599 src/syntax.c tmp = Fconstrain_to_field (make_fixnum (val), make_fixnum (PT), PT 1691 src/syntax.c && (XFIXNUM (lim) - PT != CHAR_TO_BYTE (XFIXNUM (lim)) - PT_BYTE)); PT 1935 src/syntax.c ptrdiff_t start_point = PT; PT 1936 src/syntax.c ptrdiff_t pos = PT; PT 2100 src/syntax.c return make_fixnum (PT - start_point); PT 2129 src/syntax.c if (forwardp ? (PT >= XFIXNAT (lim)) : (PT <= XFIXNAT (lim))) PT 2133 src/syntax.c && (XFIXNUM (lim) - PT != CHAR_TO_BYTE (XFIXNUM (lim)) - PT_BYTE)); PT 2166 src/syntax.c ptrdiff_t start_point = PT; PT 2167 src/syntax.c ptrdiff_t pos = PT; PT 2262 src/syntax.c return make_fixnum (PT - start_point); PT 2459 src/syntax.c from = PT; PT 3099 src/syntax.c ptrdiff_t opoint = PT; PT 3101 src/syntax.c ptrdiff_t pos = PT; PT 174 src/undo.c if (PT == beg + SCHARS (string)) PT 278 src/undo.c point_before_last_command_or_undo = PT; PT 1992 src/window.c posint = PT; PT 5661 src/window.c if (!(PT >= startpos PT 5662 src/window.c && PT <= ZV PT 5664 src/window.c && pos_visible_p (w, PT, &dummy_x, &dummy_y, &rtop, &rbot, &dummy_rowh, PT 5668 src/window.c pos = *vmotion (PT, PT_BYTE, - (ht / 2), w); PT 5674 src/window.c bool lose = n < 0 && PT == BEGV; PT 5675 src/window.c pos = *vmotion (PT, PT_BYTE, n, w); PT 5696 src/window.c pos = *vmotion (PT, PT_BYTE, ht / 2, w); PT 5698 src/window.c pos = *vmotion (PT, PT_BYTE, - (ht / 2), w); PT 5742 src/window.c if (!pos_visible_p (w, PT, &x, &y, &rtop, &rbot, &rowh, &vpos)) PT 5748 src/window.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); PT 5759 src/window.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); PT 5851 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); PT 6030 src/window.c if (IT_CHARPOS (it) < PT) PT 6031 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); PT 6032 src/window.c if (IT_CHARPOS (it) == PT PT 6084 src/window.c move_it_to (&it, PT, -1, PT 6103 src/window.c if (charpos != PT) PT 6110 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); PT 6111 src/window.c if (IT_CHARPOS (it) == PT && it.current_y == it2.current_y) PT 6139 src/window.c if (charpos == PT && !partial_p PT 6227 src/window.c PT, ht, 0, -1, w->hscroll, 0, w); PT 6237 src/window.c XSETFASTINT (tem, PT); PT 6243 src/window.c startpos = PT; PT 6248 src/window.c lose = n < 0 && PT == BEGV; PT 6250 src/window.c pos = PT; PT 6292 src/window.c top_margin = PT; PT 6326 src/window.c bottom_margin = PT; PT 6328 src/window.c bottom_margin = PT + 1; PT 6421 src/window.c set_marker_both (w->pointm, Qnil, PT, PT_BYTE); PT 6422 src/window.c set_marker_both (w->old_pointm, Qnil, PT, PT_BYTE); PT 6706 src/window.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 6726 src/window.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 6798 src/window.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 6833 src/window.c pos = *vmotion (PT, PT_BYTE, - iarg, w); PT 6926 src/window.c set_marker_both (w->start, w->contents, PT, PT_BYTE); PT 7102 src/window.c old_point = PT; PT 1552 src/xdisp.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 4250 src/xdisp.c && charpos < PT && PT < it->stop_charpos) PT 4251 src/xdisp.c it->stop_charpos = PT; PT 6494 src/xdisp.c && (STRINGP (it->string) || (PT <= start || PT >= end))) PT 9547 src/xdisp.c stop = (PT <= IT_CHARPOS (*it)) ? PT : -1; PT 9549 src/xdisp.c stop = (IT_CHARPOS (*it) < PT PT 9550 src/xdisp.c && PT < it->end_charpos) ? PT : it->end_charpos; PT 11708 src/xdisp.c if (PT < ZV) PT 11720 src/xdisp.c SET_TEXT_POS (startpos, PT, PT_BYTE); PT 11847 src/xdisp.c set_marker_restricted_both (oldpoint, Qnil, PT, PT_BYTE); PT 11853 src/xdisp.c if (PT == Z) PT 11911 src/xdisp.c this_bol = PT; PT 11918 src/xdisp.c scan_newline (PT, PT_BYTE, BEG, BEG_BYTE, -2, false); PT 11919 src/xdisp.c prev_bol = PT; PT 11952 src/xdisp.c del_range_both (BEG, BEG_BYTE, PT, PT_BYTE, false); PT 13287 src/xdisp.c && !(PT == w->last_point && !window_outdated (w)) PT 13404 src/xdisp.c ASET (vector, 11, build_marker (current_buffer, PT, PT_BYTE)); PT 15958 src/xdisp.c pt = PT; PT 16450 src/xdisp.c ? PT : marker_position (w->pointm)); PT 16765 src/xdisp.c && PT >= CHARPOS (tlbufpos) PT 16766 src/xdisp.c && PT <= Z - CHARPOS (tlendpos) PT 16900 src/xdisp.c PT == w->last_point PT 16943 src/xdisp.c && PT - CHARPOS (tlbufpos) > large_hscroll_threshold) PT 16949 src/xdisp.c if (IT_CHARPOS (it) <= PT) /* point moved off this line */ PT 16956 src/xdisp.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); PT 17723 src/xdisp.c ptrdiff_t pt_old = PT - delta; PT 18529 src/xdisp.c if (PT > CHARPOS (startp)) PT 18539 src/xdisp.c move_it_to (&it, PT, -1, scroll_margin_y - 1, -1, PT 18542 src/xdisp.c if (PT > CHARPOS (it.current.pos)) PT 18557 src/xdisp.c move_it_to (&it, PT, -1, y_to_move, PT 18567 src/xdisp.c else if (PT == IT_CHARPOS (it) PT 18586 src/xdisp.c || IT_CHARPOS (it) != PT PT 18696 src/xdisp.c if (PT < CHARPOS (scroll_margin_pos)) PT 18707 src/xdisp.c SET_TEXT_POS (pos, PT, PT_BYTE); PT 18847 src/xdisp.c if (IT_CHARPOS (it) <= PT PT 18866 src/xdisp.c if (CHARPOS (pos) <= PT) PT 18894 src/xdisp.c if (CHARPOS (pos) > PT) PT 18956 src/xdisp.c PT >= CHARPOS (startp) PT 19027 src/xdisp.c if (PT > w->last_point) PT 19030 src/xdisp.c while (MATRIX_ROW_END_CHARPOS (row) < PT PT 19041 src/xdisp.c && MATRIX_ROW_END_CHARPOS (row) == PT PT 19043 src/xdisp.c && MATRIX_ROW_START_CHARPOS (row+1) >= PT PT 19052 src/xdisp.c || PT > MATRIX_ROW_END_CHARPOS (row) PT 19056 src/xdisp.c && PT == MATRIX_ROW_END_CHARPOS (row) PT 19061 src/xdisp.c else if (PT < w->last_point) PT 19068 src/xdisp.c && (MATRIX_ROW_START_CHARPOS (row) > PT PT 19069 src/xdisp.c || (MATRIX_ROW_START_CHARPOS (row) == PT PT 19085 src/xdisp.c if (!(MATRIX_ROW_START_CHARPOS (row) <= PT PT 19086 src/xdisp.c && PT <= MATRIX_ROW_END_CHARPOS (row)) PT 19090 src/xdisp.c while (MATRIX_ROW_START_CHARPOS (row) > PT PT 19117 src/xdisp.c && MATRIX_ROW_END_CHARPOS (row) == PT PT 19126 src/xdisp.c || PT > MATRIX_ROW_END_CHARPOS (row) PT 19128 src/xdisp.c && PT == MATRIX_ROW_END_CHARPOS (row) PT 19140 src/xdisp.c if ((PT < MATRIX_ROW_START_CHARPOS (row) PT 19146 src/xdisp.c || PT > MATRIX_ROW_END_CHARPOS (row)) PT 19192 src/xdisp.c if (PT == MATRIX_ROW_END_CHARPOS (row) PT 19228 src/xdisp.c Lisp_Object val = get_char_property_and_overlay (make_fixnum (PT), PT 19243 src/xdisp.c if ((pt_invis || MATRIX_ROW_START_CHARPOS (row) <= PT) PT 19244 src/xdisp.c && PT <= MATRIX_ROW_END_CHARPOS (row) PT 19267 src/xdisp.c (BUFFERP (g->object) && g->charpos == PT) PT 19269 src/xdisp.c && (g->charpos == PT PT 19270 src/xdisp.c || (g->charpos == 0 && endpos - 1 == PT))); PT 19291 src/xdisp.c || (MATRIX_ROW_START_CHARPOS (row) == PT PT 19316 src/xdisp.c && MATRIX_ROW_START_CHARPOS (row) == PT PT 19560 src/xdisp.c SET_TEXT_POS (lpoint, PT, PT_BYTE); PT 19651 src/xdisp.c SET_TEXT_POS (opoint, PT, PT_BYTE); PT 19769 src/xdisp.c move_it_to (&it, PT, 0, it.last_visible_y, -1, PT 19781 src/xdisp.c if (it_charpos == PT) PT 19784 src/xdisp.c else if (it_charpos > PT && CHARPOS (startp) <= PT) PT 19870 src/xdisp.c get_char_property_and_overlay (make_fixnum (PT), Qinvisible, PT 19877 src/xdisp.c Fnext_single_char_property_change (make_fixnum (PT), Qinvisible, PT 19962 src/xdisp.c set_marker_both (w->pointm, Qnil, PT, PT_BYTE); PT 19964 src/xdisp.c SET_TEXT_POS (lpoint, PT, PT_BYTE); PT 20062 src/xdisp.c && PT >= CHARPOS (startp) PT 20098 src/xdisp.c && pos_visible_p (w, PT, &d1, &d2, &rtop, &rbot, &d5, &d6) PT 20232 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); PT 20260 src/xdisp.c scrolling_up = PT > margin_pos; PT 20331 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); PT 20380 src/xdisp.c if (w->window_end_valid && PT >= Z - w->window_end_pos) PT 20386 src/xdisp.c else if (PT < IT_CHARPOS (it)) PT 20434 src/xdisp.c row_containing_pos (w, PT, matrix->rows, NULL, 0); PT 20445 src/xdisp.c get_char_property_and_overlay (make_fixnum (PT), Qinvisible, PT 20452 src/xdisp.c Fnext_single_char_property_change (make_fixnum (PT), Qinvisible, PT 20987 src/xdisp.c row = row_containing_pos (w, PT, row, NULL, dy); PT 21120 src/xdisp.c if (PT >= MATRIX_ROW_START_CHARPOS (first_row_to_display) PT 21121 src/xdisp.c && (PT < MATRIX_ROW_END_CHARPOS (first_row_to_display) PT 21122 src/xdisp.c || (PT == MATRIX_ROW_END_CHARPOS (first_row_to_display) PT 21221 src/xdisp.c && PT >= MATRIX_ROW_END_CHARPOS (row) PT 21250 src/xdisp.c || glyph->charpos < PT); PT 21695 src/xdisp.c if (PT < CHARPOS (start)) PT 21802 src/xdisp.c if (PT >= MATRIX_ROW_END_CHARPOS (row) + Z_delta) PT 21812 src/xdisp.c && !(PT >= MATRIX_ROW_START_CHARPOS (row) + Z_delta PT 21827 src/xdisp.c row = row_containing_pos (w, PT, r0, NULL, 0); PT 21849 src/xdisp.c if (PT >= MATRIX_ROW_END_CHARPOS (row)) PT 21858 src/xdisp.c && !(PT >= MATRIX_ROW_START_CHARPOS (row) PT 21867 src/xdisp.c row = row_containing_pos (w, PT, r0, NULL, 0); PT 22099 src/xdisp.c if (PT < CHARPOS (start_pos) PT 22102 src/xdisp.c row = row_containing_pos (w, PT, PT 22112 src/xdisp.c row = row_containing_pos (w, PT - delta, PT 22706 src/xdisp.c bool visible_p = pos_visible_p (XWINDOW (selected_window), PT, PT 23961 src/xdisp.c return row_for_charpos_p (row, PT); PT 24331 src/xdisp.c if (IT_CHARPOS (*it) <= PT) PT 24334 src/xdisp.c to = PT; PT 24338 src/xdisp.c SET_TEXT_POS (from, PT, PT_BYTE); PT 24355 src/xdisp.c return IT_CHARPOS (*it) <= PT ? -tem_it.vpos : tem_it.vpos; PT 24460 src/xdisp.c PT, &ignored); PT 24462 src/xdisp.c it->pt_lnum = display_count_lines_logically (beg_byte, PT_BYTE, PT, PT 25635 src/xdisp.c && PT >= MATRIX_ROW_START_CHARPOS (row) PT 25636 src/xdisp.c && PT <= MATRIX_ROW_END_CHARPOS (row) PT 25965 src/xdisp.c if (BUFFERP (g->object) && g->charpos != PT) PT 25969 src/xdisp.c return make_fixnum (PT); PT 25977 src/xdisp.c new_pos = PT; PT 25985 src/xdisp.c if (new_pos == PT) PT 25994 src/xdisp.c return make_fixnum (PT); PT 26003 src/xdisp.c else if (row->ends_at_zv_p && PT != ZV) PT 26005 src/xdisp.c else if (PT != MATRIX_ROW_END_CHARPOS (row) - 1) PT 26010 src/xdisp.c return make_fixnum (PT); PT 26031 src/xdisp.c return make_fixnum (PT); PT 26054 src/xdisp.c && PT != ZV) PT 26059 src/xdisp.c return make_fixnum (PT); PT 26069 src/xdisp.c return make_fixnum (PT); PT 26092 src/xdisp.c && PT != ZV) PT 26097 src/xdisp.c return make_fixnum (PT); PT 26115 src/xdisp.c if (PT <= BEGV && dir < 0) PT 26117 src/xdisp.c else if (PT >= ZV && dir > 0) PT 26130 src/xdisp.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 26155 src/xdisp.c if (IT_CHARPOS (it) != PT) PT 26157 src/xdisp.c move_it_to (&it, overshoot_expected ? PT - 1 : PT, PT 26169 src/xdisp.c else if (IT_CHARPOS (it) != PT && !overshoot_expected) PT 26170 src/xdisp.c move_it_in_display_line (&it, PT, -1, MOVE_TO_POS); PT 26346 src/xdisp.c while (IT_CHARPOS (it) == PT) PT 26359 src/xdisp.c return make_fixnum (PT); PT 26404 src/xdisp.c pos_visible_p (w, PT, &d1, &d2, &d3, &d4, &d5, &nrow); PT 26740 src/xdisp.c SET_TEXT_POS (lpoint, PT, PT_BYTE); PT 28236 src/xdisp.c PT_BYTE, PT, &junk); PT 252 test/manual/etags/c-src/abbrev.c wordstart = scan_words (PT, -1); PT 262 test/manual/etags/c-src/abbrev.c if (wordend > PT) PT 263 test/manual/etags/c-src/abbrev.c wordend = PT; PT 266 test/manual/etags/c-src/abbrev.c whitecnt = PT - wordend; PT 325 test/manual/etags/c-src/abbrev.c SET_PT (PT + whitecnt); PT 334 test/manual/etags/c-src/abbrev.c if (scan_words (PT, -1) > scan_words (wordstart, 1)) PT 337 test/manual/etags/c-src/abbrev.c make_number (PT)); PT 341 test/manual/etags/c-src/abbrev.c Fupcase_region (make_number (wordstart), make_number (PT)); PT 389 test/manual/etags/c-src/abbrev.c int opoint = PT; PT 1463 test/manual/etags/c-src/emacs/src/keyboard.c last_point_position = PT; PT 1621 test/manual/etags/c-src/emacs/src/keyboard.c && last_point_position != PT PT 1687 test/manual/etags/c-src/emacs/src/keyboard.c ptrdiff_t orig_pt = PT; PT 1695 test/manual/etags/c-src/emacs/src/keyboard.c && PT > BEGV && PT < ZV PT 1696 test/manual/etags/c-src/emacs/src/keyboard.c && (beg = composition_adjust_point (last_pt, PT)) != PT) PT 1703 test/manual/etags/c-src/emacs/src/keyboard.c && PT > BEGV && PT < ZV PT 1705 test/manual/etags/c-src/emacs/src/keyboard.c (make_number (PT), Qdisplay, Qnil, &overlay)) PT 1706 test/manual/etags/c-src/emacs/src/keyboard.c && display_prop_intangible_p (val, overlay, PT, PT_BYTE) PT 1708 test/manual/etags/c-src/emacs/src/keyboard.c ? get_property_and_range (PT, Qdisplay, &val, &beg, &end, Qnil) PT 1711 test/manual/etags/c-src/emacs/src/keyboard.c && (beg < PT /* && end > PT <- It's always the case. */ PT 1712 test/manual/etags/c-src/emacs/src/keyboard.c || (beg <= PT && STRINGP (val) && SCHARS (val) == 0))) PT 1714 test/manual/etags/c-src/emacs/src/keyboard.c eassert (end > PT); PT 1715 test/manual/etags/c-src/emacs/src/keyboard.c SET_PT (PT < last_pt PT 1723 test/manual/etags/c-src/emacs/src/keyboard.c if (check_invisible && PT > BEGV && PT < ZV) PT 1727 test/manual/etags/c-src/emacs/src/keyboard.c beg = end = PT; PT 1777 test/manual/etags/c-src/emacs/src/keyboard.c if (beg < PT && end > PT) PT 1779 test/manual/etags/c-src/emacs/src/keyboard.c SET_PT ((orig_pt == PT && (last_pt < beg || last_pt > end)) PT 1787 test/manual/etags/c-src/emacs/src/keyboard.c ? (orig_pt = -1, PT < last_pt ? end : beg) PT 1791 test/manual/etags/c-src/emacs/src/keyboard.c : (PT < last_pt ? beg : end)); PT 1797 test/manual/etags/c-src/emacs/src/keyboard.c eassert (PT == beg || PT == end); PT 1804 test/manual/etags/c-src/emacs/src/keyboard.c if (last_pt == beg && PT == end && end < ZV) PT 1806 test/manual/etags/c-src/emacs/src/keyboard.c else if (last_pt == end && PT == beg && beg > BEGV) PT 1808 test/manual/etags/c-src/emacs/src/keyboard.c else if (PT == ((PT < last_pt) ? beg : end)) PT 1813 test/manual/etags/c-src/emacs/src/keyboard.c else if (val = Fget_pos_property (make_number (PT), PT 1817 test/manual/etags/c-src/emacs/src/keyboard.c (make_number (PT == beg ? end : beg), PT 1821 test/manual/etags/c-src/emacs/src/keyboard.c SET_PT (PT == beg ? end : beg)); PT 7494 test/manual/etags/c-src/emacs/src/keyboard.c if (tem = get_local_map (PT, current_buffer, Qkeymap), !NILP (tem)) PT 7498 test/manual/etags/c-src/emacs/src/keyboard.c maps[nmaps++] = get_local_map (PT, current_buffer, Qlocal_map); PT 8043 test/manual/etags/c-src/emacs/src/keyboard.c if (tem = get_local_map (PT, current_buffer, Qkeymap), !NILP (tem)) PT 8047 test/manual/etags/c-src/emacs/src/keyboard.c maps[nmaps++] = get_local_map (PT, current_buffer, Qlocal_map);