aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/window.el
Commit message (Collapse)AuthorAgeFilesLines
* (window-size-fixed): New defvar.Richard M. Stallman2005-04-231-0/+9
|
* (window-buffer-height): Use count-screen-lines.Stefan Monnier2005-03-281-14/+7
|
* (handle-select-window): Don't switch window when we're in the minibuffer.Stefan Monnier2005-01-201-2/+8
|
* (window-buffer-height): Call compute-motion with nil width.Kim F. Storm2004-08-021-1/+1
|
* (save-selected-window, one-window-p)Luc Teirlinck2004-07-111-13/+28
| | | | | (split-window-keep-point, split-window-vertically) (split-window-horizontally): Doc fixes.
* Comment change.Richard M. Stallman2004-05-291-0/+3
|
* (split-window-save-restore-data):Richard M. Stallman2004-04-201-2/+3
| | | | Don't update the data if OLD-INFO is nil.
* (window-safely-shrinkable-p): Don't change the buffer-list.Stefan Monnier2004-02-091-8/+6
| | | | Don't allow shrink if there's a window on our right.
* (window-current-scroll-bars): New defun.Kim F. Storm2003-09-241-0/+17
|
* (kill-buffer-and-window): Remove `yes-or-no-p' so thatRichard M. Stallman2003-09-121-5/+12
| | | | the function is less noisy. Now only `kill-buffer' can ask questions.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-1/+1
|
* (save-selected-window): Save and restore selected windows of all frames.Richard M. Stallman2002-12-231-3/+12
|
* (split-window-save-restore-data): Use push and with-current-buffer.Stefan Monnier2002-08-151-8/+7
| | | | | (handle-select-window): Don't do anything if the window has disappeared since the event was generated.
* Update copyright.Pavel Janík2002-04-011-1/+1
|
* (handle-select-window): New function.Pavel Janík2002-04-011-0/+8
|
* (balance-windows): Fix misplaced parenthesis.Andreas Schwab2002-02-031-2/+2
|
* (save-selected-window): Move macro before first use.Andreas Schwab2002-02-031-10/+10
|
* (window-body-height): Handle minibuffer window specially.Richard M. Stallman2002-01-211-4/+6
| | | | Otherwise, don't return less than 1.
* (window-body-height): New function.Richard M. Stallman2002-01-181-0/+9
|
* (balance-windows): Use new PRESERVE-BEFORE argRichard M. Stallman2001-12-251-37/+61
| | | | | | | to enlarge-window. Use save-selected-window. Don't try to resize windows that end at the bottom "level". Retry changing the sizes until the windows get the desired sizes. Discount the minibuffer when computing total height available.
* (save-selected-window): No error if saved window is dead.Richard M. Stallman2001-11-261-2/+5
|
* (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.