%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/windmove.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301\302\303\304\305\306\307\310\311\310\312&\210\313\314\315\316\317DD\320\321\322\310\301&\210\313\323\315\316\324DD\325\321\322\310\301\306\326& \210\313\327\315\316\330DD\331\321\332\310\301&\210\333\327\334\326#\207" [custom-declare-group windmove nil "Directional selection of windows in a frame." :prefix "windmove-" :version "21.1" :group windows convenience custom-declare-variable windmove-wrap-around funcall function #[0 "\300\207" [nil] 1] "Whether movement off the edge of the frame wraps around.\nIf this variable is set to t, moving left from the leftmost window in\na frame will find the rightmost one, and similarly for the other\ndirections. The minibuffer is skipped over in up/down movements if it\nis inactive." :type boolean windmove-create-window #[0 "\300\207" [nil] 1] "Whether movement off the edge of the frame creates a new window.\nIf this variable is set to t, moving left from the leftmost window in\na frame will create a new window on the left, and similarly for the other\ndirections." "27.1" windmove-window-distance-delta #[0 "\300\207" [1] 1] "How far away from the current window to look for an adjacent window.\nMeasured in characters either horizontally or vertically; setting this\nto a value larger than 1 may be useful in getting around window-\nplacement bugs in old versions of Emacs." number make-obsolete-variable "no longer used."] 12) #@156 Add the two coordinates. Both COORD1 and COORD2 are coordinate cons pairs, (HPOS . VPOS). The result is another coordinate cons pair. (fn COORD1 COORD2) (defalias 'windmove-coord-add #[514 "@@\\AA\\B\207" [] 5 (#$ . 1814)]) (make-obsolete 'windmove-coord-add "no longer used." "27.1") #@165 Ensure that N is between MIN-N and MAX-N inclusive by constraining. If N is less than MIN-N, return MIN-N; if greater than MAX-N, return MAX-N. (fn N MIN-N MAX-N) (defalias 'windmove-constrain-to-range #[771 "^]\207" [] 6 (#$ . 2112)]) (make-obsolete 'windmove-constrain-to-range "no longer used." "27.1") #@161 Ensure that N is between MIN-N and MAX-N inclusive by wrapping. If N is less than MIN-N, return MAX-N; if greater than MAX-N, return MIN-N. (fn N MIN-N MAX-N) (defalias 'windmove-constrain-around-range #[771 "W\203 \207V\203 \207\207" [] 5 (#$ . 2429)]) (make-obsolete 'windmove-constrain-around-range "no longer used." "27.1") #@434 Return (X-MIN Y-MIN X-MAX Y-MAX) for the frame containing WINDOW. If WINDOW is nil, return the edges for the selected frame. (X-MIN, Y-MIN) is the zero-based coordinate of the top-left corner of the frame; (X-MAX, Y-MAX) is the zero-based coordinate of the bottom-right corner of the frame. For example, if a frame has 76 rows and 181 columns, the return value from `windmove-frame-edges' will be the list (0 0 180 75). (fn WINDOW) (defalias 'windmove-frame-edges #[257 "\300\301!!\207" [window-edges frame-root-window] 4 (#$ . 2773)]) (make-obsolete 'windmove-frame-edges "no longer used." "27.1") #@614 Constrain COORD so that it is reasonable for the given movement. This involves two things: first, make sure that the "off" coordinate -- the one not being moved on, e.g., y for horizontal movement -- is within frame boundaries; second, if the movement is down and we're not moving from the minibuffer, make sure that the y coordinate does not exceed the frame max-y, so that we don't overshoot the minibuffer accidentally. WINDOW is the window that movement is relative to; DIR is the direction of the movement, one of `left', `up', `right', or `down'. Returns the constrained coordinate. (fn COORD WINDOW DIR) (defalias 'windmove-constrain-loc-for-movement #[771 "\300!\301!@A@\3028\3038\304>\203\"