;ELC ;;; compiled by kwzh@hill.gnu.ai.mit.edu on Fri Jun 16 04:28:28 1995 ;;; from file /gd/gnu/emacs/19.0/lisp/frame.el ;;; emacs version 19.28.94.4. ;;; bytecomp version FSF 2.10 ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19.28.90"))) (error "`frame.el' was compiled for Emacs 19.29 or later")) #@202 Window-system dependent function to call to create a new frame. The window system startup file should set this to its frame creation function, which should take an alist of parameters as its argument. (defvar frame-creation-function nil (#$ . 474)) #@1056 Alist of frame parameters for creating the initial X window frame. You can set this in your `.emacs' file; for example, (setq initial-frame-alist '((top . 1) (left . 1) (width . 80) (height . 55))) Parameters specified here supersede the values given in `default-frame-alist'. If the value calls for a frame without a minibuffer, and you have not created a minibuffer frame on your own, one is created according to `minibuffer-frame-alist'. You can specify geometry-related options for just the initial frame by setting this variable in your `.emacs' file; however, they won't take effect until Emacs reads `.emacs', which happens after first creating the frame. If you want the frame to have the proper geometry as soon as it appears, you need to use this three-step process: * Specify X resources to give the geometry you want. * Set `default-frame-alist' to override these options so that they don't affect subsequent frames. * Set `initial-frame-alist' in a way that matches the X resources, to override what you put in `default-frame-alist'. (defvar initial-frame-alist (quote ((minibuffer . t))) (#$ . 731)) #@286 Alist of frame parameters for initially creating a minibuffer frame. You can set this in your `.emacs' file; for example, (setq minibuffer-frame-alist '((top . 1) (left . 1) (width . 80) (height . 2))) Parameters specified here supersede the values given in `default-frame-alist'. (defvar minibuffer-frame-alist (quote ((width . 80) (height . 2))) (#$ . 1860)) #@293 Alist of frame parameters used when creating pop-up frames. Pop-up frames are used for completions, help, and the like. This variable can be set in your init file, like this: (setq pop-up-frame-alist '((width . 80) (height . 20))) These supersede the values given in `default-frame-alist'. (defvar pop-up-frame-alist nil (#$ . 2232)) (byte-code "À‡" [#[nil "À !‡" [make-frame pop-up-frame-alist] 2] pop-up-frame-function nil] 1) #@425 *Alist of frame parameters used when creating special frames. Special frames are used for buffers whose names are in `special-display-buffer-names' and for buffers whose names match one of the regular expressions in `special-display-regexps'. This variable can be set in your init file, like this: (setq special-display-frame-alist '((width . 80) (height . 20))) These supersede the values given in `default-frame-alist'. (defvar special-display-frame-alist (quote ((height . 14) (width . 80) (unsplittable . t))) (#$ . -2672)) (defalias 'special-display-popup-frame #[(buffer &optional args) "ƒ@9ƒÁ@\nA#‡Ã\nÄ\"‰ƒ/Æ !È!ˆÉ!ˆ )‚MÊË\f\"!ÍÎ!\n\"ˆÏÎ!Ä\"ˆÎ!))‡" [args apply buffer get-buffer-window t window window-frame frame make-frame-visible raise-frame make-frame append special-display-frame-alist set-window-buffer frame-selected-window set-window-dedicated-p] 5]) (defalias 'handle-delete-frame #[(event) "‰A@)‰@)Âà \fƒ.Ç\f@!ƒ'\f@=„' T\fA‰„ ÂVƒ<ÈÉ\"‚>Ê +‡" [event position 0 frame-list tail i frame frame-visible-p delete-frame t kill-emacs] 4 nil "e"]) (byte-code "ÀÁ!„ÂÁ BÄ BÀÅ!„ÂÅ B‡" [boundp frame-initial-frame nil current-load-list frame-initial-frame-alist frame-initial-geometry-arguments] 2) (defalias 'frame-initialize #[nil "ƒK „KÂÄ Æ \"„CÇ \"\nË\nž„'Ì\nB\nÍ\nž„4Î\nB\nÏ!‰Ò!Ó !ˆÔ‰‡ÕÖ!ƒUÖ‚V׉‡" [window-system noninteractive special-display-popup-frame special-display-function delq terminal-frame minibuffer-frame-list append initial-frame-alist default-frame-alist frame-initial-frame-alist vertical-scroll-bars (vertical-scroll-bars . t) horizontal-scroll-bars (horizontal-scroll-bars . t) make-frame frame-initial-frame default-minibuffer-frame frame-remove-geometry-params delete-frame nil fboundp make-terminal-frame #[(parameters) "ÀÁ!‡" [error "Can't create multiple frames without a window system"] 2] frame-creation-function] 3]) (defalias 'frame-notice-user-settings #[nil "ÀÁ!ƒ& ž‰ƒ\fAÅ=?‚% ƒ Æ‚!ÅB B)pÈ !ƒÅÊ ž†>Ê ž†>ÌAÍ=„ΉÑÒ !žA„[ÓÆ!ˆ‚JÒ !Ôž„rÖÔž\"× Î$ØÖÙž\"BÚžƒ–ÜÚ\"Ýžƒ¤ÜÝ\"Þžƒ²ÜÞ\"ßžƒÀÜß\"à×á#!Ö â \"„ØãÎ!ˆäå!‰&„é' =ƒ äè!†ñâ @)ê)!+' =ƒ)'ìí&\"ˆ*)î \"ˆï Í\"ˆ*‚ÅΉ‰012× \"1Úžƒ=ÜÚ1\"1ÝžƒKÜÝ1\"1ÞžƒYÜÞ1\"1ßžƒgÜß1\"11‰0ƒ¬Ή340@@ž30@@1žA43ƒ–3A4=„¢0@@4B2B2*0A‰0„o2Ÿ2õ 2\"ˆö2žƒÄ÷ !ˆ+qˆÎ‰ )‡" [boundp menu-bar-mode menu-bar-lines default-frame-alist default 0 1 old-buffer frame-live-p frame-initial-frame minibuffer initial-frame-alist (minibuffer . t) t nil new parms visibility frame-parameters sleep-for name frame-initial-frame-alist delq append (reverse) reverse height frame-initial-geometry-arguments frame-delete-all width left top make-frame ((user-size . t) (user-position . t)) minibuffer-frame-list make-initial-minibuffer-frame filtered-frame-list #[(frame) " =?…ÂÃ!! =‡" [frame frame-initial-frame window-frame minibuffer-window] 3] users-of-initial default-minibuffer-frame #[(frame) "ÀÁ\n!žAÃ=‡" [minibuffer frame-parameters frame only] 3] new-surrogate minibuffer-window new-minibuffer mapcar #[(frame) "À  BC\"‡" [modify-frame-parameters frame minibuffer new-minibuffer] 4] redirect-frame-focus delete-frame tail allparms newparms oldval newval modify-frame-parameters font frame-update-faces] 6]) (defalias 'make-initial-minibuffer-frame #[(display) "À Â\"\fƒÅ\f \"‚Æ !)‡" [append minibuffer-frame-alist ((minibuffer . only)) parms display make-frame-on-display make-frame] 3]) (defalias 'frame-delete-all #[(key alist) "À !‰‰ƒ\n@@ =ƒÄ\n@ \"\nA‰„\n )‡" [copy-sequence alist tail key delq] 4]) (defalias 'get-other-frame #[nil "ÀÁ !Á šƒ  ‡ÀÁ !‡" [next-frame selected-frame make-frame] 3]) #@61 Select the next window, regardless of which frame it is on. (defalias 'next-multiframe-window #[nil "ÀÁ à ÄVÅ#!‡" [select-window next-window selected-window minibuffer-depth 0 t] 5 (#$ . 6484) nil]) #@65 Select the previous window, regardless of which frame it is on. (defalias 'previous-multiframe-window #[nil "ÀÁ à ÄVÅ#!‡" [select-window previous-window selected-window minibuffer-depth 0 t] 5 (#$ . 6690) nil]) #@113 Make a frame on display DISPLAY. The optional second argument PARAMETERS specifies additional frame parameters. (defalias 'make-frame-on-display #[(display &optional parameters) "ÀÁ B\nB!‡" [make-frame display parameters] 3 (#$ . 6909) "sMake frame on display: "]) (defalias (quote new-frame) (quote make-frame)) #@861 Create a new frame, displaying the current buffer. Optional argument PARAMETERS is an alist of parameters for the new frame. Specifically, PARAMETERS is a list of pairs, each having the form (NAME . VALUE). Here are some of the parameters allowed (not a complete list): (name . STRING) - The frame should be named STRING. (height . NUMBER) - The frame should be NUMBER text lines high. If this parameter is present, the width parameter must also be given. (width . NUMBER) - The frame should be NUMBER characters in width. If this parameter is present, the height parameter must also be given. (minibuffer . t) - the frame should have a minibuffer (minibuffer . nil) - the frame should have no minibuffer (minibuffer . only) - the frame should contain only a minibuffer (minibuffer . WINDOW) - the frame should use WINDOW as its minibuffer window. (defalias 'make-frame #[(&optional parameters) "ÀÂÃ!ˆ\f !ÂÆ!ˆ )‡" [nil nframe run-hooks before-make-frame-hook frame-creation-function parameters after-make-frame-hook] 2 (#$ . 7229) nil]) #@59 Return a list of all live frames which satisfy PREDICATE. (defalias 'filtered-frame-list #[(predicate) "À Á‰:ƒ\f @!ƒ @\nB A‰‚\n*‡" [frame-list nil good-frames frames predicate] 3 (#$ . 8286)]) #@57 Return a list of all frames with their own minibuffers. (defalias 'minibuffer-frame-list #[nil "ÀÁ!‡" [filtered-frame-list #[(frame) "ÁÂ!!=‡" [frame window-frame minibuffer-window] 4]] 2 (#$ . 8495)]) #@289 Return the parameter list PARAM-LIST, but with geometry specs removed. This deletes all bindings in PARAM-LIST for `top', `left', `width', `height', `user-size' and `user-position' parameters. Emacs uses this to avoid overriding explicit moves and resizings from the user during startup. (defalias 'frame-remove-geometry-params #[(param-list) "À B‰\nA:ƒ2\nA@:ƒ+\nA@@Ã>ƒ+\nA@\fB\n‰AA¡ˆ‚\nA‰‚)\fŸ A‡" [nil param-list tail (height width top left user-position user-size) frame-initial-geometry-arguments] 3 (#$ . 8705)]) #@206 Select the ARG'th different visible frame, and raise it. All frames are arranged in a cyclic order. This command selects the frame ARG steps away in that order. A negative ARG moves in the opposite order. (defalias 'other-frame #[(arg) "À \nÃVƒ#Ä !Å !Æ=„Ä !‚ \nS‰‚\nÃWƒCÇ !Å !Æ=„<Ç !‚-\nT‰‚$È !ˆÉ !ˆÊÀ Ë SÃ#ˆÌÍ!…\\Í )‡" [selected-frame frame arg 0 next-frame frame-visible-p t previous-frame raise-frame select-frame set-mouse-position frame-width fboundp unfocus-frame] 5 (#$ . 9242) "p"]) #@342 Return a list describing the positions and states of all frames. Its car is `frame-configuration'. Each element of the cdr is a list of the form (FRAME ALIST WINDOW-CONFIG), where FRAME is a frame object, ALIST is an association list specifying some of FRAME's parameters, and WINDOW-CONFIG is a window configuration object for FRAME. (defalias 'current-frame-configuration #[nil "ÀÁÂà \"B‡" [frame-configuration mapcar #[(frame) "Á!Â!E‡" [frame frame-parameters current-window-configuration] 4] frame-list] 4 (#$ . 9758)]) #@388 Restore the frames to the state described by CONFIGURATION. Each frame listed in CONFIGURATION has its position, size, window configuration, and other parameters set as specified in CONFIGURATION. Ordinarily, this function deletes all existing frames not listed in CONFIGURATION. But if optional second argument NODELETE is given and non-nil, the unwanted frames are iconified instead. (defalias 'set-frame-configuration #[(configuration &optional nodelete) "À !„ ÂÃÀ D\"ˆ AÄÇÈÉ \"ˆ\nƒ%ÇË \"‚)ÇÌ \"*‡" [frame-configuration-p configuration signal wrong-type-argument nil frames-to-delete config-alist mapcar #[(frame) " ž‰ƒ)Ã\nA@Å\fž‰ƒÇ\f\"\f*\"ˆÈÉ\n8!‚0\nB‰\n)‡" [frame config-alist parameters modify-frame-parameters parms minibuffer mini delq set-window-configuration 2 frames-to-delete] 6] frame-list nodelete iconify-frame delete-frame] 4 (#$ . 10298)]) #@116 Return number of lines available for display on FRAME. If FRAME is omitted, describe the currently selected frame. (defalias 'frame-height #[(&optional frame) "ÀÁ\n!žA‡" [height frame-parameters frame] 3 (#$ . 11187)]) #@118 Return number of columns available for display on FRAME. If FRAME is omitted, describe the currently selected frame. (defalias 'frame-width #[(&optional frame) "ÀÁ\n!žA‡" [width frame-parameters frame] 3 (#$ . 11413)]) #@112 Set the font of the selected frame to FONT. When called interactively, prompt for the name of the font to use. (defalias 'set-default-font #[(font-name) "ÀÁ  BC\"ˆÄÁ !‡" [modify-frame-parameters selected-frame font font-name frame-update-faces] 4 (#$ . 11639) "sFont name: "]) #@126 Set the background color of the selected frame to COLOR. When called interactively, prompt for the name of the color to use. (defalias 'set-background-color #[(color-name) "ÀÁ  BC\"ˆÄÁ !‡" [modify-frame-parameters selected-frame background-color color-name frame-update-face-colors] 4 (#$ . 11924) "sColor: "]) #@126 Set the foreground color of the selected frame to COLOR. When called interactively, prompt for the name of the color to use. (defalias 'set-foreground-color #[(color-name) "ÀÁ  BC\"ˆÄÁ !‡" [modify-frame-parameters selected-frame foreground-color color-name frame-update-face-colors] 4 (#$ . 12243) "sColor: "]) #@127 Set the text cursor color of the selected frame to COLOR. When called interactively, prompt for the name of the color to use. (defalias 'set-cursor-color #[(color-name) "ÀÁ  BC\"‡" [modify-frame-parameters selected-frame cursor-color color-name] 4 (#$ . 12562) "sColor: "]) #@136 Set the color of the mouse pointer of the selected frame to COLOR. When called interactively, prompt for the name of the color to use. (defalias 'set-mouse-color #[(color-name) "ÀÁ  BC\"‡" [modify-frame-parameters selected-frame mouse-color color-name] 4 (#$ . 12844) "sColor: "]) #@129 Set the color of the border of the selected frame to COLOR. When called interactively, prompt for the name of the color to use. (defalias 'set-border-color #[(color-name) "ÀÁ  BC\"‡" [modify-frame-parameters selected-frame border-color color-name] 4 (#$ . 13133) "sColor: "]) #@393 Toggle whether or not the selected frame should auto-raise. With arg, turn auto-raise mode on if and only if arg is positive. Note that this controls Emacs's own auto-raise feature. Some window managers allow you to enable auto-raise for certain windows. You can use that for Emacs windows if you wish, but if you do, that is beyond the control of Emacs and this command has no effect on it. (defalias 'auto-raise-mode #[(arg) "„ÁÂà !žAƒÄ‚ÅÆà ÁÇVBC\"‡" [arg auto-raise frame-parameters selected-frame -1 1 modify-frame-parameters 0] 5 (#$ . 13417) "P"]) #@393 Toggle whether or not the selected frame should auto-lower. With arg, turn auto-lower mode on if and only if arg is positive. Note that this controls Emacs's own auto-lower feature. Some window managers allow you to enable auto-lower for certain windows. You can use that for Emacs windows if you wish, but if you do, that is beyond the control of Emacs and this command has no effect on it. (defalias 'auto-lower-mode #[(arg) "„ÁÂà !žAƒÄ‚ÅÆà ÁÇVBC\"‡" [arg auto-lower frame-parameters selected-frame -1 1 modify-frame-parameters 0] 5 (#$ . 13987) "P"]) #@139 Toggle whether or not the selected frame has vertical scroll bars. With arg, turn vertical scroll bars on if and only if arg is positive. (defalias 'toggle-scroll-bar #[(arg) "„ÁÂà !žAƒÄ‚ÅÆà ÁÇVBC\"‡" [arg vertical-scroll-bars frame-parameters selected-frame -1 1 modify-frame-parameters 0] 5 (#$ . 14557) "P"]) #@190 Toggle whether or not the selected frame has horizontal scroll bars. With arg, turn horizontal scroll bars on if and only if arg is positive. Horizontal scroll bars aren't implemented yet. (defalias 'toggle-horizontal-scroll-bar #[(arg) "ÀÁ!‡" [error "Horizontal scroll bars aren't implemented yet"] 2 (#$ . 14885) "P"]) (byte-code "ÀÁÂ\"ˆÀÃÄ\"‡" [defalias screen-height frame-height screen-width frame-width] 3) #@327 Obsolete function to change the size of the screen to COLS columns. Optional second arg non-nil means that redisplay should use COLS columns but that the idea of the actual width of the frame should not be changed. This function is provided only for compatibility with Emacs 18; new code should use `set-frame-width instead'. (defalias 'set-screen-width #[(cols &optional pretend) "ÀÁ \n #‡" [set-frame-width selected-frame cols pretend] 4 (#$ . 15305)]) #@329 Obsolete function to change the height of the screen to LINES lines. Optional second arg non-nil means that redisplay should use LINES lines but that the idea of the actual height of the screen should not be changed. This function is provided only for compatibility with Emacs 18; new code should use `set-frame-width' instead. (defalias 'set-screen-height #[(lines &optional pretend) "ÀÁ \n #‡" [set-frame-height selected-frame lines pretend] 4 (#$ . 15767)]) (byte-code "ÀÁÂ\"ˆÀÃÄ\"ˆÀÅÆ\"ˆÀÇÈ\"‡" [make-obsolete screen-height frame-height screen-width frame-width set-screen-width set-frame-width set-screen-height set-frame-height] 3) #@28 Keymap for frame commands. (defvar ctl-x-5-map (make-sparse-keymap) (#$ . 16411)) (byte-code "ÀÁ\n\"ˆÃ\fÅÁ#ˆÃ\nÆÇ#ˆÃ\nÈÉ#ˆÃ\nÊË#ˆÌÍ!‡" [defalias ctl-x-5-prefix ctl-x-5-map define-key ctl-x-map "5" "2" make-frame "0" delete-frame "o" other-frame provide frame] 4)