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 828 src/callproc.c if ((prepared_pos < PT) && nread) PT 830 src/callproc.c prepare_to_modify_buffer (PT, PT, NULL); PT 831 src/callproc.c prepared_pos = PT; PT 842 src/callproc.c signal_after_change (PT - nread, 0, nread); PT 883 src/callproc.c TEMP_SET_PT_BOTH (PT + process_coding.produced_char, PT 885 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 2982 src/editfns.c if (PT < s) PT 2984 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 4135 src/fileio.c && RANGED_FIXNUMP (0, XCAR (XCDR (val)), ZV - PT)) PT 4740 src/fileio.c inserted = PT - temp; PT 4762 src/fileio.c prepare_to_modify_buffer (PT, PT, NULL); PT 4772 src/fileio.c move_gap_both (PT, PT_BYTE); PT 4962 src/fileio.c eassert (PT == GPT); PT 4983 src/fileio.c invalidate_buffer_caches (current_buffer, PT, PT + inserted); PT 4984 src/fileio.c adjust_after_insert (PT, PT_BYTE, PT + inserted, PT_BYTE + inserted, PT 4994 src/fileio.c signal_after_change (PT, 0, inserted); PT 4995 src/fileio.c update_compositions (PT, PT, CHECK_BORDER); PT 5047 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 5072 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 5087 src/fileio.c ptrdiff_t opoint = PT; PT 5095 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 5118 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 5127 src/fileio.c ptrdiff_t opoint = PT; PT 5136 src/fileio.c if (! RANGED_FIXNUMP (0, insval, ZV - PT)) PT 5163 src/fileio.c && XFIXNUM (XCDR (tem)) == PT + old_inserted) PT 5164 src/fileio.c XSETCDR (tem, make_fixnum (PT + inserted)); PT 5188 src/fileio.c PT - BEG, Z - PT - inserted); PT 5192 src/fileio.c PT - BEG, Z - PT - inserted); PT 3763 src/fns.c ptrdiff_t old_pos = PT; PT 3999 src/fns.c ptrdiff_t old_pos = PT; PT 4040 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 6357 src/process.c opoint = PT; PT 6371 src/process.c before = PT; PT 6376 src/process.c if (! (BEGV <= PT && PT <= ZV)) PT 6397 src/process.c set_marker_both (p->mark, p->buffer, PT, PT_BYTE); PT 6405 src/process.c opoint += PT - before; PT 6409 src/process.c old_begv += PT - before; PT 6411 src/process.c old_zv += PT - before; PT 6587 src/process.c save_pt = PT, save_pt_byte = PT_BYTE; PT 7744 src/process.c opoint = PT; PT 7754 src/process.c before = PT; PT 7765 src/process.c set_marker_both (p->mark, p->buffer, PT, PT_BYTE); PT 7768 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 2627 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 201 src/textconv.c pos = PT; PT 259 src/textconv.c pos = PT; PT 271 src/textconv.c pos = PT; PT 326 src/textconv.c end = PT; PT 335 src/textconv.c end = PT; PT 343 src/textconv.c end = PT; PT 351 src/textconv.c end = PT; PT 358 src/textconv.c end = PT; PT 365 src/textconv.c end = PT; PT 372 src/textconv.c end = PT; PT 615 src/textconv.c start = min (mark, PT); PT 616 src/textconv.c end = max (mark, PT); PT 635 src/textconv.c record_buffer_change (start, PT, text); PT 659 src/textconv.c wanted = PT; PT 690 src/textconv.c wanted = PT; PT 704 src/textconv.c record_buffer_change (wanted, PT, text); PT 720 src/textconv.c wanted = PT; PT 738 src/textconv.c SSDATA (text), PT); PT 742 src/textconv.c w->ephemeral_last_point = PT; PT 806 src/textconv.c start = PT; PT 817 src/textconv.c end = max (PT, wanted); PT 832 src/textconv.c = build_marker (current_buffer, PT, PT_BYTE); PT 834 src/textconv.c = build_marker (current_buffer, PT, PT_BYTE); PT 859 src/textconv.c if (start != PT) PT 860 src/textconv.c record_buffer_change (start, PT, Qt); PT 880 src/textconv.c eassert (end == PT); PT 907 src/textconv.c if (PT == w->ephemeral_last_point PT 919 src/textconv.c w->ephemeral_last_point = PT; PT 926 src/textconv.c TEXTCONV_DEBUG ("conversion region removed; PT is now: %td", PT); PT 980 src/textconv.c start, end, PT); PT 984 src/textconv.c w->ephemeral_last_point = PT; PT 1019 src/textconv.c if (a != -1 && a != PT) PT 1020 src/textconv.c lstart = rstart = max (a, PT); PT 1022 src/textconv.c lstart = rstart = PT; PT 1036 src/textconv.c lstart = min (lstart, min (PT, a1)); PT 1037 src/textconv.c rstart = max (rstart, max (PT, b1)); PT 1067 src/textconv.c left, right, PT); PT 1071 src/textconv.c if (get_mark () == PT) PT 1076 src/textconv.c w->ephemeral_last_point = PT; PT 1128 src/textconv.c if (point == PT) PT 1149 src/textconv.c w->ephemeral_last_point = PT; PT 1152 src/textconv.c PT, get_mark ()); PT 1731 src/textconv.c start = PT - n / 2; PT 1732 src/textconv.c end = PT + n - n / 2; PT 1740 src/textconv.c end = PT; PT 1761 src/textconv.c if (!(start <= PT && PT <= end)) PT 1779 src/textconv.c mark = PT; PT 1785 src/textconv.c *start_offset = min (mark - start, PT - start); PT 1786 src/textconv.c *end_offset = max (mark - start, PT - start); PT 1791 src/textconv.c PT, mark, start); PT 1839 src/textconv.c start = PT; PT 1866 src/textconv.c if (!(start <= PT && PT <= end)) PT 1882 src/textconv.c mark = PT; PT 1889 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 9575 src/xdisp.c stop = (PT <= IT_CHARPOS (*it)) ? PT : -1; PT 9577 src/xdisp.c stop = (IT_CHARPOS (*it) < PT PT 9578 src/xdisp.c && PT < it->end_charpos) ? PT : it->end_charpos; PT 11743 src/xdisp.c if (PT < ZV) PT 11755 src/xdisp.c SET_TEXT_POS (startpos, PT, PT_BYTE); PT 11882 src/xdisp.c set_marker_restricted_both (oldpoint, Qnil, PT, PT_BYTE); PT 11888 src/xdisp.c if (PT == Z) PT 11946 src/xdisp.c this_bol = PT; PT 11953 src/xdisp.c scan_newline (PT, PT_BYTE, BEG, BEG_BYTE, -2, false); PT 11954 src/xdisp.c prev_bol = PT; PT 11987 src/xdisp.c del_range_both (BEG, BEG_BYTE, PT, PT_BYTE, false); PT 13322 src/xdisp.c && !(PT == w->last_point && !window_outdated (w)) PT 13439 src/xdisp.c ASET (vector, 11, build_marker (current_buffer, PT, PT_BYTE)); PT 16113 src/xdisp.c pt = PT; PT 16605 src/xdisp.c ? PT : marker_position (w->pointm)); PT 16921 src/xdisp.c && PT >= CHARPOS (tlbufpos) PT 16922 src/xdisp.c && PT <= Z - CHARPOS (tlendpos) PT 17056 src/xdisp.c PT == w->last_point PT 17099 src/xdisp.c && PT - CHARPOS (tlbufpos) > large_hscroll_threshold) PT 17105 src/xdisp.c if (IT_CHARPOS (it) <= PT) /* point moved off this line */ PT 17112 src/xdisp.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); PT 17929 src/xdisp.c ptrdiff_t pt_old = PT - delta; PT 18735 src/xdisp.c if (PT > CHARPOS (startp)) PT 18745 src/xdisp.c move_it_to (&it, PT, -1, scroll_margin_y - 1, -1, PT 18748 src/xdisp.c if (PT > CHARPOS (it.current.pos)) PT 18763 src/xdisp.c move_it_to (&it, PT, -1, y_to_move, PT 18773 src/xdisp.c else if (PT == IT_CHARPOS (it) PT 18792 src/xdisp.c || IT_CHARPOS (it) != PT PT 18902 src/xdisp.c if (PT < CHARPOS (scroll_margin_pos)) PT 18913 src/xdisp.c SET_TEXT_POS (pos, PT, PT_BYTE); PT 19053 src/xdisp.c if (IT_CHARPOS (it) <= PT PT 19072 src/xdisp.c if (CHARPOS (pos) <= PT) PT 19100 src/xdisp.c if (CHARPOS (pos) > PT) PT 19162 src/xdisp.c PT >= CHARPOS (startp) PT 19233 src/xdisp.c if (PT > w->last_point) PT 19236 src/xdisp.c while (MATRIX_ROW_END_CHARPOS (row) < PT PT 19247 src/xdisp.c && MATRIX_ROW_END_CHARPOS (row) == PT PT 19249 src/xdisp.c && MATRIX_ROW_START_CHARPOS (row+1) >= PT PT 19258 src/xdisp.c || PT > MATRIX_ROW_END_CHARPOS (row) PT 19262 src/xdisp.c && PT == MATRIX_ROW_END_CHARPOS (row) PT 19267 src/xdisp.c else if (PT < w->last_point) PT 19274 src/xdisp.c && (MATRIX_ROW_START_CHARPOS (row) > PT PT 19275 src/xdisp.c || (MATRIX_ROW_START_CHARPOS (row) == PT PT 19291 src/xdisp.c if (!(MATRIX_ROW_START_CHARPOS (row) <= PT PT 19292 src/xdisp.c && PT <= MATRIX_ROW_END_CHARPOS (row)) PT 19296 src/xdisp.c while (MATRIX_ROW_START_CHARPOS (row) > PT PT 19323 src/xdisp.c && MATRIX_ROW_END_CHARPOS (row) == PT PT 19332 src/xdisp.c || PT > MATRIX_ROW_END_CHARPOS (row) PT 19334 src/xdisp.c && PT == MATRIX_ROW_END_CHARPOS (row) PT 19346 src/xdisp.c if ((PT < MATRIX_ROW_START_CHARPOS (row) PT 19352 src/xdisp.c || PT > MATRIX_ROW_END_CHARPOS (row)) PT 19398 src/xdisp.c if (PT == MATRIX_ROW_END_CHARPOS (row) PT 19434 src/xdisp.c Lisp_Object val = get_char_property_and_overlay (make_fixnum (PT), PT 19449 src/xdisp.c if ((pt_invis || MATRIX_ROW_START_CHARPOS (row) <= PT) PT 19450 src/xdisp.c && PT <= MATRIX_ROW_END_CHARPOS (row) PT 19473 src/xdisp.c (BUFFERP (g->object) && g->charpos == PT) PT 19475 src/xdisp.c && (g->charpos == PT PT 19476 src/xdisp.c || (g->charpos == 0 && endpos - 1 == PT))); PT 19497 src/xdisp.c || (MATRIX_ROW_START_CHARPOS (row) == PT PT 19522 src/xdisp.c && MATRIX_ROW_START_CHARPOS (row) == PT PT 19766 src/xdisp.c SET_TEXT_POS (lpoint, PT, PT_BYTE); PT 19857 src/xdisp.c SET_TEXT_POS (opoint, PT, PT_BYTE); PT 19975 src/xdisp.c move_it_to (&it, PT, 0, it.last_visible_y, -1, PT 19987 src/xdisp.c if (it_charpos == PT) PT 19990 src/xdisp.c else if (it_charpos > PT && CHARPOS (startp) <= PT) PT 20076 src/xdisp.c get_char_property_and_overlay (make_fixnum (PT), Qinvisible, PT 20083 src/xdisp.c Fnext_single_char_property_change (make_fixnum (PT), Qinvisible, PT 20168 src/xdisp.c set_marker_both (w->pointm, Qnil, PT, PT_BYTE); PT 20170 src/xdisp.c SET_TEXT_POS (lpoint, PT, PT_BYTE); PT 20268 src/xdisp.c && PT >= CHARPOS (startp) PT 20304 src/xdisp.c && pos_visible_p (w, PT, &d1, &d2, &rtop, &rbot, &d5, &d6) PT 20438 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); PT 20466 src/xdisp.c scrolling_up = PT > margin_pos; PT 20537 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); PT 20586 src/xdisp.c if (w->window_end_valid && PT >= Z - w->window_end_pos) PT 20592 src/xdisp.c else if (PT < IT_CHARPOS (it)) PT 20640 src/xdisp.c row_containing_pos (w, PT, matrix->rows, NULL, 0); PT 20651 src/xdisp.c get_char_property_and_overlay (make_fixnum (PT), Qinvisible, PT 20658 src/xdisp.c Fnext_single_char_property_change (make_fixnum (PT), Qinvisible, PT 21193 src/xdisp.c row = row_containing_pos (w, PT, row, NULL, dy); PT 21326 src/xdisp.c if (PT >= MATRIX_ROW_START_CHARPOS (first_row_to_display) PT 21327 src/xdisp.c && (PT < MATRIX_ROW_END_CHARPOS (first_row_to_display) PT 21328 src/xdisp.c || (PT == MATRIX_ROW_END_CHARPOS (first_row_to_display) PT 21427 src/xdisp.c && PT >= MATRIX_ROW_END_CHARPOS (row) PT 21456 src/xdisp.c || glyph->charpos < PT); PT 21901 src/xdisp.c if (PT < CHARPOS (start)) PT 22008 src/xdisp.c if (PT >= MATRIX_ROW_END_CHARPOS (row) + Z_delta) PT 22018 src/xdisp.c && !(PT >= MATRIX_ROW_START_CHARPOS (row) + Z_delta PT 22033 src/xdisp.c row = row_containing_pos (w, PT, r0, NULL, 0); PT 22055 src/xdisp.c if (PT >= MATRIX_ROW_END_CHARPOS (row)) PT 22064 src/xdisp.c && !(PT >= MATRIX_ROW_START_CHARPOS (row) PT 22073 src/xdisp.c row = row_containing_pos (w, PT, r0, NULL, 0); PT 22305 src/xdisp.c if (PT < CHARPOS (start_pos) PT 22308 src/xdisp.c row = row_containing_pos (w, PT, PT 22318 src/xdisp.c row = row_containing_pos (w, PT - delta, PT 22912 src/xdisp.c bool visible_p = pos_visible_p (XWINDOW (selected_window), PT, PT 24167 src/xdisp.c return row_for_charpos_p (row, PT); PT 24537 src/xdisp.c if (IT_CHARPOS (*it) <= PT) PT 24540 src/xdisp.c to = PT; PT 24544 src/xdisp.c SET_TEXT_POS (from, PT, PT_BYTE); PT 24561 src/xdisp.c return IT_CHARPOS (*it) <= PT ? -tem_it.vpos : tem_it.vpos; PT 24666 src/xdisp.c PT, &ignored); PT 24668 src/xdisp.c it->pt_lnum = display_count_lines_logically (beg_byte, PT_BYTE, PT, PT 25841 src/xdisp.c && PT >= MATRIX_ROW_START_CHARPOS (row) PT 25842 src/xdisp.c && PT <= MATRIX_ROW_END_CHARPOS (row) PT 26171 src/xdisp.c if (BUFFERP (g->object) && g->charpos != PT) PT 26175 src/xdisp.c return make_fixnum (PT); PT 26183 src/xdisp.c new_pos = PT; PT 26191 src/xdisp.c if (new_pos == PT) PT 26200 src/xdisp.c return make_fixnum (PT); PT 26209 src/xdisp.c else if (row->ends_at_zv_p && PT != ZV) PT 26211 src/xdisp.c else if (PT != MATRIX_ROW_END_CHARPOS (row) - 1) PT 26216 src/xdisp.c return make_fixnum (PT); PT 26237 src/xdisp.c return make_fixnum (PT); PT 26260 src/xdisp.c && PT != ZV) PT 26265 src/xdisp.c return make_fixnum (PT); PT 26275 src/xdisp.c return make_fixnum (PT); PT 26298 src/xdisp.c && PT != ZV) PT 26303 src/xdisp.c return make_fixnum (PT); PT 26321 src/xdisp.c if (PT <= BEGV && dir < 0) PT 26323 src/xdisp.c else if (PT >= ZV && dir > 0) PT 26336 src/xdisp.c SET_TEXT_POS (pt, PT, PT_BYTE); PT 26361 src/xdisp.c if (IT_CHARPOS (it) != PT) PT 26363 src/xdisp.c move_it_to (&it, overshoot_expected ? PT - 1 : PT, PT 26375 src/xdisp.c else if (IT_CHARPOS (it) != PT && !overshoot_expected) PT 26376 src/xdisp.c move_it_in_display_line (&it, PT, -1, MOVE_TO_POS); PT 26552 src/xdisp.c while (IT_CHARPOS (it) == PT) PT 26565 src/xdisp.c return make_fixnum (PT); PT 26610 src/xdisp.c pos_visible_p (w, PT, &d1, &d2, &d3, &d4, &d5, &nrow); PT 27003 src/xdisp.c SET_TEXT_POS (lpoint, PT, PT_BYTE); PT 28500 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);