diff options
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/calc/calc-ext.el | 2 | ||||
| -rw-r--r-- | lisp/calc/calc-graph.el | 2 | ||||
| -rw-r--r-- | lisp/calc/calc-misc.el | 4 | ||||
| -rw-r--r-- | lisp/calc/calc.el | 2 | ||||
| -rw-r--r-- | lisp/calendar/calendar.el | 4 | ||||
| -rw-r--r-- | lisp/emerge.el | 7 | ||||
| -rw-r--r-- | lisp/mh-e/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/mh-e/mh-show.el | 8 |
9 files changed, 27 insertions, 14 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fc5cd4c9ee2..086a82bd3f0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2009-10-06 Glenn Morris <rgm@gnu.org> | 1 | 2009-10-06 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * emerge.el (emerge-show-file-name): | ||
| 4 | * calc/calc.el (calc-quit): | ||
| 5 | * calc/calc-misc.el (calc-big-or-small): | ||
| 6 | * calc/calc-graph.el (calc-graph-view): | ||
| 7 | * calc/calc-ext.el (calc-reset): | ||
| 8 | * calendar/calendar.el (calendar-basic-setup): | ||
| 9 | Use window-full-height-p. | ||
| 10 | |||
| 3 | * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type | 11 | * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type |
| 4 | header we don't understand, don't insert another. (Bug#4624) | 12 | header we don't understand, don't insert another. (Bug#4624) |
| 5 | If changing mime charset, insert the new one in the right place. | 13 | If changing mime charset, insert the new one in the right place. |
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index d97cd7971ea..55204b045cc 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el | |||
| @@ -1343,7 +1343,7 @@ calc-kill calc-kill-region calc-yank)))) | |||
| 1343 | ;; take up the whole height of the frame. | 1343 | ;; take up the whole height of the frame. |
| 1344 | (if (and | 1344 | (if (and |
| 1345 | win | 1345 | win |
| 1346 | (< (window-height win) (1- (frame-height)))) | 1346 | (not (window-full-height-p))) |
| 1347 | (let ((height (- (window-height win) 2))) | 1347 | (let ((height (- (window-height win) 2))) |
| 1348 | (set-window-point win (point)) | 1348 | (set-window-point win (point)) |
| 1349 | (or (= height calc-window-height) | 1349 | (or (= height calc-window-height) |
diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el index c2ca50ac6f7..cb029d52509 100644 --- a/lisp/calc/calc-graph.el +++ b/lisp/calc/calc-graph.el | |||
| @@ -1388,7 +1388,7 @@ This \"dumb\" driver will be present in Gnuplot 3.0." | |||
| 1388 | (set-window-buffer win buf) | 1388 | (set-window-buffer win buf) |
| 1389 | (if (eq major-mode 'calc-mode) | 1389 | (if (eq major-mode 'calc-mode) |
| 1390 | (if (or need | 1390 | (if (or need |
| 1391 | (< (window-height) (1- (frame-height)))) | 1391 | (not (window-full-height-p))) |
| 1392 | (display-buffer buf)) | 1392 | (display-buffer buf)) |
| 1393 | (switch-to-buffer buf))))) | 1393 | (switch-to-buffer buf))))) |
| 1394 | (save-excursion | 1394 | (save-excursion |
diff --git a/lisp/calc/calc-misc.el b/lisp/calc/calc-misc.el index 7e89fecad83..33ceec48e90 100644 --- a/lisp/calc/calc-misc.el +++ b/lisp/calc/calc-misc.el | |||
| @@ -140,8 +140,8 @@ Calc user interface as before (either C-x * C or C-x * K; initially C-x * C). | |||
| 140 | (if cwin | 140 | (if cwin |
| 141 | (setq calc-full-mode | 141 | (setq calc-full-mode |
| 142 | (if kwin | 142 | (if kwin |
| 143 | (and twin (eq (window-width twin) (frame-width))) | 143 | (and twin (window-full-width-p twin)) |
| 144 | (eq (window-height cwin) (1- (frame-height)))))) | 144 | (window-full-height-p cwin)))) |
| 145 | (setq calc-full-mode (if arg | 145 | (setq calc-full-mode (if arg |
| 146 | (> (prefix-numeric-value arg) 0) | 146 | (> (prefix-numeric-value arg) 0) |
| 147 | (not calc-full-mode))) | 147 | (not calc-full-mode))) |
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 75a08d7e79b..2fcb0599ead 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el | |||
| @@ -1496,7 +1496,7 @@ commands given here will actually operate on the *Calculator* stack." | |||
| 1496 | ;; next time Calc is called, the window will be the same size | 1496 | ;; next time Calc is called, the window will be the same size |
| 1497 | ;; as the current window. | 1497 | ;; as the current window. |
| 1498 | (if (and win | 1498 | (if (and win |
| 1499 | (< (window-height win) (1- (frame-height))) | 1499 | (not (window-full-height-p win)) |
| 1500 | (window-full-width-p win) ; avoid calc-keypad | 1500 | (window-full-width-p win) ; avoid calc-keypad |
| 1501 | (not (get-buffer-window "*Calc Keypad*"))) | 1501 | (not (get-buffer-window "*Calc Keypad*"))) |
| 1502 | (setq calc-window-height (- (window-height win) 2))) | 1502 | (setq calc-window-height (- (window-height win) 2))) |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 90e0acc2eec..c22c29ae1b5 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -1320,9 +1320,9 @@ display the generated calendar." | |||
| 1320 | ;; Is this a wide frame? If so, split it horizontally. | 1320 | ;; Is this a wide frame? If so, split it horizontally. |
| 1321 | (if (window-splittable-p t) (split-window-horizontally)) | 1321 | (if (window-splittable-p t) (split-window-horizontally)) |
| 1322 | (pop-to-buffer calendar-buffer) | 1322 | (pop-to-buffer calendar-buffer) |
| 1323 | ;; Has the window already been split vertically? (See bug#4543) | 1323 | ;; Has the window already been split vertically? |
| 1324 | (when (and (not (window-dedicated-p)) | 1324 | (when (and (not (window-dedicated-p)) |
| 1325 | (= (window-height) (window-height (frame-root-window)))) | 1325 | (window-full-height-p)) |
| 1326 | (let ((win (split-window-vertically))) | 1326 | (let ((win (split-window-vertically))) |
| 1327 | ;; Show something else in the upper window. | 1327 | ;; Show something else in the upper window. |
| 1328 | (switch-to-buffer (other-buffer)) | 1328 | (switch-to-buffer (other-buffer)) |
diff --git a/lisp/emerge.el b/lisp/emerge.el index 21921e352c6..ee19351a2e3 100644 --- a/lisp/emerge.el +++ b/lisp/emerge.el | |||
| @@ -3103,10 +3103,9 @@ SPC, it is ignored; if it is anything else, it is processed as a command." | |||
| 3103 | (progn | 3103 | (progn |
| 3104 | (erase-buffer) | 3104 | (erase-buffer) |
| 3105 | (insert name) | 3105 | (insert name) |
| 3106 | (if (not (pos-visible-in-window-p)) | 3106 | (while (and (not (pos-visible-in-window-p)) |
| 3107 | (while (and (not (pos-visible-in-window-p)) | 3107 | (not (window-full-height-p))) |
| 3108 | (> (1- (frame-height)) (window-height))) | 3108 | (enlarge-window 1)) |
| 3109 | (enlarge-window 1))) | ||
| 3110 | (let* ((echo-keystrokes 0) | 3109 | (let* ((echo-keystrokes 0) |
| 3111 | (c (read-event))) | 3110 | (c (read-event))) |
| 3112 | (if (not (eq c 32)) | 3111 | (if (not (eq c 32)) |
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog index 585cc0a86c6..3102f74f506 100644 --- a/lisp/mh-e/ChangeLog +++ b/lisp/mh-e/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2009-10-06 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * mh-show.el (mh-show-msg): Use window-full-height-p. | ||
| 4 | |||
| 1 | 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * mh-comp.el (mh-send-letter): default-buffer-file-coding-system | 7 | * mh-comp.el (mh-send-letter): default-buffer-file-coding-system |
diff --git a/lisp/mh-e/mh-show.el b/lisp/mh-e/mh-show.el index 70852f0bb05..ba972fc5b62 100644 --- a/lisp/mh-e/mh-show.el +++ b/lisp/mh-e/mh-show.el | |||
| @@ -148,9 +148,11 @@ displayed." | |||
| 148 | (if (not clean-message-header) | 148 | (if (not clean-message-header) |
| 149 | (mh-start-of-uncleaned-message))) | 149 | (mh-start-of-uncleaned-message))) |
| 150 | (mh-display-msg msg folder))) | 150 | (mh-display-msg msg folder))) |
| 151 | (if (not (= (1+ (window-height)) (frame-height))) ;not horizontally split | 151 | (unless (if (fbound 'window-full-height-p) |
| 152 | (shrink-window (- (window-height) (or mh-summary-height | 152 | (window-full-height-p) |
| 153 | (mh-summary-height))))) | 153 | (= (1+ (window-height)) (frame-height))) ; not vertically split |
| 154 | (shrink-window (- (window-height) (or mh-summary-height | ||
| 155 | (mh-summary-height))))) | ||
| 154 | (mh-recenter nil) | 156 | (mh-recenter nil) |
| 155 | ;; The following line is a nop which forces update of the scan line so | 157 | ;; The following line is a nop which forces update of the scan line so |
| 156 | ;; that font-lock will update it (if needed)... | 158 | ;; that font-lock will update it (if needed)... |