Eli Zaretskii
a55ca73cd0
(Fget_lru_window): Doc fix.
2007-03-31 10:17:07 +00:00
Richard M. Stallman
3c9bbf9fa4
(Fdisplay_buffer): Doc fix.
2007-03-04 18:27:10 +00:00
Eli Zaretskii
c85322d040
(Fwindow_height, Fwindow_hscroll)
...
(Fwindow_redisplay_end_trigger, Fwindow_point, Fwindow_start)
(Fwindow_end, Fwindow_display_table, Fwindow_text_height):
Document the effect of WINDOW arg being nil.
2007-02-10 11:57:10 +00:00
Glenn Morris
4e6835dbc4
Add 2007 to copyright years.
2007-01-21 04:57:37 +00:00
Chong Yidong
5fc6520d96
(set_window_buffer): Revert 2006-11-22 change.
2007-01-20 21:03:39 +00:00
Juanma Barranquero
4c9564e82d
(Fwindow_end): Fix use of >= operator.
2007-01-04 00:19:11 +00:00
Richard M. Stallman
dfc265a31f
(Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF.
2007-01-03 23:28:08 +00:00
Kim F. Storm
7d1d98ee4b
(Frecenter): Set minimize_tool_bar_window_p flag
...
when called without arg to redraw with minimum toolbar height.
Update doc string.
2006-12-29 23:29:27 +00:00
Kim F. Storm
4b0d202072
(set_window_buffer): Refactor recent changes.
2006-11-27 16:00:59 +00:00
Chong Yidong
ae4e78dae7
(set_window_buffer): Use BLOCK_INPUT.
2006-11-25 04:18:11 +00:00
Chong Yidong
7f43b5153a
(set_window_buffer): Clear mouse highlight if it is in this window.
2006-11-22 15:10:06 +00:00
Juanma Barranquero
473d3c06d8
(Fdisplay_buffer): Fix typo in docstring.
2006-10-28 22:03:51 +00:00
Kim F. Storm
68e67a4ed1
(Fpos_visible_in_window_p): Doc fix.
2006-09-20 10:14:46 +00:00
Kim F. Storm
120b778160
(Fset_window_hscroll, Fpos_visible_in_window_p):
...
Doc fix. Use "off-window" instead of "off-screen".
(Fpos_visible_in_window_p): Likewise.
If POS is t, return info for last visible glyph in window.
2006-09-20 09:43:25 +00:00
Stefan Monnier
31790df395
(Fwindow_end): Fix recent change.
2006-09-19 16:32:07 +00:00
Kim F. Storm
7bbc67d20f
(Fset_window_hscroll, Fpos_visible_in_window_p):
...
Doc fix. Use "off-screen" instead of "invisible".
(Fwindow_line_height): Make line numbers 0-based. Make line arg
optional; if nil, use current cursor row. Handle text terminals
properly. Return nil if non-interactive or pseudo-window.
2006-09-19 13:12:26 +00:00
Kim F. Storm
536833ab88
(Fwindow_line_visibility): Remove.
...
(Fwindow_line_height): New defun replacing it.
(syms_of_window): Defsubr it.
2006-09-18 11:11:23 +00:00
Kim F. Storm
b3a1034515
(Fwindow_line_visibility): New defun for line-move-partial.
...
(syms_of_window): Defsubr it.
(Fwindow_end): Use window's buffer rather than current buffer.
2006-09-15 21:04:28 +00:00
Kim F. Storm
5a857365b5
(Fpos_visible_in_window_p): Adapt to new pos_visible_p.
...
Return row height and row number for partially visible rows.
Modify return value to a 2 element list for fully visible rows
and 6 for partially visible row.
(window_scroll_pixel_based): Use pos_visible_p directly instead of
Fpos_visible_in_window_p. Fix auto vscrolling for partially visible lines.
Only vscroll backwards if already vscrolled forwards. Unconditionally
vscroll forwards if PT is first (and only) line. Set new window start
instead of scrolling at start/end of tall line.
2006-09-05 22:49:43 +00:00
Eli Zaretskii
bdbae5b870
(syms_of_window) <split-height-threshold>:
...
<window-min-height, window-min-width>: Doc fix.
2006-09-02 21:19:21 +00:00
Richard M. Stallman
017e297ea9
Comment change.
2006-08-18 01:52:19 +00:00
Nick Roberts
d46c6df554
(Fset_window_fringes): Do nothing on a tty.
...
(Fwindow_fringes): Put ? operator after the line break.
2006-08-17 21:00:44 +00:00
Kim F. Storm
ba96a5cfd4
(window_scroll_pixel_based, window_scroll_line_based):
...
Use xsignal0.
2006-07-18 13:29:55 +00:00
Kim F. Storm
663fbbba4d
(Fwindow_configuration_frame, Fset_window_configuration):
...
(compare_window_configurations): Use CHECK_WINDOW_CONFIGURATION.
2006-07-12 13:22:00 +00:00
Kim F. Storm
5a1048a548
(Fforce_window_update): Doc fix.
2006-07-08 22:28:49 +00:00
Richard M. Stallman
5fe0b054a2
(size_window): New arg FIRST_ONLY. All callers changed.
...
(adjust_window_trailing_edge): Specially compute FIRST_PARALLEL
for the case of a top-level window and the following minibuffer.
Don't exit because of no `next' when there is a parent.
Use the FIRST_ONLY feature when resizing following windows.
2006-06-19 21:59:30 +00:00
Richard M. Stallman
c32de52a4f
(adjust_window_trailing_edge): Don't break out of the loop
...
because there's no next window, if there are parallel windows.
Do break out when WINDOW is nil.
2006-06-13 23:07:56 +00:00
Eli Zaretskii
cf402f3fd4
(window_scroll_pixel_based): Signal "Beginning of buffer" when scroll-down
...
at the beginning of an empty buffer.
2006-06-09 09:05:17 +00:00
Richard M. Stallman
19ca94ce90
(Fsplit_window): Doc fix.
2006-06-02 02:12:45 +00:00
Stefan Monnier
6ad0381ce1
(struct saved_window): Add `dedicated'.
...
(Fset_window_configuration, save_window_save): Save/restore the
`dedicated' flag.
2006-05-29 01:05:24 +00:00
YAMAMOTO Mitsuharu
76fb556f52
(foreach_window): Check WINDOWP (FRAME_ROOT_WINDOW (f)).
2006-05-19 09:12:26 +00:00
Eli Zaretskii
9297079e2d
(Fdisplay_buffer): Doc fix.
2006-04-21 11:55:17 +00:00
Richard M. Stallman
bd99e2429e
(adjust_window_trailing_edge): Correctly distinguish
...
series vs parallel cases, even when window has no parent.
2006-04-18 20:56:31 +00:00
Kim F. Storm
3f489dc760
(window_loop): Test w->dedicated with !NILP instead of EQ Qt.
...
(window_scroll_pixel_based): Fix off-by-one bug in 2002-12-23 change.
2006-04-17 21:50:59 +00:00
Nick Roberts
f8c62b7037
(coordinates_in_window): On the vertical border, calculate the row number
...
measured from the top of the window, not the top of the frame.
2006-04-17 00:24:50 +00:00
Stefan Monnier
7d6194544e
(window_scroll_pixel_based): Yet another int/Lisp_Object mixup (YAILOM).
2006-03-20 22:22:25 +00:00
Luc Teirlinck
66fe93d1c2
Rename preserve_y to window_scroll_pixel_based_preserve_y.
...
(window_scroll_pixel_based, syms_of_window): Adapt to above change.
2006-03-11 16:46:38 +00:00
Luc Teirlinck
66d43aea54
Declare preserve_y as a static global variable.
...
(window_scroll_pixel_based): No longer declare preserve_y; it is global now.
(syms_of_window): set preserve_y to -1.
2006-03-09 03:43:23 +00:00
Chong Yidong
c525d842f8
* xselect.c (x_catch_errors_unwind): New function.
...
(x_reply_selection_request): Put x_uncatch_errors in an unwind.
(Fx_get_atom_name): Call x_uncatch_errors earlier.
* window.c (Qscroll_up, Qscroll_down): New syms.
(window_scroll_pixel_based): Make preserve_y static to avoid
getting point stuck when scrolling 1 line.
2006-02-28 14:52:46 +00:00
Stefan Monnier
acc6289a44
(Fwindow_list): Check `window' before doing XWINDOW.
...
The default `window' should not be "on a different frame".
2006-02-22 21:01:34 +00:00
Chong Yidong
da7520dea4
* window.c (window_min_size_1): Ensure room for the scroll bar and
...
fringes.
2006-02-18 22:17:09 +00:00
Juanma Barranquero
a53d44a857
(Fset_window_scroll_bars): Doc fix.
2006-02-17 15:02:30 +00:00
Jan Djärv
e99c752190
* window.c (adjust_window_trailing_edge): Check that shrinking
...
does not set a window to size zero or less.
2006-02-08 13:39:52 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Juanma Barranquero
8cd0d6614d
(Fother_window, Fwindow_vscroll, Fset_window_vscroll): Fix typos in docstrings.
2006-01-30 16:11:29 +00:00
Richard M. Stallman
56ebfae2ca
(enlarge_window): Eliminate arg preserve_before.
...
Assume it is 0. All callers changed.
(Fenlarge_window, Fshrink_window): Likewise.
2005-12-06 02:03:23 +00:00
Stefan Monnier
e67a1dea3e
(Fset_window_configuration): Don't accidentally copy the
...
window-point of one window to another.
2005-12-01 16:25:15 +00:00
Richard M. Stallman
0d384044c4
(adjust_window_trailing_edge): New function.
...
(Fadjust_window_trailing_edge): New function.
(syms_of_window): defsubr it.
(window_deletion_count): New variable.
(delete_window): Update window_deletion_count.
2005-11-27 19:16:28 +00:00
Stefan Monnier
20b69789f3
(Fget_lru_window, Fget_largest_window, window_loop):
...
Don't abuse the `mini' arg. Use the `obj' arg instead.
2005-11-04 21:37:03 +00:00
Richard M. Stallman
5afc696a37
(Fenlarge_window): Rename SIDE to HORIZONTAL.
...
(enlarge_window): Rename WIDTHFLAG to HORIZ_FLAG.
(CURBEG, CURSIZE): Use HORIZ_FLAG instead of WIDTHFLAG.
2005-11-03 21:13:57 +00:00