diff options
| author | Jim Blandy | 1992-07-15 02:24:58 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-07-15 02:24:58 +0000 |
| commit | f98955eaaa3d2c459b373a7b4c5d1176a18687d9 (patch) | |
| tree | 23dc25a018ca240872c713d715420f96d3315e7d | |
| parent | dc6d96816db5f4f7b484e5e394501e5724c2d02f (diff) | |
| download | emacs-f98955eaaa3d2c459b373a7b4c5d1176a18687d9.tar.gz emacs-f98955eaaa3d2c459b373a7b4c5d1176a18687d9.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/calendar/holidays.el | 2 | ||||
| -rw-r--r-- | lisp/comint.el | 2 | ||||
| -rw-r--r-- | lisp/diary-lib.el | 4 | ||||
| -rw-r--r-- | lisp/dired.el | 6 | ||||
| -rw-r--r-- | lisp/electric.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/edebug.el | 6 | ||||
| -rw-r--r-- | lisp/emerge.el | 4 | ||||
| -rw-r--r-- | lisp/files.el | 36 | ||||
| -rw-r--r-- | lisp/isearch-old.el | 10 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/fortran.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/ispell4.el | 2 |
12 files changed, 40 insertions, 40 deletions
diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el index 4f3c0daf7bd..56da6c9c586 100644 --- a/lisp/calendar/holidays.el +++ b/lisp/calendar/holidays.el | |||
| @@ -71,7 +71,7 @@ The holidays are those in the list calendar-holidays." | |||
| 71 | (msg (format "%s: %s" date-string holiday-string))) | 71 | (msg (format "%s: %s" date-string holiday-string))) |
| 72 | (if (not holiday-list) | 72 | (if (not holiday-list) |
| 73 | (message "No holidays known for %s" date-string) | 73 | (message "No holidays known for %s" date-string) |
| 74 | (if (<= (length msg) (screen-width)) | 74 | (if (<= (length msg) (frame-width)) |
| 75 | (message msg) | 75 | (message msg) |
| 76 | (set-buffer (get-buffer-create holiday-buffer)) | 76 | (set-buffer (get-buffer-create holiday-buffer)) |
| 77 | (setq buffer-read-only nil) | 77 | (setq buffer-read-only nil) |
diff --git a/lisp/comint.el b/lisp/comint.el index 2e6953c3240..14737769d80 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -343,7 +343,7 @@ buffer. The hook comint-exec-hook is run after each exec." | |||
| 343 | (let ((process-environment | 343 | (let ((process-environment |
| 344 | (comint-update-env process-environment | 344 | (comint-update-env process-environment |
| 345 | (list (format "TERMCAP=emacs:co#%d:tc=unknown" | 345 | (list (format "TERMCAP=emacs:co#%d:tc=unknown" |
| 346 | (screen-width)) | 346 | (frame-width)) |
| 347 | "TERM=emacs" | 347 | "TERM=emacs" |
| 348 | "EMACS=t")))) | 348 | "EMACS=t")))) |
| 349 | (apply 'start-process name buffer command switches))) | 349 | (apply 'start-process name buffer command switches))) |
diff --git a/lisp/diary-lib.el b/lisp/diary-lib.el index b28836ce110..c8ffe581ebf 100644 --- a/lisp/diary-lib.el +++ b/lisp/diary-lib.el | |||
| @@ -261,7 +261,7 @@ changing the variable `diary-include-string'." | |||
| 261 | (if (or (not diary-entries-list) | 261 | (if (or (not diary-entries-list) |
| 262 | (and (not (cdr diary-entries-list)) | 262 | (and (not (cdr diary-entries-list)) |
| 263 | (string-equal (car (cdr (car diary-entries-list))) ""))) | 263 | (string-equal (car (cdr (car diary-entries-list))) ""))) |
| 264 | (if (<= (length msg) (screen-width)) | 264 | (if (<= (length msg) (frame-width)) |
| 265 | (message msg) | 265 | (message msg) |
| 266 | (set-buffer (get-buffer-create holiday-buffer)) | 266 | (set-buffer (get-buffer-create holiday-buffer)) |
| 267 | (setq buffer-read-only nil) | 267 | (setq buffer-read-only nil) |
| @@ -295,7 +295,7 @@ This function is provided for optional use as the `list-diary-entries-hook'." | |||
| 295 | (msg (format "No diary entries for %s %s" | 295 | (msg (format "No diary entries for %s %s" |
| 296 | (concat date-string (if holiday-list ":" "")) | 296 | (concat date-string (if holiday-list ":" "")) |
| 297 | (mapconcat 'identity holiday-list "; ")))) | 297 | (mapconcat 'identity holiday-list "; ")))) |
| 298 | (if (<= (length msg) (screen-width)) | 298 | (if (<= (length msg) (frame-width)) |
| 299 | (message msg) | 299 | (message msg) |
| 300 | (set-buffer (get-buffer-create holiday-buffer)) | 300 | (set-buffer (get-buffer-create holiday-buffer)) |
| 301 | (setq buffer-read-only nil) | 301 | (setq buffer-read-only nil) |
diff --git a/lisp/dired.el b/lisp/dired.el index 19ef7a3a233..a4780e5bd31 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1389,12 +1389,12 @@ Optional argument means return a file name relative to `default-directory'." | |||
| 1389 | (cond ;; if split-window-threshold is enabled, use the largest window | 1389 | (cond ;; if split-window-threshold is enabled, use the largest window |
| 1390 | ((and (> (window-height (setq w2 (get-largest-window))) | 1390 | ((and (> (window-height (setq w2 (get-largest-window))) |
| 1391 | split-height-threshold) | 1391 | split-height-threshold) |
| 1392 | (= (screen-width) (window-width w2))) | 1392 | (= (frame-width) (window-width w2))) |
| 1393 | (setq window w2)) | 1393 | (setq window w2)) |
| 1394 | ;; if the least-recently-used window is big enough, use it | 1394 | ;; if the least-recently-used window is big enough, use it |
| 1395 | ((and (> (window-height (setq w2 (get-lru-window))) | 1395 | ((and (> (window-height (setq w2 (get-lru-window))) |
| 1396 | (* 2 window-min-height)) | 1396 | (* 2 window-min-height)) |
| 1397 | (= (screen-width) (window-width w2))) | 1397 | (= (frame-width) (window-width w2))) |
| 1398 | (setq window w2))) | 1398 | (setq window w2))) |
| 1399 | (save-excursion | 1399 | (save-excursion |
| 1400 | (set-buffer buf) | 1400 | (set-buffer buf) |
| @@ -1402,7 +1402,7 @@ Optional argument means return a file name relative to `default-directory'." | |||
| 1402 | (skip-chars-backward "\n\r\t ") | 1402 | (skip-chars-backward "\n\r\t ") |
| 1403 | (setq target-lines (count-lines (point-min) (point)))) | 1403 | (setq target-lines (count-lines (point-min) (point)))) |
| 1404 | (if (<= (window-height window) (* 2 window-min-height)) | 1404 | (if (<= (window-height window) (* 2 window-min-height)) |
| 1405 | ;; At this point, every window on the screen is too small to split. | 1405 | ;; At this point, every window on the frame is too small to split. |
| 1406 | (setq w2 (display-buffer buf)) | 1406 | (setq w2 (display-buffer buf)) |
| 1407 | (setq w2 (split-window window | 1407 | (setq w2 (split-window window |
| 1408 | (max window-min-height | 1408 | (max window-min-height |
diff --git a/lisp/electric.el b/lisp/electric.el index 775c7b246f0..b42eb47ed0e 100644 --- a/lisp/electric.el +++ b/lisp/electric.el | |||
| @@ -144,7 +144,7 @@ | |||
| 144 | ;; Switch to buffer in the current window. | 144 | ;; Switch to buffer in the current window. |
| 145 | ;; | 145 | ;; |
| 146 | ;; Then if max-height is nil, and not all of the lines in the buffer | 146 | ;; Then if max-height is nil, and not all of the lines in the buffer |
| 147 | ;; are displayed, grab the whole screen. | 147 | ;; are displayed, grab the whole frame. |
| 148 | ;; | 148 | ;; |
| 149 | ;; Returns selected window on buffer positioned at point-min. | 149 | ;; Returns selected window on buffer positioned at point-min. |
| 150 | 150 | ||
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 2302f1704f8..d60f2608103 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -1694,14 +1694,14 @@ Windows are handled a little differently under epoch.") | |||
| 1694 | 1694 | ||
| 1695 | 1695 | ||
| 1696 | (defun edebug-current-window-configuration () | 1696 | (defun edebug-current-window-configuration () |
| 1697 | "Return the current window or screen configuration." | 1697 | "Return the current window or frame configuration." |
| 1698 | (if edebug-epoch-running | 1698 | (if edebug-epoch-running |
| 1699 | (edebug-current-screen-configuration) | 1699 | (edebug-current-screen-configuration) |
| 1700 | (current-window-configuration))) | 1700 | (current-window-configuration))) |
| 1701 | 1701 | ||
| 1702 | 1702 | ||
| 1703 | (defun edebug-set-window-configuration (conf) | 1703 | (defun edebug-set-window-configuration (conf) |
| 1704 | "Set the window or screen configuration to CONF." | 1704 | "Set the window or frame configuration to CONF." |
| 1705 | (if edebug-epoch-running | 1705 | (if edebug-epoch-running |
| 1706 | (edebug-set-screen-configuration conf) | 1706 | (edebug-set-screen-configuration conf) |
| 1707 | (set-window-configuration conf))) | 1707 | (set-window-configuration conf))) |
| @@ -1714,7 +1714,7 @@ Windows are handled a little differently under epoch.") | |||
| 1714 | 1714 | ||
| 1715 | 1715 | ||
| 1716 | (defun edebug-pop-to-buffer (buffer) | 1716 | (defun edebug-pop-to-buffer (buffer) |
| 1717 | "Like pop-to-buffer, but select a screen that buffer was shown in." | 1717 | "Like pop-to-buffer, but select a frame that buffer was shown in." |
| 1718 | (let ((edebug-window (edebug-get-buffer-window buffer))) | 1718 | (let ((edebug-window (edebug-get-buffer-window buffer))) |
| 1719 | (if edebug-window | 1719 | (if edebug-window |
| 1720 | (select-window edebug-window) | 1720 | (select-window edebug-window) |
diff --git a/lisp/emerge.el b/lisp/emerge.el index bcb15da3aee..cf9fcebe94c 100644 --- a/lisp/emerge.el +++ b/lisp/emerge.el | |||
| @@ -400,7 +400,7 @@ | |||
| 400 | ; number of lines or characters by which the windows are scrolled. | 400 | ; number of lines or characters by which the windows are scrolled. |
| 401 | ; Otherwise, the amount of motion is computed based on the dimensions of | 401 | ; Otherwise, the amount of motion is computed based on the dimensions of |
| 402 | ; the merge buffer window -- the height of the merge buffer window | 402 | ; the merge buffer window -- the height of the merge buffer window |
| 403 | ; (minus next-screen-context-lines), or half the width of the merge | 403 | ; (minus next-frame-context-lines), or half the width of the merge |
| 404 | ; buffer window. (The A and B version windows are assumed to be as high | 404 | ; buffer window. (The A and B version windows are assumed to be as high |
| 405 | ; as the merge window, but half as wide.) If the argument is just `C-u | 405 | ; as the merge window, but half as wide.) If the argument is just `C-u |
| 406 | ; -', then the scrolling is half the default amount. | 406 | ; -', then the scrolling is half the default amount. |
| @@ -2898,7 +2898,7 @@ SPC, it is ignored; if it is anything else, it is processed as a command." | |||
| 2898 | (if (not (pos-visible-in-window-p)) | 2898 | (if (not (pos-visible-in-window-p)) |
| 2899 | (let ((echo-keystrokes 0)) | 2899 | (let ((echo-keystrokes 0)) |
| 2900 | (while (and (not (pos-visible-in-window-p)) | 2900 | (while (and (not (pos-visible-in-window-p)) |
| 2901 | (> (1- (screen-height)) (window-height))) | 2901 | (> (1- (frame-height)) (window-height))) |
| 2902 | (enlarge-window 1)) | 2902 | (enlarge-window 1)) |
| 2903 | (let ((c (read-char))) | 2903 | (let ((c (read-char))) |
| 2904 | (if (/= c 32) | 2904 | (if (/= c 32) |
diff --git a/lisp/files.el b/lisp/files.el index c86008bb93b..21f0bd1c4ca 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -224,10 +224,10 @@ This is an interface to the function `load'." | |||
| 224 | (let ((pop-up-windows t)) | 224 | (let ((pop-up-windows t)) |
| 225 | (pop-to-buffer buffer t))) | 225 | (pop-to-buffer buffer t))) |
| 226 | 226 | ||
| 227 | (defun switch-to-buffer-other-screen (buffer) | 227 | (defun switch-to-buffer-other-frame (buffer) |
| 228 | "Switch to buffer BUFFER in another screen." | 228 | "Switch to buffer BUFFER in another frame." |
| 229 | (interactive "BSwitch to buffer in other screen: ") | 229 | (interactive "BSwitch to buffer in other frame: ") |
| 230 | (let ((pop-up-screens t)) | 230 | (let ((pop-up-frames t)) |
| 231 | (pop-to-buffer buffer))) | 231 | (pop-to-buffer buffer))) |
| 232 | 232 | ||
| 233 | (defun find-file (filename) | 233 | (defun find-file (filename) |
| @@ -244,12 +244,12 @@ See the function `display-buffer'." | |||
| 244 | (interactive "FFind file in other window: ") | 244 | (interactive "FFind file in other window: ") |
| 245 | (switch-to-buffer-other-window (find-file-noselect filename))) | 245 | (switch-to-buffer-other-window (find-file-noselect filename))) |
| 246 | 246 | ||
| 247 | (defun find-file-other-screen (filename) | 247 | (defun find-file-other-frame (filename) |
| 248 | "Edit file FILENAME, in another screen. | 248 | "Edit file FILENAME, in another frame. |
| 249 | May create a new screen, or reuse an existing one. | 249 | May create a new frame, or reuse an existing one. |
| 250 | See the function `display-buffer'." | 250 | See the function `display-buffer'." |
| 251 | (interactive "FFind file in other screen: ") | 251 | (interactive "FFind file in other frame: ") |
| 252 | (switch-to-buffer-other-screen (find-file-noselect filename))) | 252 | (switch-to-buffer-other-frame (find-file-noselect filename))) |
| 253 | 253 | ||
| 254 | (defun find-file-read-only (filename) | 254 | (defun find-file-read-only (filename) |
| 255 | "Edit file FILENAME but don't allow changes. | 255 | "Edit file FILENAME but don't allow changes. |
| @@ -267,12 +267,12 @@ Use \\[toggle-read-only] to permit editing." | |||
| 267 | (find-file filename) | 267 | (find-file filename) |
| 268 | (setq buffer-read-only t)) | 268 | (setq buffer-read-only t)) |
| 269 | 269 | ||
| 270 | (defun find-file-read-only-other-screen (filename) | 270 | (defun find-file-read-only-other-frame (filename) |
| 271 | "Edit file FILENAME in another screen but don't allow changes. | 271 | "Edit file FILENAME in another frame but don't allow changes. |
| 272 | Like \\[find-file-other-screen] but marks buffer as read-only. | 272 | Like \\[find-file-other-frame] but marks buffer as read-only. |
| 273 | Use \\[toggle-read-only] to permit editing." | 273 | Use \\[toggle-read-only] to permit editing." |
| 274 | (interactive "fFind file read-only other screen: ") | 274 | (interactive "fFind file read-only other frame: ") |
| 275 | (find-file-other-screen filename) | 275 | (find-file-other-frame filename) |
| 276 | (setq buffer-read-only t)) | 276 | (setq buffer-read-only t)) |
| 277 | 277 | ||
| 278 | (defun find-alternate-file (filename) | 278 | (defun find-alternate-file (filename) |
| @@ -1394,9 +1394,9 @@ With prefix arg, silently save all file-visiting buffers, then kill." | |||
| 1394 | (define-key ctl-x-4-map "b" 'switch-to-buffer-other-window) | 1394 | (define-key ctl-x-4-map "b" 'switch-to-buffer-other-window) |
| 1395 | (define-key ctl-x-4-map "o" 'display-buffer) | 1395 | (define-key ctl-x-4-map "o" 'display-buffer) |
| 1396 | 1396 | ||
| 1397 | (define-key ctl-x-5-map "b" 'switch-to-buffer-other-screen) | 1397 | (define-key ctl-x-5-map "b" 'switch-to-buffer-other-frame) |
| 1398 | (define-key ctl-x-5-map "f" 'find-file-other-screen) | 1398 | (define-key ctl-x-5-map "f" 'find-file-other-frame) |
| 1399 | (define-key ctl-x-5-map "\C-f" 'find-file-other-screen) | 1399 | (define-key ctl-x-5-map "\C-f" 'find-file-other-frame) |
| 1400 | (define-key ctl-x-5-map "r" 'find-file-read-only-other-screen) | 1400 | (define-key ctl-x-5-map "r" 'find-file-read-only-other-frame) |
| 1401 | 1401 | ||
| 1402 | ;;; files.el ends here | 1402 | ;;; files.el ends here |
diff --git a/lisp/isearch-old.el b/lisp/isearch-old.el index 265ea6b5682..1661979e5f1 100644 --- a/lisp/isearch-old.el +++ b/lisp/isearch-old.el | |||
| @@ -166,7 +166,7 @@ is treated as a regexp. See \\[isearch-forward] for more info." | |||
| 166 | ;; non-nil means an explicit uppercase letter seen in the input | 166 | ;; non-nil means an explicit uppercase letter seen in the input |
| 167 | (uppercase-flag nil) | 167 | (uppercase-flag nil) |
| 168 | ;; Non-nil means start using a small window | 168 | ;; Non-nil means start using a small window |
| 169 | ;; if the search moves outside what is currently on the screen. | 169 | ;; if the search moves outside what is currently on the frame. |
| 170 | (slow-terminal-mode (and (<= baud-rate search-slow-speed) | 170 | (slow-terminal-mode (and (<= baud-rate search-slow-speed) |
| 171 | (> (window-height) | 171 | (> (window-height) |
| 172 | (* 4 search-slow-window-lines)))) | 172 | (* 4 search-slow-window-lines)))) |
| @@ -183,8 +183,8 @@ is treated as a regexp. See \\[isearch-forward] for more info." | |||
| 183 | ;; for moving the cursor back on quitting. | 183 | ;; for moving the cursor back on quitting. |
| 184 | (opoint (point)) | 184 | (opoint (point)) |
| 185 | (inhibit-quit t) ;Prevent ^G from quitting, so we can read it. | 185 | (inhibit-quit t) ;Prevent ^G from quitting, so we can read it. |
| 186 | ;; The screen we're working on; if this changes, we exit isearch. | 186 | ;; The frame we're working on; if this changes, we exit isearch. |
| 187 | (screen (if (fboundp 'selected-screen) (selected-screen)))) | 187 | (frame (if (fboundp 'selected-frame) (selected-frame)))) |
| 188 | 188 | ||
| 189 | (isearch-push-state) | 189 | (isearch-push-state) |
| 190 | (save-window-excursion | 190 | (save-window-excursion |
| @@ -225,8 +225,8 @@ is treated as a regexp. See \\[isearch-forward] for more info." | |||
| 225 | (setq unread-command-char char) | 225 | (setq unread-command-char char) |
| 226 | (throw 'search-done t)) | 226 | (throw 'search-done t)) |
| 227 | 227 | ||
| 228 | ;; If the user switches to a different screen, exit. | 228 | ;; If the user switches to a different frame, exit. |
| 229 | ((not (eq screen last-event-screen)) | 229 | ((not (eq frame last-event-frame)) |
| 230 | (setq unread-command-char char) | 230 | (setq unread-command-char char) |
| 231 | (throw 'search-done t)) | 231 | (throw 'search-done t)) |
| 232 | 232 | ||
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index bc720859cdd..9eff8e9e282 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -289,7 +289,7 @@ means the default). The defaults for these variables are the global values of | |||
| 289 | (or (eq outwin (selected-window)) | 289 | (or (eq outwin (selected-window)) |
| 290 | (set-window-point outwin (point-min))) | 290 | (set-window-point outwin (point-min))) |
| 291 | (and compilation-window-height | 291 | (and compilation-window-height |
| 292 | (= (window-width outwin) (screen-width)) | 292 | (= (window-width outwin) (frame-width)) |
| 293 | (let ((w (selected-window))) | 293 | (let ((w (selected-window))) |
| 294 | (unwind-protect | 294 | (unwind-protect |
| 295 | (progn | 295 | (progn |
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index aad14d232c2..326464d8804 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el | |||
| @@ -485,8 +485,8 @@ See also fortran-window-create-momentarily." | |||
| 485 | (condition-case error | 485 | (condition-case error |
| 486 | (progn | 486 | (progn |
| 487 | (let ((window-min-width 2)) | 487 | (let ((window-min-width 2)) |
| 488 | (if (< (window-width) (screen-width)) | 488 | (if (< (window-width) (frame-width)) |
| 489 | (enlarge-window-horizontally (- (screen-width) | 489 | (enlarge-window-horizontally (- (frame-width) |
| 490 | (window-width) 1))) | 490 | (window-width) 1))) |
| 491 | (split-window-horizontally 73) | 491 | (split-window-horizontally 73) |
| 492 | (other-window 1) | 492 | (other-window 1) |
diff --git a/lisp/textmodes/ispell4.el b/lisp/textmodes/ispell4.el index caadb0b2e42..04bd066bac8 100644 --- a/lisp/textmodes/ispell4.el +++ b/lisp/textmodes/ispell4.el | |||
| @@ -416,7 +416,7 @@ With a prefix argument, resume handling of the previous Ispell command." | |||
| 416 | ret)) | 416 | ret)) |
| 417 | 417 | ||
| 418 | (defun ispell-show-choices (word message first-line) | 418 | (defun ispell-show-choices (word message first-line) |
| 419 | ;;if there is only one window on the screen, make the ispell | 419 | ;;if there is only one window on the frame, make the ispell |
| 420 | ;;messages winow be small. otherwise just use the other window | 420 | ;;messages winow be small. otherwise just use the other window |
| 421 | (let* ((selwin (selected-window)) | 421 | (let* ((selwin (selected-window)) |
| 422 | (resize (eq selwin (next-window))) | 422 | (resize (eq selwin (next-window))) |