PT 2380 src/buffer.c XSETFASTINT (position, PT); PT 2750 src/buffer.c ptrdiff_t pt = PT; PT 2822 src/buffer.c if (pt != PT) PT 897 src/buffer.h return (buf == current_buffer ? PT PT 1398 src/bytecode.c PUSH (make_fixed_natnum (PT)); PT 503 src/callint.c set_marker_both (point_marker, Qnil, PT, PT_BYTE); PT 661 src/callint.c set_marker_both (point_marker, Qnil, PT, PT_BYTE); PT 664 src/callint.c args[i] = PT < mark ? point_marker : BVAR (current_buffer, mark); PT 666 src/callint.c args[++i] = PT > mark ? point_marker : BVAR (current_buffer, mark); PT 827 src/callproc.c if ((prepared_pos < PT) && nread) PT 829 src/callproc.c prepare_to_modify_buffer (PT, PT, NULL); PT 830 src/callproc.c prepared_pos = PT; PT 841 src/callproc.c signal_after_change (PT - nread, 0, nread); PT 882 src/callproc.c TEMP_SET_PT_BOTH (PT + process_coding.produced_char, PT 884 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 (ckd_add (&to, PT, chars_to_delete)) 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 7363 src/coding.c if (GPT != PT) PT 7364 src/coding.c move_gap_both (PT, PT_BYTE); PT 7916 src/coding.c coding->dst_pos = PT; PT 8111 src/coding.c saved_pt = PT, saved_pt_byte = PT_BYTE; PT 8334 src/coding.c saved_pt = PT, saved_pt_byte = PT_BYTE; PT 8364 src/coding.c saved_pt = PT, saved_pt_byte = PT_BYTE; PT 8397 src/coding.c coding->dst_pos = PT; PT 9639 src/coding.c move_gap_both (PT, PT_BYTE); PT 948 src/composite.c ptrdiff_t pt = PT, pt_byte = PT_BYTE; PT 1368 src/composite.c eassert (endpos == PT); PT 285 src/decompress.c unwind_data.old_point = PT; PT 5636 src/dispnew.c && EQ (automatic_hscrolling, Qcurrent_line) && IT_CHARPOS (it) < PT) PT 5643 src/dispnew.c move_it_in_display_line (&it2, PT, -1, MOVE_TO_POS); PT 5644 src/dispnew.c if (IT_CHARPOS (it2) >= PT) PT 194 src/editfns.c XSETFASTINT (temp, PT); PT 202 src/editfns.c return build_marker (current_buffer, PT, PT_BYTE); PT 246 src/editfns.c return make_fixnum ((PT < XFIXNAT (m)) == beginningp PT 247 src/editfns.c ? PT PT 413 src/editfns.c XSETFASTINT (pos, PT); PT 617 src/editfns.c orig_point = PT; PT 618 src/editfns.c XSETFASTINT (new_pos, PT); PT 743 src/editfns.c return Fconstrain_to_field (make_fixnum (charpos), make_fixnum (PT), PT 762 src/editfns.c return find_before_next_newline (PT, 0, count - (count <= 0), PT 798 src/editfns.c return Fconstrain_to_field (make_fixnum (eol (n)), make_fixnum (PT), PT 840 src/editfns.c Fset_window_point (window, make_fixnum (PT)); PT 999 src/editfns.c if (PT >= ZV) PT 1012 src/editfns.c if (PT <= BEGV) PT 1030 src/editfns.c if (PT == BEGV) PT 1040 src/editfns.c if (PT == ZV) PT 1049 src/editfns.c if (PT == BEGV || FETCH_BYTE (PT_BYTE - 1) == '\n') PT 1059 src/editfns.c if (PT == ZV || FETCH_BYTE (PT_BYTE) == '\n') PT 1108 src/editfns.c XSETFASTINT (pos, PT); PT 2983 src/editfns.c if (PT < s) PT 2985 src/editfns.c if (e < PT) PT 4417 src/editfns.c if (PT < start1) PT 4419 src/editfns.c else if (PT < end1) PT 4420 src/editfns.c TEMP_SET_PT_BOTH (PT + (end2 - end1), PT 4422 src/editfns.c else if (PT < start2) PT 4423 src/editfns.c TEMP_SET_PT_BOTH (PT + (end2 - start2) - (end1 - start1), PT 4426 src/editfns.c else if (PT < end2) PT 4427 src/editfns.c TEMP_SET_PT_BOTH (PT - (start2 - start1), PT 4074 src/fileio.c && RANGED_FIXNUMP (0, XCAR (XCDR (val)), ZV - PT)) PT 4666 src/fileio.c inserted = PT - temp; PT 4688 src/fileio.c prepare_to_modify_buffer (PT, PT, NULL); PT 4691 src/fileio.c move_gap_both (PT, PT_BYTE); PT 4877 src/fileio.c eassert (PT == GPT); PT 4898 src/fileio.c invalidate_buffer_caches (current_buffer, PT, PT + inserted); PT 4899 src/fileio.c adjust_after_insert (PT, PT_BYTE, PT + inserted, PT_BYTE + inserted, PT 4909 src/fileio.c signal_after_change (PT, 0, inserted); PT 4910 src/fileio.c update_compositions (PT, PT, CHECK_BORDER); PT 4957 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 4982 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 4997 src/fileio.c ptrdiff_t opoint = PT; PT 5005 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 5028 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 5037 src/fileio.c ptrdiff_t opoint = PT; PT 5046 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 5073 src/fileio.c && XFIXNUM (XCDR (tem)) == PT + old_inserted) PT 5074 src/fileio.c XSETCDR (tem, make_fixnum (PT + inserted)); PT 5098 src/fileio.c PT - BEG, Z - PT - inserted); PT 5102 src/fileio.c PT - BEG, Z - PT - inserted); PT 3762 src/fns.c ptrdiff_t old_pos = PT; PT 3998 src/fns.c ptrdiff_t old_pos = PT; PT 4039 src/fns.c del_range_both (PT, PT_BYTE, XFIXNAT (end) + inserted_chars, PT 1734 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 1921 src/insdel.c if (from < PT) PT 1922 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 1463 src/keyboard.c last_point_position = PT; PT 1464 src/keyboard.c ptrdiff_t last_pt = PT; PT 1520 src/keyboard.c point_before_last_command_or_undo = PT; PT 1638 src/keyboard.c && last_point_position != PT) PT 1657 src/keyboard.c else if (PT > BEGV && PT < ZV PT 1658 src/keyboard.c && (composition_adjust_point (last_point_position, PT) PT 1659 src/keyboard.c != PT)) PT 1713 src/keyboard.c ptrdiff_t orig_pt = PT; PT 1723 src/keyboard.c && PT > BEGV && PT < ZV PT 1724 src/keyboard.c && (beg = composition_adjust_point (last_pt, PT)) != PT) PT 1731 src/keyboard.c && PT > BEGV && PT < ZV PT 1733 src/keyboard.c (make_fixnum (PT), Qdisplay, selected_window, PT 1735 src/keyboard.c && display_prop_intangible_p (val, overlay, PT, PT_BYTE) PT 1737 src/keyboard.c ? get_property_and_range (PT, Qdisplay, &val, &beg, &end, Qnil) PT 1740 src/keyboard.c && (beg < PT /* && end > PT <- It's always the case. */ PT 1741 src/keyboard.c || (beg <= PT && STRINGP (val) && SCHARS (val) == 0))) PT 1743 src/keyboard.c eassert (end > PT); PT 1744 src/keyboard.c SET_PT (PT < last_pt PT 1752 src/keyboard.c if (check_invisible && PT > BEGV && PT < ZV) PT 1756 src/keyboard.c beg = end = PT; PT 1806 src/keyboard.c if (beg < PT && end > PT) PT 1808 src/keyboard.c SET_PT ((orig_pt == PT && (last_pt < beg || last_pt > end)) PT 1816 src/keyboard.c ? (orig_pt = -1, PT < last_pt ? end : beg) PT 1820 src/keyboard.c : (PT < last_pt ? beg : end)); PT 1826 src/keyboard.c eassert (PT == beg || PT == end); PT 1833 src/keyboard.c if (last_pt == beg && PT == end && end < ZV) PT 1835 src/keyboard.c else if (last_pt == end && PT == beg && beg > BEGV) PT 1837 src/keyboard.c else if (PT == ((PT < last_pt) ? beg : end)) PT 1842 src/keyboard.c else if (val = Fget_pos_property (make_fixnum (PT), PT 1846 src/keyboard.c (make_fixnum (PT == beg ? end : beg), PT 1850 src/keyboard.c SET_PT (PT == beg ? end : beg)); PT 1954 src/keyboard.c ptrdiff_t begv = get_large_narrowing_begv (PT); PT 1955 src/keyboard.c ptrdiff_t zv = get_large_narrowing_zv (PT); PT 8370 src/keyboard.c if (tem = get_local_map (PT, current_buffer, Qkeymap), !NILP (tem)) PT 8377 src/keyboard.c maps[nmaps++] = get_local_map (PT, current_buffer, Qlocal_map); PT 8925 src/keyboard.c if (tem = get_local_map (PT, current_buffer, Qkeymap), !NILP (tem)) PT 8932 src/keyboard.c maps[nmaps++] = get_local_map (PT, current_buffer, Qlocal_map); PT 9309 src/keyboard.c if (tem = get_local_map (PT, current_buffer, Qkeymap), !NILP (tem)) PT 9316 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 6348 src/process.c opoint = PT; PT 6362 src/process.c before = PT; PT 6367 src/process.c if (! (BEGV <= PT && PT <= ZV)) PT 6388 src/process.c set_marker_both (p->mark, p->buffer, PT, PT_BYTE); PT 6396 src/process.c opoint += PT - before; PT 6400 src/process.c old_begv += PT - before; PT 6402 src/process.c old_zv += PT - before; PT 6578 src/process.c save_pt = PT, save_pt_byte = PT_BYTE; PT 7735 src/process.c opoint = PT; PT 7745 src/process.c before = PT; PT 7756 src/process.c set_marker_both (p->mark, p->buffer, PT, PT_BYTE); PT 7759 src/process.c SET_PT_BOTH (opoint + (PT - before), PT 989 src/search.c *charpos = find_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, count - 1, PT 992 src/search.c *charpos = find_newline (PT, PT_BYTE, ZV, ZV_BYTE, count, PT 1055 src/search.c if (n > 0 ? lim < PT : lim > PT) PT 1070 src/search.c np = search_buffer (string, PT, PT_BYTE, lim, lim_byte, n, RE, PT 2625 src/search.c opoint = PT <= sub_start ? PT : max (PT, sub_end) - ZV; PT 572 src/syntax.c ptrdiff_t opoint = PT, opoint_byte = PT_BYTE; PT 619 src/syntax.c while (PT > BEGV) PT 626 src/syntax.c SETUP_SYNTAX_TABLE (PT + 1, -1); /* Try again... */ PT 634 src/syntax.c scan_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -2, 1); PT 638 src/syntax.c find_start_value = PT; PT 1585 src/syntax.c val = orig_val = scan_words (PT, XFIXNUM (arg)); PT 1590 src/syntax.c tmp = Fconstrain_to_field (make_fixnum (val), make_fixnum (PT), PT 1679 src/syntax.c && (XFIXNUM (lim) - PT != CHAR_TO_BYTE (XFIXNUM (lim)) - PT_BYTE)); PT 1921 src/syntax.c ptrdiff_t start_point = PT; PT 1922 src/syntax.c ptrdiff_t pos = PT; PT 2086 src/syntax.c return make_fixnum (PT - start_point); PT 2115 src/syntax.c if (forwardp ? (PT >= XFIXNAT (lim)) : (PT <= XFIXNAT (lim))) PT 2119 src/syntax.c && (XFIXNUM (lim) - PT != CHAR_TO_BYTE (XFIXNUM (lim)) - PT_BYTE)); PT 2152 src/syntax.c ptrdiff_t start_point = PT; PT 2153 src/syntax.c ptrdiff_t pos = PT; PT 2247 src/syntax.c return make_fixnum (PT - start_point); PT 2441 src/syntax.c from = PT; PT 3081 src/syntax.c ptrdiff_t opoint = PT; PT 3083 src/syntax.c ptrdiff_t pos = PT; PT 200 src/textconv.c pos = PT; PT 258 src/textconv.c pos = PT; PT 270 src/textconv.c pos = PT; PT 325 src/textconv.c end = PT; PT 334 src/textconv.c end = PT; PT 342 src/textconv.c end = PT; PT 350 src/textconv.c end = PT; PT 357 src/textconv.c end = PT; PT 364 src/textconv.c end = PT; PT 371 src/textconv.c end = PT; PT 614 src/textconv.c start = min (mark, PT); PT 615 src/textconv.c end = max (mark, PT); PT 634 src/textconv.c record_buffer_change (start, PT, text); PT 658 src/textconv.c wanted = PT; PT 689 src/textconv.c wanted = PT; PT 703 src/textconv.c record_buffer_change (wanted, PT, text); PT 719 src/textconv.c wanted = PT; PT 737 src/textconv.c SSDATA (text), PT); PT 741 src/textconv.c w->ephemeral_last_point = PT; PT 805 src/textconv.c start = PT; PT 816 src/textconv.c end = max (PT, wanted); PT 831 src/textconv.c = build_marker (current_buffer, PT, PT_BYTE); PT 833 src/textconv.c = build_marker (current_buffer, PT, PT_BYTE); PT 858 src/textconv.c if (start != PT) PT 859 src/textconv.c record_buffer_change (start, PT, Qt); PT 879 src/textconv.c eassert (end == PT); PT 906 src/textconv.c if (PT == w->ephemeral_last_point PT 918 src/textconv.c w->ephemeral_last_point = PT; PT 925 src/textconv.c TEXTCONV_DEBUG ("conversion region removed; PT is now: %td", PT); PT 979 src/textconv.c start, end, PT); PT 983 src/textconv.c w->ephemeral_last_point = PT; PT 1018 src/textconv.c if (a != -1 && a != PT) PT 1019 src/textconv.c lstart = rstart = max (a, PT); PT 1021 src/textconv.c lstart = rstart = PT; PT 1035 src/textconv.c lstart = min (lstart, min (PT, a1)); PT 1036 src/textconv.c rstart = max (rstart, max (PT, b1)); PT 1066 src/textconv.c left, right, PT); PT 1070 src/textconv.c if (get_mark () == PT) PT 1075 src/textconv.c w->ephemeral_last_point = PT; PT 1127 src/textconv.c if (point == PT) PT 1148 src/textconv.c w->ephemeral_last_point = PT; PT 1151 src/textconv.c PT, get_mark ()); PT 1727 src/textconv.c start = PT - n / 2; PT 1728 src/textconv.c end = PT + n - n / 2; PT 1736 src/textconv.c end = PT; PT 1757 src/textconv.c if (!(start <= PT && PT <= end)) PT 1776 src/textconv.c mark = PT; PT 1782 src/textconv.c *start_offset = min (mark - start, PT - start); PT 1783 src/textconv.c *end_offset = max (mark - start, PT - start); PT 1788 src/textconv.c PT, mark, start); PT 1835 src/textconv.c start = PT; PT 1862 src/textconv.c if (!(start <= PT && PT <= end)) PT 1879 src/textconv.c mark = PT; PT 1886 src/textconv.c *end_return = PT - start; 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 5678 src/window.c if (!(PT >= startpos PT 5679 src/window.c && PT <= ZV PT 5681 src/window.c && pos_visible_p (w, PT, &dummy_x, &dummy_y, &rtop, &rbot, &dummy_rowh, PT 5685 src/window.c pos = *vmotion (PT, PT_BYTE, - (ht / 2), w); PT 5691 src/window.c bool lose = n < 0 && PT == BEGV; PT 5692 src/window.c pos = *vmotion (PT, PT_BYTE, n, w); PT 5713 src/window.c pos = *vmotion (PT, PT_BYTE, ht / 2, w); PT 5715 src/window.c pos = *vmotion (PT, PT_BYTE, - (ht / 2), w); PT 5759 src/window.c if (!pos_visible_p (w, PT, &x, &y, &rtop, &rbot, &rowh, &vpos)) PT 5765 src/window.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); PT 5776 src/window.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); PT 5868 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); PT 6047 src/window.c if (IT_CHARPOS (it) < PT) PT 6048 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); PT 6049 src/window.c if (IT_CHARPOS (it) == PT PT 6101 src/window.c move_it_to (&it, PT, -1, PT 6120 src/window.c if (charpos != PT) PT 6127 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); PT 6128 src/window.c if (IT_CHARPOS (it) == PT && it.current_y == it2.current_y) PT 6156 src/window.c if (charpos == PT && !partial_p PT 6244 src/window.c PT, ht, 0, -1, w->hscroll, 0, w); PT 6254 src/window.c XSETFASTINT (tem, PT); PT 6260 src/window.c startpos = PT; PT 6265 src/window.c lose = n < 0 && PT == BEGV; PT 6267 src/window.c pos = PT; PT 6309 src/window.c top_margin = PT; PT 6343 src/window.c bottom_margin = PT; PT 6345 src/window.c bottom_margin = PT + 1; PT 6438 src/window.c set_marker_both (w->pointm, Qnil, PT, PT_BYTE); PT 6439 src/window.c set_marker_both (w->old_pointm, Qnil, PT, PT_BYTE); PT 6723 src/window.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 6743 src/window.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 6815 src/window.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 6850 src/window.c pos = *vmotion (PT, PT_BYTE, - iarg, w); PT 6943 src/window.c set_marker_both (w->start, w->contents, PT, PT_BYTE); PT 7119 src/window.c old_point = PT; PT 1553 src/xdisp.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 4263 src/xdisp.c && charpos < PT && PT < it->stop_charpos) PT 4264 src/xdisp.c it->stop_charpos = PT; PT 6521 src/xdisp.c && (STRINGP (it->string) || (PT <= start || PT >= end))) PT 9567 src/xdisp.c stop = (PT <= IT_CHARPOS (*it)) ? PT : -1; PT 9569 src/xdisp.c stop = (IT_CHARPOS (*it) < PT PT 9570 src/xdisp.c && PT < it->end_charpos) ? PT : it->end_charpos; PT 11735 src/xdisp.c if (PT < ZV) PT 11747 src/xdisp.c SET_TEXT_POS (startpos, PT, PT_BYTE); PT 11874 src/xdisp.c set_marker_restricted_both (oldpoint, Qnil, PT, PT_BYTE); PT 11880 src/xdisp.c if (PT == Z) PT 11938 src/xdisp.c this_bol = PT; PT 11945 src/xdisp.c scan_newline (PT, PT_BYTE, BEG, BEG_BYTE, -2, false); PT 11946 src/xdisp.c prev_bol = PT; PT 11979 src/xdisp.c del_range_both (BEG, BEG_BYTE, PT, PT_BYTE, false); PT 13314 src/xdisp.c && !(PT == w->last_point && !window_outdated (w)) PT 13431 src/xdisp.c ASET (vector, 11, build_marker (current_buffer, PT, PT_BYTE)); PT 16105 src/xdisp.c pt = PT; PT 16597 src/xdisp.c ? PT : marker_position (w->pointm)); PT 16913 src/xdisp.c && PT >= CHARPOS (tlbufpos) PT 16914 src/xdisp.c && PT <= Z - CHARPOS (tlendpos) PT 17048 src/xdisp.c PT == w->last_point PT 17091 src/xdisp.c && PT - CHARPOS (tlbufpos) > large_hscroll_threshold) PT 17097 src/xdisp.c if (IT_CHARPOS (it) <= PT) /* point moved off this line */ PT 17104 src/xdisp.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); PT 17921 src/xdisp.c ptrdiff_t pt_old = PT - delta; PT 18727 src/xdisp.c if (PT > CHARPOS (startp)) PT 18737 src/xdisp.c move_it_to (&it, PT, -1, scroll_margin_y - 1, -1, PT 18740 src/xdisp.c if (PT > CHARPOS (it.current.pos)) PT 18755 src/xdisp.c move_it_to (&it, PT, -1, y_to_move, PT 18765 src/xdisp.c else if (PT == IT_CHARPOS (it) PT 18784 src/xdisp.c || IT_CHARPOS (it) != PT PT 18894 src/xdisp.c if (PT < CHARPOS (scroll_margin_pos)) PT 18905 src/xdisp.c SET_TEXT_POS (pos, PT, PT_BYTE); PT 19045 src/xdisp.c if (IT_CHARPOS (it) <= PT PT 19064 src/xdisp.c if (CHARPOS (pos) <= PT) PT 19092 src/xdisp.c if (CHARPOS (pos) > PT) PT 19154 src/xdisp.c PT >= CHARPOS (startp) PT 19225 src/xdisp.c if (PT > w->last_point) PT 19228 src/xdisp.c while (MATRIX_ROW_END_CHARPOS (row) < PT PT 19239 src/xdisp.c && MATRIX_ROW_END_CHARPOS (row) == PT PT 19241 src/xdisp.c && MATRIX_ROW_START_CHARPOS (row+1) >= PT PT 19250 src/xdisp.c || PT > MATRIX_ROW_END_CHARPOS (row) PT 19254 src/xdisp.c && PT == MATRIX_ROW_END_CHARPOS (row) PT 19259 src/xdisp.c else if (PT < w->last_point) PT 19266 src/xdisp.c && (MATRIX_ROW_START_CHARPOS (row) > PT PT 19267 src/xdisp.c || (MATRIX_ROW_START_CHARPOS (row) == PT PT 19283 src/xdisp.c if (!(MATRIX_ROW_START_CHARPOS (row) <= PT PT 19284 src/xdisp.c && PT <= MATRIX_ROW_END_CHARPOS (row)) PT 19288 src/xdisp.c while (MATRIX_ROW_START_CHARPOS (row) > PT PT 19315 src/xdisp.c && MATRIX_ROW_END_CHARPOS (row) == PT PT 19324 src/xdisp.c || PT > MATRIX_ROW_END_CHARPOS (row) PT 19326 src/xdisp.c && PT == MATRIX_ROW_END_CHARPOS (row) PT 19338 src/xdisp.c if ((PT < MATRIX_ROW_START_CHARPOS (row) PT 19344 src/xdisp.c || PT > MATRIX_ROW_END_CHARPOS (row)) PT 19390 src/xdisp.c if (PT == MATRIX_ROW_END_CHARPOS (row) PT 19426 src/xdisp.c Lisp_Object val = get_char_property_and_overlay (make_fixnum (PT), PT 19441 src/xdisp.c if ((pt_invis || MATRIX_ROW_START_CHARPOS (row) <= PT) PT 19442 src/xdisp.c && PT <= MATRIX_ROW_END_CHARPOS (row) PT 19465 src/xdisp.c (BUFFERP (g->object) && g->charpos == PT) PT 19467 src/xdisp.c && (g->charpos == PT PT 19468 src/xdisp.c || (g->charpos == 0 && endpos - 1 == PT))); PT 19489 src/xdisp.c || (MATRIX_ROW_START_CHARPOS (row) == PT PT 19514 src/xdisp.c && MATRIX_ROW_START_CHARPOS (row) == PT PT 19758 src/xdisp.c SET_TEXT_POS (lpoint, PT, PT_BYTE); PT 19849 src/xdisp.c SET_TEXT_POS (opoint, PT, PT_BYTE); PT 19967 src/xdisp.c move_it_to (&it, PT, 0, it.last_visible_y, -1, PT 19979 src/xdisp.c if (it_charpos == PT) PT 19982 src/xdisp.c else if (it_charpos > PT && CHARPOS (startp) <= PT) PT 20068 src/xdisp.c get_char_property_and_overlay (make_fixnum (PT), Qinvisible, PT 20075 src/xdisp.c Fnext_single_char_property_change (make_fixnum (PT), Qinvisible, PT 20160 src/xdisp.c set_marker_both (w->pointm, Qnil, PT, PT_BYTE); PT 20162 src/xdisp.c SET_TEXT_POS (lpoint, PT, PT_BYTE); PT 20260 src/xdisp.c && PT >= CHARPOS (startp) PT 20296 src/xdisp.c && pos_visible_p (w, PT, &d1, &d2, &rtop, &rbot, &d5, &d6) PT 20430 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); PT 20458 src/xdisp.c scrolling_up = PT > margin_pos; PT 20529 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); PT 20578 src/xdisp.c if (w->window_end_valid && PT >= Z - w->window_end_pos) PT 20584 src/xdisp.c else if (PT < IT_CHARPOS (it)) PT 20632 src/xdisp.c row_containing_pos (w, PT, matrix->rows, NULL, 0); PT 20643 src/xdisp.c get_char_property_and_overlay (make_fixnum (PT), Qinvisible, PT 20650 src/xdisp.c Fnext_single_char_property_change (make_fixnum (PT), Qinvisible, PT 21185 src/xdisp.c row = row_containing_pos (w, PT, row, NULL, dy); PT 21318 src/xdisp.c if (PT >= MATRIX_ROW_START_CHARPOS (first_row_to_display) PT 21319 src/xdisp.c && (PT < MATRIX_ROW_END_CHARPOS (first_row_to_display) PT 21320 src/xdisp.c || (PT == MATRIX_ROW_END_CHARPOS (first_row_to_display) PT 21419 src/xdisp.c && PT >= MATRIX_ROW_END_CHARPOS (row) PT 21448 src/xdisp.c || glyph->charpos < PT); PT 21893 src/xdisp.c if (PT < CHARPOS (start)) PT 22000 src/xdisp.c if (PT >= MATRIX_ROW_END_CHARPOS (row) + Z_delta) PT 22010 src/xdisp.c && !(PT >= MATRIX_ROW_START_CHARPOS (row) + Z_delta PT 22025 src/xdisp.c row = row_containing_pos (w, PT, r0, NULL, 0); PT 22047 src/xdisp.c if (PT >= MATRIX_ROW_END_CHARPOS (row)) PT 22056 src/xdisp.c && !(PT >= MATRIX_ROW_START_CHARPOS (row) PT 22065 src/xdisp.c row = row_containing_pos (w, PT, r0, NULL, 0); PT 22297 src/xdisp.c if (PT < CHARPOS (start_pos) PT 22300 src/xdisp.c row = row_containing_pos (w, PT, PT 22310 src/xdisp.c row = row_containing_pos (w, PT - delta, PT 22904 src/xdisp.c bool visible_p = pos_visible_p (XWINDOW (selected_window), PT, PT 24159 src/xdisp.c return row_for_charpos_p (row, PT); PT 24529 src/xdisp.c if (IT_CHARPOS (*it) <= PT) PT 24532 src/xdisp.c to = PT; PT 24536 src/xdisp.c SET_TEXT_POS (from, PT, PT_BYTE); PT 24553 src/xdisp.c return IT_CHARPOS (*it) <= PT ? -tem_it.vpos : tem_it.vpos; PT 24658 src/xdisp.c PT, &ignored); PT 24660 src/xdisp.c it->pt_lnum = display_count_lines_logically (beg_byte, PT_BYTE, PT, PT 25833 src/xdisp.c && PT >= MATRIX_ROW_START_CHARPOS (row) PT 25834 src/xdisp.c && PT <= MATRIX_ROW_END_CHARPOS (row) PT 26163 src/xdisp.c if (BUFFERP (g->object) && g->charpos != PT) PT 26167 src/xdisp.c return make_fixnum (PT); PT 26175 src/xdisp.c new_pos = PT; PT 26183 src/xdisp.c if (new_pos == PT) PT 26192 src/xdisp.c return make_fixnum (PT); PT 26201 src/xdisp.c else if (row->ends_at_zv_p && PT != ZV) PT 26203 src/xdisp.c else if (PT != MATRIX_ROW_END_CHARPOS (row) - 1) PT 26208 src/xdisp.c return make_fixnum (PT); PT 26229 src/xdisp.c return make_fixnum (PT); PT 26252 src/xdisp.c && PT != ZV) PT 26257 src/xdisp.c return make_fixnum (PT); PT 26267 src/xdisp.c return make_fixnum (PT); PT 26290 src/xdisp.c && PT != ZV) PT 26295 src/xdisp.c return make_fixnum (PT); PT 26313 src/xdisp.c if (PT <= BEGV && dir < 0) PT 26315 src/xdisp.c else if (PT >= ZV && dir > 0) PT 26328 src/xdisp.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 26353 src/xdisp.c if (IT_CHARPOS (it) != PT) PT 26355 src/xdisp.c move_it_to (&it, overshoot_expected ? PT - 1 : PT, PT 26367 src/xdisp.c else if (IT_CHARPOS (it) != PT && !overshoot_expected) PT 26368 src/xdisp.c move_it_in_display_line (&it, PT, -1, MOVE_TO_POS); PT 26544 src/xdisp.c while (IT_CHARPOS (it) == PT) PT 26557 src/xdisp.c return make_fixnum (PT); PT 26602 src/xdisp.c pos_visible_p (w, PT, &d1, &d2, &d3, &d4, &d5, &nrow); PT 26995 src/xdisp.c SET_TEXT_POS (lpoint, PT, PT_BYTE); PT 28490 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);