Juanma Barranquero
c10ce82e3c
(Fset_window_margins, Fset_window_fringes):
...
Improve argument/docstring consistency.
2005-07-21 16:34:51 +00:00
Stefan Monnier
a4429c5b74
(Frecenter): Yet another int/Lisp_Object mixup (YAILOM).
2005-07-11 21:43:20 +00:00
Kim F. Storm
f567c48870
(Frecenter): Remove superfluous settings of iarg.
2005-07-07 09:36:18 +00:00
Kim F. Storm
ae12ecd756
(Frecenter): Fix last change (set iarg before use).
2005-07-07 09:33:29 +00:00
Richard M. Stallman
f6b434405b
(Frecenter): When arg is inside the scroll margin, move it out of the margin.
2005-07-06 22:06:15 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Richard M. Stallman
7ad532392b
(window_scroll_pixel_based): Take account of this_scroll_margin when
...
finding point when scrolling up.
2005-07-03 16:41:48 +00:00
Richard M. Stallman
bdf4ec93fd
(window_scroll_pixel_based, window_scroll_line_based):
...
Handle `scroll-preserve-screen-position' non-nil, non-t specially.
(syms_of_window): <scroll-preserve-screen-position>: Doc fix.
2005-06-29 23:29:01 +00:00
Juanma Barranquero
6e0dca3d12
Fix typo in comment.
2005-06-21 11:29:47 +00:00
Luc Teirlinck
c869384d74
(Fselect_window): Adapt call to Fselect_frame.
2005-06-10 02:36:07 +00:00
Jan Djärv
5494d7bcdb
* window.c (delete_window): Handle the case where a h/vchild has
...
a h/vchild.
2005-06-06 10:38:40 +00:00
Lute Kamstra
f3fbdb1f2d
(Fwindow_inside_edges, Fwindow_inside_pixel_edges): Correct the right value.
2005-05-20 11:18:22 +00:00
Richard M. Stallman
c019856ec3
(Fsame_window_p, Fspecial_display_p): Doc fixes.
...
(syms_of_window): Doc fixes.
2005-04-26 22:42:28 +00:00
Richard M. Stallman
c0e7ccd393
(window_size_fixed): Variable deleted.
...
(syms_of_window): Initialize window-size-fixed to nil.
But don't DEFVAR window_size_fixed.
2005-04-23 16:18:23 +00:00
Kim F. Storm
c21f77c70d
(make_window): Don't initialize overlay_arrow_bitmap.
2005-04-18 14:09:47 +00:00
Stefan Monnier
203eb0aa1d
(Fset_window_configuration): Be careful when you choose
...
among several possible points for the new_current_buffer.
2005-04-12 22:52:52 +00:00
Richard M. Stallman
a46c015333
Comment changes.
2005-04-10 22:02:41 +00:00
Kim F. Storm
aed328bfc3
(window_scroll_pixel_based): When scrolling backwards,
...
handle partial visible line at end of window even when we hit PT.
2005-02-21 22:34:34 +00:00
Kim F. Storm
e856c2162b
(window_scroll_pixel_based): Fix scrolling in the wrong
...
direction if window height was smaller than next-screen-context-lines.
Now always scroll at least one line in the requested direction.
Ensure that we actually do scroll backwards when requested to do so.
2005-01-24 13:22:29 +00:00
Kim F. Storm
5b1ba1e330
* window.c (Fpos_visible_in_window_p): Simplify return value for
...
partially visible rows.
(window_scroll_pixel_based): Adapt to that change.
2005-01-23 13:13:03 +00:00
Kim F. Storm
bed83ee4dd
(window_scroll_pixel_based): Force moving to next line
...
if scrolling doesn't move start point, e.g. if looking at tall image.
2005-01-23 00:50:24 +00:00
Kim F. Storm
e56263e526
(auto_window_vscroll_p): New boolean.
...
(syms_of_window): DEFVAR_BOOL it.
(Fpos_visible_in_window_p): Extend return value to include RTOP
and RBOT values if FULLY is nil.
(window_scroll_pixel_based): Adjust vscroll for partially visible
rows if auto_window_vscroll_p is set.
(Fset_window_vscroll): Do nothing if vscroll is not modified.
2005-01-22 01:41:47 +00:00
Richard M. Stallman
fa3c342659
(window_scroll_pixel_based): Don't correct preserve_y
...
for CURRENT_HEADER_LINE_HEIGHT when moving backwards.
2005-01-04 03:00:21 +00:00
Richard M. Stallman
940f53e5f8
(window_scroll_pixel_based): Only look at
...
Vscroll_preserve_screen_position if the old PT can't be kept.
(syms_of_window) <scroll-preserve-screen-position>: Doc fix.
2004-12-31 15:07:48 +00:00
Richard M. Stallman
0c2cb7536e
(Fget_lru_window, Fget_largest_window): Doc fixes.
2004-12-02 23:24:43 +00:00
Stefan Monnier
0f8fe9a26f
(Fset_window_scroll_bars): Don't use XINT if it isn't int.
...
(decode_next_window_args, window_loop): Don't use XFASTINT blindly.
2004-11-23 05:05:34 +00:00
Kim F. Storm
c49a049515
(set_window_buffer): Clear display_error_modiff.
2004-11-22 23:26:13 +00:00
Stefan Monnier
2a1893f46c
Avoid side-effects inside XSETFASTINT's arguments.
2004-11-16 15:35:14 +00:00
Jan Djärv
ef614e04c3
* window.c (shrink_windows): Handle special case of one window left
...
when trying to shrink the final reminder. Grow windows if
total_removed is less than total_shrink.
2004-11-14 11:59:21 +00:00
Kim F. Storm
f204989e2e
(window_scroll_pixel_based, Frecenter): Use
...
move_it_vertically_backward directly.
(Frecenter): Fix calculation of new start pos for negative arg.
Before, the new start pos was sometimes chosen too far back, so
the last line became only partially visible, and thus would be
either only semi-visible or automatically scrolled to the middle
of the window by redisplay.
2004-11-12 14:26:53 +00:00
Kim F. Storm
d0c38d631d
Fix commentary.
2004-11-09 11:16:32 +00:00
Andreas Schwab
a93563fdf6
(Fscroll_right): Fix last change.
2004-11-02 14:42:40 +00:00
Richard M. Stallman
dc297565e7
(window_scroll_pixel_based): Update preserve_y for header line if any.
...
(Fscroll_left, Fscroll_right): Don't call interactive_p;
use a new second argument instead.
2004-11-02 09:06:06 +00:00
Richard M. Stallman
d99b4859a0
(Fspecial_display_p): Doc fix.
2004-10-16 14:51:39 +00:00
Kim F. Storm
cb639b8f7c
(coordinates_in_window): Relax check for cursor
...
on vertial border between mode lines.
(Fset_window_fringes): Do not allow negative widths.
(Fset_window_scroll_bars): Likewise.
2004-10-04 13:46:19 +00:00
Richard M. Stallman
6cb4a89232
(Fset_window_buffer): Doc fix.
2004-09-09 02:10:48 +00:00
Stefan Monnier
1725a7c935
(window_list_1): YAILOM.
2004-08-07 21:07:57 +00:00
Kim F. Storm
ec2b66c4c2
(window_scroll_line_based): Let compute_motion
...
calculate actual window width.
2004-08-02 15:06:25 +00:00
Richard M. Stallman
6487f66967
(coordinates_in_window): Return ON_SCROLL_BAR
...
instead of ON_VERTICAL_BORDER, when on scroll bar.
(Fcoordinates_in_window_p): Handle ON_SCROLL_BAR--return nil.
2004-07-25 17:43:57 +00:00
Richard M. Stallman
81159bb955
(Fcoordinates_in_window_p): Take account of FRAME_INTERNAL_BORDER_WIDTH.
2004-07-25 17:36:07 +00:00
Richard M. Stallman
2c77cf3b92
(Fwindow_at): Take account of FRAME_INTERNAL_BORDER_WIDTH.
2004-07-24 21:38:22 +00:00
Kim F. Storm
7a146de213
(make_window): Initialize nrows_scale_factor and
...
ncols_scale_factor members.
2004-07-21 21:08:45 +00:00
Luc Teirlinck
a0a37a6f54
(Fpos_visible_in_window_p, Fset_window_hscroll)
...
(Fwindow_inside_pixel_edges, Fwindow_end, Fset_window_point)
(Fset_window_start, Fscroll_up, Fscroll_down)
(Fother_window_for_scrolling, Fscroll_other_window)
(Fsave_window_excursion, Fset_window_vscroll)
(syms_of_window) <window-size-fixed>: Doc fixes.
2004-07-19 21:57:05 +00:00
Richard M. Stallman
403de3b40e
(coordinates_in_window): Inside the window but outside
...
its box to the L or R, return ON_VERTICAL_BORDER.
(window_list_1): Rotate the list to start with WINDOW.
2004-07-17 14:59:02 +00:00
Luc Teirlinck
c275592693
(Fwindow_buffer, Fother_window, Fget_lru_window)
...
(Fget_largest_window, Fget_buffer_window, Fdelete_windows_on)
(Freplace_buffer_in_windows, Fset_window_buffer)
(Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes.
(syms_of_window): Expand docstring of `display-buffer-function'.
2004-07-11 01:20:03 +00:00
Richard M. Stallman
3cb7143cd8
(syms_of_window): Doc fix.
2004-06-21 03:23:27 +00:00
Richard M. Stallman
e963215c44
(Fselect_window): Doc fix.
2004-06-13 22:27:53 +00:00
Glenn Morris
876e266514
(Fdisplay_buffer, Fsplit_window, split-height-threshold): Doc fix.
2004-05-13 00:33:27 +00:00
Juanma Barranquero
ab80314baa
(Fset_window_buffer): Fix docstring.
2004-05-07 00:45:53 +00:00
Kim F. Storm
0cc1039fe1
(Fpos_visible_in_window_p): Return pixel position if
...
PARTIALLY arg is non-nil. Simplify. Doc fix.
(Fwindow_vscroll, Fset_window_vscroll): Add optional PIXEL_P arg
to return/set vscroll in pixels.
2004-04-20 22:18:33 +00:00