Searched refs:ZV (Results 1 - 25 of 35) sorted by relevance

12

/macosx-10.10.1/emacs-93/emacs/src/
H A Dcmds.c83 if (new_point > ZV)
85 SET_PT (ZV);
136 shortage = scan_newline (PT, PT_BYTE, ZV, ZV_BYTE, count, 1);
148 || (ZV > BEGV
218 else if (PT > newpos && PT < ZV
255 if (pos > ZV)
304 && ! (PT == ZV || FETCH_BYTE (PT_BYTE) == '\n'))
414 && PT < ZV)
532 /* Test PT < ZV in case the auto-fill-function is strange. */
533 if (c == '\n' && PT < ZV)
84 SET_PT (ZV); variable
[all...]
H A Dinsdel.c476 if (ZV == ZV_BYTE
1027 ZV += nchars;
1164 ZV += nchars;
1317 ZV += nchars;
1383 ZV += len; Z+= len;
1441 ZV += len; Z+= len;
1492 ZV -= len; ZV_BYTE -= len_byte;
1542 if (to > ZV)
1543 to = ZV;
1583 ZV
[all...]
H A Dundo.c510 SET_PT (clip_to_bounds (BEGV, XINT (next), ZV));
553 if (XINT (beg) < BEGV || XINT (end) > ZV)
562 || XINT (cdr) > ZV)
613 if (-pos < BEGV || -pos > ZV)
620 if (pos < BEGV || pos > ZV)
H A Dminibuf.c383 if (XINT (end) == ZV && NILP (Fget_char_property (beg, Qfield, Qnil)))
396 return make_buffer_string (prompt_end, ZV, 1);
406 return make_buffer_string (prompt_end, ZV, 0);
429 if (prompt_end < ZV)
430 del_range (prompt_end, ZV);
2029 && PT < ZV
2148 tem = Fpos_visible_in_window_p (make_number (ZV), window, Qnil);
2167 if (PT != ZV)
2168 Fgoto_char (make_number (ZV));
2173 if (PT != ZV)
2234 SET_PT (ZV); variable
[all...]
H A Dsyntax.h289 gl_state.e_property = ZV + 1; \
322 gl_state.e_property = ZV - BEGV + 1; \
H A Dabbrev.c277 if (wordstart < BEGV || wordstart > ZV)
279 if (wordstart && wordstart != ZV)
447 || last_abbrev_point > ZV)
460 zv_before = ZV;
468 adjust = ZV - zv_before;
H A Dcomposite.c465 if (to < ZV
494 if (! (BEGV <= from && from <= to && to <= ZV))
514 else if (from < ZV
546 else if (to < ZV
675 if (XINT (pos) < BEGV || XINT (pos) > ZV)
H A Dindent.c264 && end < ZV)
851 pos = skip_invisible (pos, &next_boundary, ZV, Qnil);
962 end = ZV;
1174 Pass the buffer's ZV as TO, to limit the scan to the end of the
1503 if (pos == ZV) /* We cannot go beyond ZV. Stop here. */
1854 if (XINT (from) < BEGV || XINT (from) > ZV)
1855 args_out_of_range_3 (from, make_number (BEGV), make_number (ZV));
1856 if (XINT (to) < BEGV || XINT (to) > ZV)
1857 args_out_of_range_3 (to, make_number (BEGV), make_number (ZV));
[all...]
H A Dbuffer.h46 #define ZV (current_buffer->zv) macro
80 #define NARROWED ((BEGV != BEG) || (ZV != Z))
100 (((BYTEPOS) < GPT_BYTE && GPT < ZV ? GPT_BYTE : ZV_BYTE) - 1)
233 /* Macros for setting the BEGV, ZV or PT of a given buffer.
712 ZV for this buffer when the buffer is not current. */
H A Deditfns.c293 else if (pos > ZV)
294 SET_PT_BOTH (ZV, ZV_BYTE);
303 pos = clip_to_bounds (BEGV, XINT (position), ZV);
628 *end = NILP (pos) ? ZV : XFASTINT (pos);
1070 XSETFASTINT (temp, ZV);
1080 return buildmark (ZV, ZV_BYTE);
1134 if (PT >= ZV)
1175 if (PT == ZV)
1194 if (PT == ZV || FETCH_BYTE (PT_BYTE) == '\n')
1223 if (XINT (pos) < BEGV || XINT (pos) >= ZV)
[all...]
H A Dsearch.c604 If END is zero, use BEGV or ZV instead, as appropriate for the
631 if (! end) end = ZV;
961 lim = ZV, lim_byte = ZV_BYTE;
971 if (lim > ZV)
972 lim = ZV, lim_byte = ZV_BYTE;
998 if (lim < BEGV || lim > ZV)
1011 if (np < BEGV || np > ZV)
2358 || search_regs.end[sub] > ZV)
2556 opoint = PT - ZV;
2558 opoint = search_regs.end[sub] - ZV;
[all...]
H A Dintervals.c2006 if ((adj < 0 && pos + adj < BEGV) || (adj > 0 && pos + adj > ZV))
2127 && charpos != BEGV && charpos != ZV)
2281 else if (PT < position && XINT (pos) < ZV)
2307 while (XINT (pos) < ZV
2315 else if (position > ZV)
2316 position = ZV;
H A Dcasefiddle.c348 farend = iarg > 0 ? ZV : BEGV;
H A Dxdisp.c784 /* Move ended at the requested buffer position or ZV. */
1257 else if (IT_CHARPOS (*it) < ZV)
1353 if (IT_CHARPOS (it) < ZV && FETCH_BYTE (IT_BYTEPOS (it)) != '\n')
2483 && charpos <= ZV));
2708 it->end_charpos = ZV;
2943 front of that overlay string. When POS is ZV, we've thereby
2944 also ``processed'' overlay strings at ZV. */
2949 if (CHARPOS (pos->pos) == ZV)
3522 if ((IT_CHARPOS (*it) >= ZV && !before_p)
3656 ZV o
[all...]
H A Dwindow.c1217 else if (XMARKER (w->start)->charpos > ZV)
1218 SET_TEXT_POS (startp, ZV, ZV_BYTE);
3479 else if (new_point > ZV)
3480 SET_PT (ZV);
3876 ZV = Z;
4930 means don't signal an error if we try to move over BEGV or ZV,
5045 spos = min (XINT (Fline_end_position (Qnil)) + 1, ZV);
5096 we would end up at the start of the line ending at ZV. */
5108 move_it_to (&it, ZV, -1, it.current_y + dy, -1,
5113 && start_pos < ZV)
3473 SET_PT (ZV); variable
[all...]
H A Dbuffer.c398 to handle BEGV and ZV. */
1842 /* If the old current buffer has markers to record PT, BEGV and ZV
1872 /* If the new current buffer has markers to record PT, BEGV and ZV
1938 /* If the old current buffer has markers to record PT, BEGV and ZV
1963 /* If the new current buffer has markers to record PT, BEGV and ZV
2118 && XINT (*e) <= ZV))
2175 int narrowed = (BEG != BEGV || Z != ZV);
2199 begv = BEGV, zv = ZV;
2217 ZV = ZV_BYTE;
2351 ZV
[all...]
H A Dcoding.c5655 len = ZV - BEGV;
5740 ZV -= len;
5831 ZV += add; Z += add; ZV_BYTE += add; Z_BYTE += add;
5835 ZV -= add; Z -= add; ZV_BYTE -= add; Z_BYTE -= add;
5946 ZV += add; Z += add; ZV_BYTE += add; Z_BYTE += add;
5950 ZV -= add; Z -= add; ZV_BYTE -= add; Z_BYTE -= add;
5963 ZV += inserted_byte; Z += inserted_byte;
5968 ZV -= inserted_byte; Z -= inserted_byte;
5983 ZV -= total_skip; ZV_BYTE -= total_skip;
6090 if (BEG != BEGV || Z != ZV)
[all...]
H A Dfileio.c4031 && BEGV < ZV
4191 - (same_at_end + st.st_size - ZV));
4222 if (!NILP (replace) && ! replace_handled && BEGV < ZV)
4544 ZV += inserted;
5063 XSETFASTINT (end, ZV);
5087 XSETFASTINT (end, ZV);
5235 scan_newline (PT, PT_BYTE, ZV, ZV_BYTE, 1, 0);
5443 XSETFASTINT (end, ZV);
5470 XSETFASTINT (end, ZV);
H A Dtextprop.c833 XSETFASTINT (limit, ZV);
840 if (XFASTINT (position) > ZV)
841 XSETFASTINT (position, ZV);
H A Dfontset.c1319 if (pos < BEGV || pos >= ZV)
1320 args_out_of_range_3 (position, make_number (BEGV), make_number (ZV));
H A Dprocess.c5261 old_zv = ZV;
5271 SET_PT_BOTH (clip_to_bounds (BEGV, marker_position (p->mark), ZV),
5275 SET_PT_BOTH (ZV, ZV_BYTE);
5281 if (! (BEGV <= PT && PT <= ZV))
5355 if (old_begv != BEGV || old_zv != ZV)
5767 start = make_number (BEGV), end = make_number (ZV);
6876 SET_PT_BOTH (ZV, ZV_BYTE);
H A Dkeyboard.c1739 if (EQ (Vthis_command, Qforward_char) && PT < ZV)
2007 && PT > BEGV && PT < ZV
2019 && PT > BEGV && PT < ZV
2037 if (check_invisible && PT > BEGV && PT < ZV)
2043 while (end < ZV
2054 end = NATNUMP (tmp) ? XFASTINT (tmp) : ZV;
2098 if (last_pt == beg && PT == end && end < ZV)
9341 && XINT (pos) <= ZV)
H A Dbytecode.c1278 XSETFASTINT (v1, ZV);
H A Dmsdos.c1601 ozv = ZV;
1603 ZV = Z;
1734 && glyph->charpos < ZV)))
1749 ZV = ozv;
H A Ddispnew.c3529 && PT != ZV
3559 if (PT != ZV && FETCH_BYTE (PT_BYTE) != '\n')
3638 it2.end_charpos = ZV;
3639 it2.stop_charpos = min (it2.stop_charpos, ZV);
5938 CHARPOS (startp) = min (ZV, max (BEGV, CHARPOS (startp)));

Completed in 620 milliseconds

12