1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

136 Commits

Author SHA1 Message Date
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Stefan Monnier
b3c024b821 Docstring fix. 2007-12-23 22:53:02 +00:00
Richard M. Stallman
18715c3318 (recenter-top-bottom): Don't use `ecase'. 2007-12-03 00:27:14 +00:00
Stefan Monnier
693b2fe296 (balance-windows): Remove unused var `counter'.
(bw-balance-sub): Remove unused var `lastchild'.
(split-window-vertically): Remove unused var `switch'.
(recenter-top-bottom): Remove unused vars `bottom', `current', `total'.
2007-11-22 18:08:06 +00:00
Stefan Monnier
de8ebf6226 (recenter-last-op): New var.
(recenter-top-bottom): New command.
(global-map): Bind it to C-l.
2007-11-16 18:50:35 +00:00
Martin Rudalics
d6c19bb35a (handle-select-window): Revert part of 2007-10-06
change setting the input focus.
2007-10-12 06:29:24 +00:00
Martin Rudalics
af84194a20 (handle-select-window): Revert part of 2007-10-08
change setting the input focus.
2007-10-12 06:23:43 +00:00
Miles Bader
1af74d06e5 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Martin Rudalics
1398509c21 (mouse-autoselect-window-cancel): Don't cancel for
select-window or select-frame events.
(handle-select-window): When autoselecting window set input
focus.  Restructure.
2007-10-06 10:19:45 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
4837b516ea Replace `iff' in doc-strings and comments. 2007-08-08 07:40:09 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Stefan Monnier
62e3c31fab (save-selected-window): Minor optimization.
(bw-adjust-window): If operation failed, try with a smaller delta.
(window-fixed-size-p): New function.
(window-area-factor): New var.
(balance-windows-area): New command.
2007-07-24 21:45:28 +00:00
Jan Djärv
825906b8af (fit-window-to-buffer): Remove setting of window-min-height
to 1 as enlarge-window uses the value to resize/shrink windows other than
WINDOW if needed.
2007-07-09 12:00:56 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Eli Zaretskii
6a6af58e32 (mouse-autoselect-window-now): Remove variable.
(mouse-autoselect-window-state): New variable.
(mouse-autoselect-window-start, mouse-autoselect-window-cancel)
(mouse-autoselect-window-select, handle-select-window): Rewritten to make
mouse-autoselect-window-timer a one-shot timer.  Suspend delayed autoselection
during menu or popup dialog.
2006-11-05 12:20:12 +00:00
David Kastrup
f5da083ed9 (kill-buffer-and-window): Fix a bug where an aborted
operation would still cause some window to collapse later.
2006-10-20 15:12:31 +00:00
Chong Yidong
612c16f130 * window.el (mouse-autoselect-window-timer)
(mouse-autoselect-window-position)
	(mouse-autoselect-window-window)
	(mouse-autoselect-window-now): New vars.
	(mouse-autoselect-window-cancel)
	(mouse-autoselect-window-select)
	(mouse-autoselect-window-start): New functions.
	(handle-select-window): Call `mouse-autoselect-window-start' when
	delayed window autoselection is enabled.

	* cus-start.el (mouse-autoselect-window): Handle delayed window
	autoselection.

	* emacs-lisp/eldoc.el: Add `handle-select-window' to the set of
	commands after which it is allowed to print in the echo area.
2006-09-08 14:15:02 +00:00
Eli Zaretskii
114b3e94ec (bw-get-tree): Don't integerp subtree if it's nil. 2006-07-29 11:19:58 +00:00
Stefan Monnier
5937a3fdbd (set-window-text-height): Only set window-min-height to
1 if that's the requested size.
2006-07-02 14:32:52 +00:00
Richard M. Stallman
1cce8267f8 (fit-window-to-buffer): Doc fix. 2006-05-30 04:32:09 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Juanma Barranquero
7017d2546b (bw-dir, bw-eqdir, balance-windows, split-window-keep-point):
Fix typos in docstrings.
2006-01-30 14:21:54 +00:00
Eli Zaretskii
614b38a995 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
(bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
(bw-refresh-edges, bw-adjust-window, bw-balance-sub): New functions.
(balance-windows): Rewrite using the above new functions.
2005-12-10 12:21:44 +00:00
Romain Francoise
239f263d59 (balance-windows): Delete extraneous third arg to `enlarge-window'. 2005-12-06 09:00:49 +00:00
Richard M. Stallman
ba27aa4c53 (get-buffer-window-list): Moved from subr.el. 2005-10-22 15:35:06 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Richard M. Stallman
198081c871 Fix previous change. 2005-06-25 14:03:53 +00:00
Richard M. Stallman
7db3c58f2c (save-selected-window): Use save-current-buffer. 2005-06-25 14:03:27 +00:00
Juanma Barranquero
c62195fa74 (window-current-scroll-bars): Fix typos in docstring. 2005-06-10 00:57:02 +00:00
Juanma Barranquero
fd8529d0a1 (shrink-window-if-larger-than-buffer): Fix typo in docstring. 2005-06-09 14:04:18 +00:00
Juanma Barranquero
9fa87e0dbc (window-size-fixed): Fix typo in docstring. 2005-06-09 09:17:17 +00:00
Juanma Barranquero
18fde8504f (quit-window, shrink-window-if-larger-than-buffer): Doc fixes. 2005-05-24 08:48:48 +00:00
Richard M. Stallman
64da8b20e2 (window-size-fixed): New defvar. 2005-04-23 16:38:41 +00:00
Stefan Monnier
ba96f39200 (window-buffer-height): Use count-screen-lines. 2005-03-28 14:52:02 +00:00
Stefan Monnier
66c226bf5a (handle-select-window): Don't switch window when we're in the minibuffer. 2005-01-20 14:23:23 +00:00
Kim F. Storm
7316f52cab (window-buffer-height): Call compute-motion with nil width. 2004-08-02 15:20:18 +00:00
Luc Teirlinck
90dc192227 (save-selected-window, one-window-p)
(split-window-keep-point, split-window-vertically)
(split-window-horizontally): Doc fixes.
2004-07-11 00:56:17 +00:00
Richard M. Stallman
1c795a0e15 Comment change. 2004-05-29 14:33:28 +00:00
Richard M. Stallman
6b3b4dbbfc (split-window-save-restore-data):
Don't update the data if OLD-INFO is nil.
2004-04-20 20:58:30 +00:00
Stefan Monnier
fc4d69e139 (window-safely-shrinkable-p): Don't change the buffer-list.
Don't allow shrink if there's a window on our right.
2004-02-09 00:56:25 +00:00
Kim F. Storm
22f9c48c82 (window-current-scroll-bars): New defun. 2003-09-24 22:55:42 +00:00
Richard M. Stallman
0f790c74e1 (kill-buffer-and-window): Remove `yes-or-no-p' so that
the function is less noisy.  Now only `kill-buffer' can ask questions.
2003-09-12 00:52:08 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Richard M. Stallman
991ce47378 (save-selected-window): Save and restore selected windows of all frames. 2002-12-23 17:57:12 +00:00
Stefan Monnier
4a4accf705 (split-window-save-restore-data): Use push and with-current-buffer.
(handle-select-window): Don't do anything if the window has
disappeared since the event was generated.
2002-08-15 00:34:04 +00:00