;ELC ;;; compiled by rms@mole.gnu.ai.mit.edu on Thu Aug 11 03:09:42 1994 ;;; from file /home/fsf/rms/e19/lisp/frame.el ;;; emacs version 19.25.92.3. ;;; 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"))) (error "`/home/fsf/rms/e19/lisp/frame.el' was compiled for Emacs 19")) (defvar frame-creation-function nil "\ 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 initial-frame-alist (quote ((minibuffer . t))) "\ 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 affect 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 minibuffer-frame-alist (quote ((width . 80) (height . 2))) "\ 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 pop-up-frame-alist nil "\ 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'.") (byte-code "‡" [#[nil " !" [make-frame pop-up-frame-alist] 2] pop-up-frame-function nil] 1) (defvar special-display-frame-alist (quote ((height . 14) (width . 80) (unsplittable . t))) "\ *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'.") (byte-code "\"!!\"\"\"\"" [defalias special-display-popup-frame #[(buffer) " \" ! ! ! )1 ! ! \" !\" !))" [get-buffer-window buffer t window window-frame frame make-frame-visible raise-frame make-frame special-display-frame-alist set-window-buffer frame-selected-window set-window-dedicated-p] 4] special-display-function boundp frame-initial-frame nil frame-initial-geometry-arguments frame-initialize #[nil "I I \"A\"%B2B!! !҉Ӊ" [window-system noninteractive 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 #[(parameters) "!" [error "Can't create multiple frames without a window system"] 2] frame-creation-function] 3] frame-notice-user-settings #[nil " \nA=?\fłB B)p!\n8 8A=͉!AU!D\n !$\"B{\"\"\"\"\"! \"\"!!#$=! @&&!($=&$#\"*)\"\"*͉-./\n \".%.\".3.\".A.\".O.\"..-͉01-@@2A0-@@.A101=-@@1B/B/*-A-W///\"/!+q͉)" [menu-bar-lines default-frame-alist default 0 menu-bar-mode 1 old-buffer frame-live-p frame-initial-frame minibuffer initial-frame-alist (minibuffer . t) t nil new parms visibility frame-parameters sleep-for append (reverse) delq reverse height frame-initial-geometry-arguments frame-delete-all width left top make-frame minibuffer-frame-list minibuffer-frame-alist ((minibuffer . only)) 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 frame-initial-frame-alist modify-frame-parameters font frame-update-faces] 6] frame-delete-all #[(key alist) " !\n@@ =\n@ \"\nA\n )" [copy-sequence alist tail key delq] 4] get-other-frame #[nil " ! !" [next-frame selected-frame make-frame] 3]] 3) (defalias 'next-multiframe-window #[nil " V#!" [select-window next-window selected-window minibuffer-depth 0 t] 5 "\ Select the next window, regardless of which frame it is on." nil]) (defalias 'previous-multiframe-window #[nil " V#!" [select-window previous-window selected-window minibuffer-depth 0 t] 5 "\ Select the previous window, regardless of which frame it is on." nil]) (defalias (quote new-frame) (quote make-frame)) (defalias 'make-frame #[(&optional parameters) "!\f !! )" [nil nframe run-hooks before-make-frame-hook frame-creation-function parameters after-make-frame-hook] 2 "\ 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 one of the following forms: (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." nil]) (defalias 'filtered-frame-list #[(predicate) " :\f @! @\nB A\n*" [frame-list nil good-frames frames predicate] 3 "\ Return a list of all live frames which satisfy PREDICATE."]) (defalias 'minibuffer-frame-list #[nil "!" [filtered-frame-list #[(frame) "!!=" [frame window-frame minibuffer-window] 4]] 2 "\ Return a list of all frames with their own minibuffers."]) (defalias 'frame-remove-geometry-params #[(param-list) " B\nA:2\nA@:+\nA@@>+\nA@\fB\nAA\nA)\f A" [nil param-list tail (height width top left user-position user-size) frame-initial-geometry-arguments] 3 "\ 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 'other-frame #[(arg) " \nV# ! != ! \nS\nWC ! !=< !-\nT$ ! ! S# )" [selected-frame frame arg 0 next-frame frame-visible-p t previous-frame raise-frame select-frame set-mouse-position frame-width unfocus-frame] 5 "\ 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." "p"]) (defalias 'current-frame-configuration #[nil " \"B" [frame-configuration mapcar #[(frame) "!!E" [frame frame-parameters current-window-configuration] 4] frame-list] 4 "\ 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 '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 "\ 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 'frame-configuration-p #[(object) ": @=" [object frame-configuration] 2 "\ Return non-nil if OBJECT seems to be a frame configuration. Any list whose car is `frame-configuration' is assumed to be a frame configuration."]) (defalias 'frame-height #[(&optional frame) "\n!A" [height frame-parameters frame] 3 "\ Return number of lines 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 "\ Return number of columns available for display on FRAME. If FRAME is omitted, describe the currently selected frame."]) (defalias 'set-default-font #[(font-name) " BC\" !" [modify-frame-parameters selected-frame font font-name frame-update-faces] 4 "\ Set the font of the selected frame to FONT. When called interactively, prompt for the name of the font to use." "sFont name: "]) (defalias 'set-background-color #[(color-name) " BC\"" [modify-frame-parameters selected-frame background-color color-name] 4 "\ Set the background color of the selected frame to COLOR. When called interactively, prompt for the name of the color to use." "sColor: "]) (defalias 'set-foreground-color #[(color-name) " BC\"" [modify-frame-parameters selected-frame foreground-color color-name] 4 "\ Set the foreground color of the selected frame to COLOR. When called interactively, prompt for the name of the color to use." "sColor: "]) (defalias 'set-cursor-color #[(color-name) " BC\"" [modify-frame-parameters selected-frame cursor-color color-name] 4 "\ Set the text cursor color of the selected frame to COLOR. When called interactively, prompt for the name of the color to use." "sColor: "]) (defalias 'set-mouse-color #[(color-name) " BC\"" [modify-frame-parameters selected-frame mouse-color color-name] 4 "\ 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." "sColor: "]) (defalias 'set-border-color #[(color-name) " BC\"" [modify-frame-parameters selected-frame border-color color-name] 4 "\ Set the color of the border of the selected frame to COLOR. When called interactively, prompt for the name of the color to use." "sColor: "]) (defalias 'auto-raise-mode #[(arg) " !AĂ VBC\"" [arg auto-raise frame-parameters selected-frame -1 1 modify-frame-parameters 0] 5 "\ 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." "P"]) (defalias 'auto-lower-mode #[(arg) " !AĂ VBC\"" [arg auto-lower frame-parameters selected-frame -1 1 modify-frame-parameters 0] 5 "\ 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." "P"]) (defalias 'toggle-scroll-bar #[(arg) " !AĂ VBC\"" [arg vertical-scroll-bars frame-parameters selected-frame -1 1 modify-frame-parameters 0] 5 "\ 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." "P"]) (defalias 'toggle-horizontal-scroll-bar #[(arg) "!" [error "Horizontal scroll bars aren't implemented yet"] 2 "\ 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." "P"]) (byte-code "\"\"" [defalias screen-height frame-height screen-width frame-width] 3) (defalias 'set-screen-width #[(cols &optional pretend) " \n #" [set-frame-width selected-frame cols pretend] 4 "\ 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-height #[(lines &optional pretend) " \n #" [set-frame-height selected-frame lines pretend] 4 "\ 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."]) (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) (defvar ctl-x-5-map (make-sparse-keymap) "\ Keymap for frame commands.") (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)