1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
Gerd Moellmann
d4aff7ccfc (some-window): New function.
(walk-windows): Remove reference to walk-windows-start.

(walk-windows): Guarantee termination by keeping a list
of all the windows already handled.
2000-07-03 09:17:25 +00:00
Gerd Moellmann
c16c855b51 (count-screen-lines): New function.
(shrink-window-if-larger-than-buffer): Use count-screen-lines
instead of window-buffer-height.
2000-04-19 19:07:56 +00:00
Gerd Moellmann
aeb721fe9c (walk-windows): If ALL-FRAMES is a frame,
start on that frame.  Use save-selected-window.
1999-11-01 12:15:41 +00:00
Karl Heuer
f848e2e028 (shrink-window-if-larger-than-buffer): Don't try to
back up from beginning of buffer.
1999-08-15 04:56:33 +00:00
Karl Heuer
2de3834bb5 (shrink-window-if-larger-than-buffer):
Don't try to redisplay with the cursor at the end
on its own line--that would force a scroll and spoil things.
1999-03-17 04:49:21 +00:00
Richard M. Stallman
3b134005bb (window-buffer-height): New function, split from
shrink-window-if-larger-than-buffer.
(shrink-window-if-larger-than-buffer): Use window-buffer-height.
1998-11-22 17:26:33 +00:00
Richard M. Stallman
dd1455c208 (split-window-horizontally): Doc fix. 1998-08-06 05:50:47 +00:00
Karl Heuer
b70b2dd2c0 (shrink-window-if-larger-than-buffer):
Switch to the specified window and its buffer at the outset.
(count-windows): Doc fix.
1998-06-01 21:49:43 +00:00
Richard M. Stallman
3e9890d1eb (split-window-vertically): Doc fix. 1998-05-24 18:29:22 +00:00
Richard M. Stallman
c81845b60c (quit-window): Fixed FRAME to be the frame and never window. 1998-05-07 04:05:28 +00:00
Richard M. Stallman
eed1360c12 (quit-window): Don't try to switch buffers
in a dedicated window or a minibuffer window.
Treat minibuffer window as dedicated in other ways too.
1998-04-30 04:23:59 +00:00
Richard M. Stallman
3d2f23d923 (quit-window): New command.
(shrink-window-if-larger-than-buffer):
Bind text-height in the let*.
(view-return-to-alist): Add defvar.
1998-03-09 00:37:11 +00:00
Richard M. Stallman
93289e14f2 (shrink-window-if-larger-than-buffer):
Use compute-motion, instead of inserting newlines.
1997-07-01 07:07:44 +00:00
Richard M. Stallman
c361280d2c (split-window-save-restore-data): New function that
for view mode buffers saves information in view-return-to-alist.
(split-window-vertically, split-window-horizontally):
Call split-window-save-restore-data.
1997-06-17 05:10:06 +00:00
Richard M. Stallman
30e19aee85 Use defcustom. 1997-05-05 15:06:25 +00:00
Richard M. Stallman
b691df0c08 (kill-buffer-and-window): New command.
Bind it to C-x 4 0.
1996-10-26 16:06:37 +00:00
Richard M. Stallman
c7d031edbe (walk-windows): Doc fix. 1996-04-26 03:03:28 +00:00
Richard M. Stallman
5aa29df889 (walk-windows): Doc fix. 1996-04-21 05:53:27 +00:00
Karl Heuer
c6897d8e06 (count-windows): Doc fix. 1996-03-18 23:58:51 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
4464514e6e (split-window-vertically): Don't change point in old
window if both the original point and the end of the buffer are
visible after splitting, when split-window-keep-point is nil.
1995-12-25 19:14:56 +00:00
Richard M. Stallman
3ca9dd8d9f (balance-windows): Don't count the menu bar's lines in the frame height. 1995-11-11 23:51:44 +00:00
Karl Heuer
7f77f3c86d (save-selected-window): New macro. 1995-06-11 19:27:57 +00:00
Richard M. Stallman
04ea572f64 (walk-windows): Doc fix. 1995-04-08 19:41:54 +00:00
Richard M. Stallman
0d624ea45a (minibuffer-window-active-p): Use active-minibuffer-window. 1995-03-29 07:14:38 +00:00
Richard M. Stallman
82e6d8cb34 (one-window-p, walk-windows, minibuffer-window-active-p): Functions moved here. 1995-03-22 16:57:58 +00:00
Richard M. Stallman
ce27e1b0b3 (balance-windows): Ignore minibuffer window when browsing the `levels'. 1995-03-15 23:06:57 +00:00
Richard M. Stallman
cf1b1bf8c0 (shrink-window-if-larger-than-buffer): Use WINDOW's frame
for all actions that operate on a frame.  Set WINDOW to selected
window if it was nil.
1994-09-22 20:00:48 +00:00
Richard M. Stallman
c09603e9d2 (shrink-window-if-larger-than-buffer):
Do nothing in minibuffer-only frame.
1994-09-16 08:11:26 +00:00
Richard M. Stallman
ad656bdc4e (shrink-window-if-larger-than-buffer):
Use frame-width, not screen-width.
1994-09-15 03:10:00 +00:00
Richard M. Stallman
30f2e5cc54 (shrink-window-if-larger-than-buffer): Doc fix. 1994-09-09 21:35:42 +00:00
Richard M. Stallman
e90fc79285 (shrink-window-if-larger-than-buffer):
Don't make the window shorter than window-min-height.
1994-08-30 23:56:15 +00:00
Karl Heuer
0ef2c2f2e6 (split-window-horizontally): If size is negative, measure from the right. 1994-08-18 21:03:37 +00:00
Karl Heuer
8f1204db34 Update copyright. 1994-05-03 23:47:06 +00:00
Richard M. Stallman
1de8d93d08 (shrink-window-if-larger-than-buffer):
Do nothing for side-by-side windows.
1994-04-16 00:06:58 +00:00
Karl Heuer
ab94bf9f4c (split-window-vertically): If size is negative, measure from bottom. 1994-04-05 00:49:58 +00:00
Karl Heuer
5e2ec73efb (shrink-window-if-larger-than-buffer): Don't shrink if the window that would
expand is the minibuffer.
1994-02-21 21:40:59 +00:00
Roland McGrath
5ed8d62f52 (shrink-window-if-larger-than-buffer): Pass WINDOW to
pos-visible-in-window-p.
1993-08-03 06:38:26 +00:00
Richard M. Stallman
3eb217a0b3 (shrink-window-if-larger-than-buffer): Do nothing if the
window is the only window of its frame.  If the buffer ends in newline
and point is not at the end of the buffer, don't display last (empty) line.
1993-07-31 01:08:48 +00:00
Richard M. Stallman
7162c5c4dc (balance-windows): Total rewrite. 1993-06-14 07:11:15 +00:00
Richard M. Stallman
1216975440 (count-windows): PROC argument of walk-windows takes an argument. 1993-06-01 00:54:52 +00:00
Richard M. Stallman
d0bee390dd (shrink-window-if-larger-than-buffer): Add `interactive'.
Do nothing if window contents not entirely visible.
1993-05-31 04:56:19 +00:00
Richard M. Stallman
2ed3f64ccc (split-window-vertically): Return the new window. 1993-05-29 16:13:16 +00:00
Eric S. Raymond
a0900d9fca (shrink-window-if-larger-than-buffer): Moved from electric.el to windows.el,
minor bug fix.  This is to avoid code duplication between vc.el,
electric.el, and finder.el.

(ctl-x-map): Added C-x - and C-x + as bindings for
shrink-window-if-larger-than-buffer and balance-windows respectively.
Since shrink-window-if-larger-than-buffer has to live here anyhow, let
users use it to manage screen space.
1993-04-14 03:34:44 +00:00
Eric S. Raymond
5814274441 entered into RCS 1992-07-22 02:58:48 +00:00
Richard M. Stallman
83b5d75750 *** empty log message *** 1992-07-19 05:05:19 +00:00
Jim Blandy
0cc89026be *** empty log message *** 1992-07-15 03:24:58 +00:00
Eric S. Raymond
d46bac56ad *** empty log message *** 1992-07-14 19:42:01 +00:00
Jim Blandy
492878e483 *** empty log message *** 1992-06-10 02:47:07 +00:00
Richard M. Stallman
69037c38af *** empty log message *** 1992-06-08 03:55:58 +00:00