%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/dframe.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@53 The current version of the dedicated frame library. (defvar dframe-version "1.3" (#$ . 408)) (byte-code "\300\301\302\303#\210\304\301\302\305#\210\306\307\303\310\311\312\313\307&\207" [defalias dframe-frame-parameter frame-parameter nil make-obsolete "27.1" custom-declare-group dframe "Faces used in dframe." :prefix "dframe-" :group] 8) #@148 Non-nil means that timers are available for this Emacs. This is nil for terminals, since updating a frame in a terminal is not useful to the user. (defvar dframe-have-timer-flag (byte-code "\301\302!\203 \302 \207\207" [window-system fboundp display-graphic-p] 2) (#$ . 757)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\315&\210\300\316\302\303\317DD\320\306\307\310\321&\207" [custom-declare-variable dframe-update-speed funcall function #[0 "\300\207" [1] 1] "Idle time in seconds needed before dframe will update itself.\nUpdates occur to allow dframe to display directory information\nrelevant to the buffer you are currently editing." :group dframe :type integer dframe-activity-change-focus-flag #[0 "\300\207" [nil] 1] "Non-nil means the selected frame will change based on activity.\nThus, if a file is selected for edit, the buffer will appear in the\nselected frame and the focus will change to that frame." boolean dframe-after-select-attached-frame-hook #[0 "\300\207" [nil] 1] "Hook run after dframe has selected the attached frame." hook] 8) #@127 A function to call when the mouse is moved in the given frame. Typically used to display info about the line under the mouse. (defvar dframe-track-mouse-function nil (#$ . 1879)) (make-variable-buffer-local 'dframe-track-mouse-function) #@134 A function to call when help-echo is used in newer versions of Emacs. Typically used to display info about the line under the mouse. (defvar dframe-help-echo-function nil (#$ . 2123)) (make-variable-buffer-local 'dframe-help-echo-function) #@93 A function to call when the mouse is clicked. Valid clicks are mouse 2, our double mouse 1. (defvar dframe-mouse-click-function nil (#$ . 2369)) (make-variable-buffer-local 'dframe-mouse-click-function) #@62 A function to call to position the cursor for a mouse click. (defvar dframe-mouse-position-function nil (#$ . 2578)) (make-variable-buffer-local 'dframe-mouse-position-function) #@67 Never set this by hand. Value is t when S-mouse activity occurs. (defvar dframe-power-click nil (#$ . 2762)) #@48 The dframe timer used for updating the buffer. (defvar dframe-timer nil (#$ . 2878)) (make-variable-buffer-local 'dframe-timer) #@130 The frame which started a frame mode. This is the frame from which all interesting activities will go for the mode using dframe. (defvar dframe-attached-frame nil (#$ . 3013)) (make-variable-buffer-local 'dframe-attached-frame) #@111 Is this buffer controlled by a dedicated frame. Local to those buffers, as a function called that created it. (defvar dframe-controlled nil (#$ . 3248)) (make-variable-buffer-local 'dframe-controlled) #@62 Update the keymap MAP for dframe default bindings. (fn MAP) (defalias 'dframe-update-keymap #[257 "\301\302\303#\210\301\304\305#\210\306\307\310$\210\301\311\312#\210\301\313\314#\210\301\315\316#\210\301\317\320#\210\301\321\322#\210\301\323\320#\210\301\324\325#\210\301\326\327#\207" [global-map define-key "q" dframe-close-frame "Q" delete-frame substitute-key-definition switch-to-buffer dframe-switch-buffer-attached-frame [follow-link] mouse-face [mouse-2] dframe-click [S-mouse-2] dframe-power-click [down-mouse-3] dframe-popup-kludge [mode-line mouse-2] dframe-mouse-hscroll [mode-line down-mouse-1] [C-down-mouse-1] dframe-hack-buffer-menu [mouse-movement] dframe-track-mouse] 6 (#$ . 3455)]) #@61 Return non-nil if FRAME is currently available. (fn FRAME) (defalias 'dframe-live-p #[257 "\211\205 \300!\205 \301!\207" [frame-live-p frame-visible-p] 3 (#$ . 4178)]) #@819 Manage a frame for an application, enabling it when ARG is positive. FRAME-VAR is a variable used to cache the frame being used. This frame is either resurrected, hidden, killed, etc based on the value. CACHE-VAR is a variable used to cache a cached frame. BUFFER-VAR is a variable used to cache the buffer being used in dframe. This buffer will have `dframe-frame-mode' run on it. FRAME-NAME is the name of the frame to create. LOCAL-MODE-FN is the function used to call this one. PARAMETERS are frame parameters to apply to this dframe. DELETE-HOOK is a hook to run when deleting a frame. POPUP-HOOK is a hook to run before showing a frame. CREATE-HOOK is a hook to run after creating a frame. (fn ARG FRAME-VAR CACHE-VAR BUFFER-VAR FRAME-NAME LOCAL-MODE-FN &optional PARAMETERS DELETE-HOOK POPUP-HOOK CREATE-HOOK) (defalias 'dframe-frame-mode #[2566 "\306:\203 \211!\262:\203 \211!\262:\203 \211!\262\210 \2046 \307 J!\2033 \310\262\n\2026 \311\262\nJq\210 \247\203l \312W\203l \313!\210J\203g \314 J!\203g JL\210\315 J!\210\316L\207\317 \313\320!\210\313!\210rJq\210\n\203\211 \321\303!\210\322\323\305!\203\233 \323\304!\203\233 \321\305!\210\f\321\304!\210\324\325\326\327\312\330\331\332 !\333\"\334$\322\211$\210)\314J!\203\360 JL\210\335 J!\210\336 J!\210\337\340 \316\"\210pJ=\204\344 \341\316J\"\210\337\340 \322\"\210\342 J!\207\314 J!\203\376 \342 J!\207\343\344\"\345\346\"\203\202\347\346\206\312\350 \\BC\"\345\351\"\203+\211\2023\347\351\352 BC\"4\353=\204@\354!\202L5678\354!*\266\203L\210\212\336 J!\210\341\316J\"\210\337\340 \322\"\210)\313!\2104\203u4\355=\203\226\356\357!\203\226\360 \327\312\361\331\332!\362\"\363$\216\336\nJ!\210\357!\210)\2104?\205\241\336 J!\207" [dframe-attached-frame dframe-controlled dframe-track-mouse-function track-mouse temp-buffer-show-function temp-buffer-show-hook #[257 "\300\301!\211L\210\211\207" [make-symbol "hook"] 4 "\n\n(fn VAL)"] dframe-live-p -1 1 0 run-hooks frame-live-p make-frame-invisible nil selected-frame dframe-setup-hook make-local-variable t boundp dframe-temp-buffer-show-function add-hook kill-buffer-hook make-byte-code "\302\303!\211?\205 \205 \304!\210\300\305L\207" vconcat vector [dframe-controlled boundp skilling -1 nil] 3 make-frame-visible select-frame set-window-dedicated-p selected-window set-window-buffer raise-frame frame-parameter menu-bar-lines assoc height append frame-height width frame-width x make-frame pc fboundp set-frame-name current-window-configuration "\301\300!\207" [set-window-configuration] 2 window-system x-pointer-top-left-arrow x-pointer-hand2 x-sensitive-text-pointer-shape x-pointer-shape] 18 (#$ . 4358)]) #@210 Move NEW-FRAME to be relative to PARENT-FRAME. LOCATION can be one of `random', `left-right', `top-bottom', or a cons cell indicating a position of the form (LEFT . TOP). (fn NEW-FRAME PARENT-FRAME LOCATION) (defalias 'dframe-reposition-frame #[771 "?\206 \302=?\205O\303\304\"\303\305\"\306!\307!\\\310!\307!\310!\311\211:\2043 \202L @\312=\203H \312\313 A@#\202L A@\262:\204Y \202r @\312=\203n \312\314 A@#\202r A@\262\315\267\202*\316\317#\262\262\202B\312\317#\262\262\202B\312\317#\316 \317#\312\313 \320 $ \321Y\203\275 \202\330 \211\321Y\203\307 \202\330 V\203\321 \321\202\330 \312\313 \320#)\266\203\262\262\202B\262\312\322#\316\320#\312\314 \320 $\321Y\203\202#\211\321Y\203\202#V\203\321\202#\312\314 \320#\266\204\262\202B:\203B@\2067\321\262A\206@\321\262\323\304B\305BD\"\266\210\207" [window-system left-margin pc frame-parameter left top tool-bar-pixel-width frame-pixel-width frame-pixel-height nil - x-display-pixel-width x-display-pixel-height #s(hash-table size 4 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (right 123 left 139 left-right 155 top-bottom 228)) + 10 5 0 15 modify-frame-parameters] 19 (#$ . 7097)]) #@140 Detach the frame in symbol FRAME-VAR. CACHE-VAR and BUFFER-VAR are symbols as in `dframe-frame-mode'. (fn FRAME-VAR CACHE-VAR BUFFER-VAR) (defalias 'dframe-detach #[771 "r\211Jq\210\300\301 \302\"\210J\303L\210\303L\210\303L\210\304!\210L\262)\207" [rename-buffer buffer-name t nil make-variable-buffer-local] 6 (#$ . 8388)]) #@48 Used for setting frame special event bindings. (defvar dframe-setup-hook nil (#$ . 8729)) (defalias 'dframe-set-special-events #[0 "\301\302\303#\210\301\304\305#\210\301\306\307#\210\310\311\312\"\207" [special-event-map define-key [make-frame-visible] dframe-handle-make-frame-visible [iconify-frame] dframe-handle-iconify-frame [delete-frame] dframe-handle-delete-frame remove-hook dframe-setup-hook dframe-set-special-events] 4]) (byte-code "\300\301!\203 \302\303\304\"\210\300\207" [boundp special-event-map add-hook dframe-setup-hook dframe-set-special-events] 3) #@96 Function used when a dframe controlled frame is de-iconified. The function must take an EVENT. (defvar dframe-make-frame-visible-function nil (#$ . 9310)) #@93 Function used when a dframe controlled frame is iconified. The function must take an EVENT. (defvar dframe-iconify-frame-function nil (#$ . 9471)) #@100 Function used when a frame attached to a dframe frame is deleted. The function must take an EVENT. (defvar dframe-delete-frame-function nil (#$ . 9625)) #@160 Handle a `make-frame-visible' event. Should enable auto-updating if the last state was also enabled. Argument E is the event making the frame visible. (fn E) (defalias 'dframe-handle-make-frame-visible #[257 "\302!\205 \205 !\207" [last-event-frame dframe-make-frame-visible-function dframe-attached-frame] 4 (#$ . 9785) "e"]) #@152 Handle a `iconify-frame' event. Should disable auto-updating if the last state was also enabled. Argument E is the event iconifying the frame. (fn E) (defalias 'dframe-handle-iconify-frame #[257 "\302!\205 \205 \205 \207" [last-event-frame dframe-iconify-frame-function dframe-attached-frame] 4 (#$ . 10127) "e"]) #@82 Handle `delete-frame' event. Argument E is the event deleting the frame. (fn E) (defalias 'dframe-handle-delete-frame #[257 "\301 \302 \203 \303@!\210\203 !\210A\262\202 \304!\203&