summaryrefslogtreecommitdiff
path: root/lisp/window.el
Commit message (Collapse)AuthorAgeFilesLines
* (get-window-with-predicate): Renamed from some-window.Gerd Moellmann2001-09-071-1/+4
| | | | (some-window): Make it an alias.
* Add Keywords header.Gerd Moellmann2001-09-041-0/+1
|
* Some fixes to follow coding conventions in files maintained by FSF.Pavel Janík2001-07-151-2/+1
|
* (shrink-window-if-larger-than-buffer): Handle frameGerd Moellmann2001-03-081-3/+8
| | | | parameter `(minibuffer . t)'.
* (fit-window-to-buffer, window-safely-shrinkable-p)Eli Zaretskii2001-02-231-1/+4
| | | | (shrink-window-if-larger-than-buffer): Doc fix.
* (mode-line-window-height-fudge):Miles Bader2000-12-151-53/+0
| | | | | | Function removed. (height-affecting-face-attributes, mode-line-window-height-fudge): Variables removed.
* (window-text-height): Function removed (now in C).Miles Bader2000-12-111-23/+0
|
* (fit-window-to-buffer): Don't pass last argument toMiles Bader2000-12-081-1/+1
| | | | pos-visible-in-window-p, now that its meaning is inverted.
* (fit-window-to-buffer): Handle non-nil `truncate-lines'.Miles Bader2000-12-011-3/+11
|
* General comment and spacing fixes.Stefan Monnier2000-11-211-19/+32
| | | | | | (save-selected-window): Use backquotes. (window-safely-shrinkable-p): New function. (shrink-window-if-larger-than-buffer): Use it.
* (fit-window-to-buffer): Fix previous change.Kenichi Handa2000-11-161-3/+1
|
* (fit-window-to-buffer): Be sure to acquire at leastKenichi Handa2000-11-161-1/+8
| | | | one text line even if the buffer is empty.
* (fit-window-to-buffer): Handle windows without mode-lines.Miles Bader2000-11-141-31/+40
| | | | | Handle header-lines. Don't loop forever if we can't enlarge the window anymore. Simplify a bit.
* (fit-window-to-buffer): Don't checkKenichi Handa2000-11-141-8/+20
| | | | window-text-height. Assure that the last line is fully visible.
* (fit-window-to-buffer): Adjust point of the window buffer, not that ofKenichi Handa2000-10-241-2/+3
| | | | the current buffer.
* (fit-window-to-buffer): Change defaulting of MAX-HEIGHT slightly.Miles Bader2000-10-221-5/+3
|
* (window-text-height): Don't expect minibuffers to have mode-lines.Miles Bader2000-10-221-1/+2
|
* (fit-window-to-buffer): New function.Miles Bader2000-10-211-30/+65
| | | | (shrink-window-if-larger-than-buffer): Use it.
* (set-window-text-height): Force window-min-height to 1.Miles Bader2000-10-201-6/+6
|
* (window-text-height, set-window-text-height): New functions.Miles Bader2000-10-201-8/+56
| | | | | | (shrink-window-if-larger-than-buffer): Use `window-text-height' instead of `window-height' & `mode-line-window-height-fudge'. (mode-line-window-height-fudge): Add FACE parameter.
* (height-affecting-face-attributes): Use `defconst'.Miles Bader2000-10-201-5/+18
|
* (mode-line-window-height-fudge): New variable.Miles Bader2000-10-201-9/+42
| | | | | | (height-affecting-face-attributes): New variable. (mode-line-window-height-fudge): New function. (shrink-window-if-larger-than-buffer): Use it.
* (shrink-window-if-larger-than-buffer): If faceGerd Moellmann2000-09-201-3/+9
| | | | | `mode-line' has a :box, and we're on a graphical frame, add 1 to the needed window height.
* (some-window): New function.Gerd Moellmann2000-07-031-4/+41
| | | | | | | (walk-windows): Remove reference to walk-windows-start. (walk-windows): Guarantee termination by keeping a list of all the windows already handled.
* (count-screen-lines): New function.Gerd Moellmann2000-04-191-2/+42
| | | | | (shrink-window-if-larger-than-buffer): Use count-screen-lines instead of window-buffer-height.
* (walk-windows): If ALL-FRAMES is a frame,Gerd Moellmann1999-11-011-7/+11
| | | | start on that frame. Use save-selected-window.
* (shrink-window-if-larger-than-buffer): Don't try toKarl Heuer1999-08-151-1/+1
| | | | back up from beginning of buffer.
* (shrink-window-if-larger-than-buffer):Karl Heuer1999-03-171-0/+4
| | | | | Don't try to redisplay with the cursor at the end on its own line--that would force a scroll and spoil things.
* (window-buffer-height): New function, split fromRichard M. Stallman1998-11-221-35/+32
| | | | | shrink-window-if-larger-than-buffer. (shrink-window-if-larger-than-buffer): Use window-buffer-height.
* (split-window-horizontally): Doc fix.Richard M. Stallman1998-08-061-1/+3
|
* (shrink-window-if-larger-than-buffer):Karl Heuer1998-06-011-28/+29
| | | | | Switch to the specified window and its buffer at the outset. (count-windows): Doc fix.
* (split-window-vertically): Doc fix.Richard M. Stallman1998-05-241-1/+1
|
* (quit-window): Fixed FRAME to be the frame and never window.Richard M. Stallman1998-05-071-1/+1
|
* (quit-window): Don't try to switch buffersRichard M. Stallman1998-04-301-2/+4
| | | | | in a dedicated window or a minibuffer window. Treat minibuffer window as dedicated in other ways too.
* (quit-window): New command.Richard M. Stallman1998-03-091-1/+50
| | | | | | (shrink-window-if-larger-than-buffer): Bind text-height in the let*. (view-return-to-alist): Add defvar.
* (shrink-window-if-larger-than-buffer):Richard M. Stallman1997-07-011-51/+38
| | | | Use compute-motion, instead of inserting newlines.
* (split-window-save-restore-data): New function thatRichard M. Stallman1997-06-171-2/+13
| | | | | | for view mode buffers saves information in view-return-to-alist. (split-window-vertically, split-window-horizontally): Call split-window-save-restore-data.
* Use defcustom.Richard M. Stallman1997-05-051-2/+4
|
* (kill-buffer-and-window): New command.Richard M. Stallman1996-10-261-1/+11
| | | | Bind it to C-x 4 0.
* (walk-windows): Doc fix.Richard M. Stallman1996-04-261-1/+1
|
* (walk-windows): Doc fix.Richard M. Stallman1996-04-211-3/+3
|
* (count-windows): Doc fix.Karl Heuer1996-03-181-2/+2
|
* Update FSF's address.Erik Naggum1996-01-141-3/+4
|
* (split-window-vertically): Don't change point in oldRichard M. Stallman1995-12-251-10/+16
| | | | | window if both the original point and the end of the buffer are visible after splitting, when split-window-keep-point is nil.
* (balance-windows): Don't count the menu bar's lines in the frame height.Richard M. Stallman1995-11-111-2/+5
|
* (save-selected-window): New macro.Karl Heuer1995-06-111-0/+8
|
* (walk-windows): Doc fix.Richard M. Stallman1995-04-081-3/+4
|
* (minibuffer-window-active-p): Use active-minibuffer-window.Richard M. Stallman1995-03-291-11/+1
|
* (one-window-p, walk-windows, minibuffer-window-active-p): Functions moved here.Richard M. Stallman1995-03-221-2/+66
|
* (balance-windows): Ignore minibuffer window when browsing the `levels'.Richard M. Stallman1995-03-151-1/+2
|