?
Current Path : /usr/share/emacs/24.3/lisp/vc/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/vc/ediff-wind.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:53 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/vc/ediff-wind.el ;;; in Emacs version 24.3.1 ;;; 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!\204 \302\301\303\304B\"\210\305\306!\210\302\307\310\"\210\311\312\313\314\315\316\317\320\317\321& \207" [fboundp declare-function defalias macro #[(&rest r) "\300\207" [nil] 1] require ediff-init ediff-compute-toolbar-width #[nil "\300\207" [0] 1] custom-declare-group ediff-window nil "Ediff window manipulation." :prefix "ediff-" :group ediff frames] 10) (defalias 'ediff-choose-window-setup-function-automatically #[nil "\300 \203 \301\207\302\207" [ediff-window-display-p ediff-setup-windows-multiframe ediff-setup-windows-plain] 1]) (byte-code "\300\301\302\303#\210\304\305\306\307\310\311\312\313\314\303& \207" [make-obsolete ediff-choose-window-setup-function-automatically ediff-setup-windows-default "24.3" custom-declare-variable ediff-window-setup-function 'ediff-setup-windows-default "Function called to set up windows.\nEdiff provides a choice of three functions:\n (1) `ediff-setup-windows-multiframe', which sets the control panel\n in a separate frame.\n (2) `ediff-setup-windows-plain', which does everything in one frame\n (3) `ediff-setup-windows-default' (the default), which does (1)\n on a graphical display and (2) on a text terminal.\n\nThe command \\[ediff-toggle-multiframe] can be used to toggle\nbetween the multiframe display and the single frame display. If\nthe multiframe function detects that one of the buffers A/B is\nseen in some other frame, it will try to keep that buffer in that\nframe.\n\nIf you don't like any of the two provided functions, write your own one.\nThe basic guidelines:\n 1. It should leave the control buffer current and the control window\n selected.\n 2. It should set `ediff-window-A', `ediff-window-B', `ediff-window-C',\n and `ediff-control-window' to contain window objects that display\n the corresponding buffers.\n 3. It should accept the following arguments:\n buffer-A, buffer-B, buffer-C, control-buffer\n Buffer C may not be used in jobs that compare only two buffers.\nIf you plan to do something fancy, take a close look at how the two\nprovided functions are written." :type (choice (const :tag "Choose Automatically" ediff-setup-windows-default) (const :tag "Multi Frame" ediff-setup-windows-multiframe) (const :tag "Single Frame" ediff-setup-windows-plain) (function :tag "Other function")) :group ediff-window :version] 10) #@2 (defvar ediff-multiframe nil (#$ . 2932)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-multiframe put permanent-local t] 4) #@2 (defvar ediff-merge-window-share 0.45 (#$ . 3099)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-merge-window-share put permanent-local t] 4) #@2 (defvar ediff-control-window nil (#$ . 3283)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-control-window put permanent-local t] 4) #@2 (defvar ediff-window-A nil (#$ . 3458)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-window-A put permanent-local t] 4) #@2 (defvar ediff-window-B nil (#$ . 3621)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-window-B put permanent-local t] 4) #@2 (defvar ediff-window-C nil (#$ . 3784)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-window-C put permanent-local t] 4) #@2 (defvar ediff-window-config-saved "" (#$ . 3947)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-window-config-saved put permanent-local t] 4) (defconst ediff-window-alist '((A . ediff-window-A) (65 . ediff-window-A) (B . ediff-window-B) (66 . ediff-window-B) (C . ediff-window-C) (67 . ediff-window-C))) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\207" [custom-declare-variable ediff-split-window-function 'split-window-vertically "The function used to split the main window between buffer-A and buffer-B.\nYou can set it to a horizontal split instead of the default vertical split\nby setting this variable to `split-window-horizontally'.\nYou can also have your own function to do fancy splits.\nThis variable has no effect when buffer-A/B are shown in different frames.\nIn this case, Ediff will use those frames to display these buffers." :type (choice (const :tag "Split vertically" split-window-vertically) (const :tag "Split horizontally" split-window-horizontally) function) :group ediff-window ediff-merge-split-window-function 'split-window-horizontally "The function used to split the main window between buffer-A and buffer-B.\nYou can set it to a vertical split instead of the default horizontal split\nby setting this variable to `split-window-vertically'.\nYou can also have your own function to do fancy splits.\nThis variable has no effect when buffer-A/B/C are shown in different frames.\nIn this case, Ediff will use those frames to display these buffers." (choice (const :tag "Split vertically" split-window-vertically) (const :tag "Split horizontally" split-window-horizontally) function)] 8) #@91 Frame parameters for displaying Ediff Control Panel. Used internally---not a user option. (defconst ediff-control-frame-parameters (byte-code "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321!\203 \321 T\202 \322B\323\320\324!\203+ \324 T\202, \322B\257\207" [(name . "Ediff") (minibuffer) (user-position . t) (vertical-scroll-bars) (scrollbar-width . 0) (scrollbar-height . 0) (menu-bar-lines . 0) (tool-bar-lines . 0) (left-fringe . 0) (right-fringe . 0) (auto-lower) (auto-raise . t) (visibility) (width . 1) (height . 1) top fboundp ediff-display-pixel-height 3000 left ediff-display-pixel-width] 19) (#$ . 5645)) #@2 (defvar ediff-mouse-pixel-position nil (#$ . 6295)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-mouse-pixel-position put permanent-local t] 4) #@97 If the user moves mouse more than this many pixels, Ediff won't warp mouse into control window. (defvar ediff-mouse-pixel-threshold 30 (#$ . 6483)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\210\300\314\315\316\304\317\306\307&\210\300\320\321\322\304\317\306\307&\210\300\323\324\325\304\317\306\307&\207" [custom-declare-variable ediff-grab-mouse t "If t, Ediff will always grab the mouse and put it in the control frame.\nIf 'maybe, Ediff will do it sometimes, but not after operations that require\nrelatively long time. If nil, the mouse will be entirely user's\nresponsibility." :type boolean :group ediff-window ediff-control-frame-position-function 'ediff-make-frame-position "Function to call to determine the desired location for the control panel.\nExpects three parameters: the control buffer, the desired width and height\nof the control frame. It returns an association list\nof the form ((top . <position>) (left . <position>))" function ediff-control-frame-upward-shift 42 "The upward shift of control frame from the top of buffer A's frame.\nMeasured in pixels.\nThis is used by the default control frame positioning function,\n`ediff-make-frame-position'. This variable is provided for easy\ncustomization of the default control frame positioning." integer ediff-narrow-control-frame-leftward-shift (if (featurep 'xemacs) 7 3) "The leftward shift of control frame from the right edge of buf A's frame.\nMeasured in characters.\nThis is used by the default control frame positioning function,\n`ediff-make-frame-position' to adjust the position of the control frame\nwhen it shows the short menu. This variable is provided for easy\ncustomization of the default." ediff-wide-control-frame-rightward-shift 7 "The rightward shift of control frame from the left edge of buf A's frame.\nMeasured in characters.\nThis is used by the default control frame positioning function,\n`ediff-make-frame-position' to adjust the position of the control frame\nwhen it shows the full menu. This variable is provided for easy\ncustomization of the default."] 8) #@2 (defvar ediff-wide-display-p nil (#$ . 8601)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-wide-display-p put permanent-local t] 4) #@85 Frame parameters to be restored when the user wants to toggle the wide display off. (defvar ediff-wide-display-orig-parameters nil (#$ . 8777)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-wide-display-orig-parameters put permanent-local t] 4) #@36 Frame to be used for wide display. (defvar ediff-wide-display-frame nil (#$ . 9064)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-wide-display-frame put permanent-local t] 4) #@373 The value is a function that is called to create a wide display. The function is called without arguments. It should resize the frame in which buffers A, B, and C are to be displayed, and it should save the old frame parameters in `ediff-wide-display-orig-parameters'. The variable `ediff-wide-display-frame' should be set to contain the frame used for the wide display. (defvar ediff-make-wide-display-function 'ediff-make-wide-display (#$ . 9283)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local ediff-make-wide-display-function put permanent-local t] 4) #@2 (defvar ediff-control-frame nil (#$ . 9874)) (byte-code "\300\301!\210\302\301\303\304#\210\305\306\307\310\311\312\313\314&\207" [make-variable-buffer-local ediff-control-frame put permanent-local t custom-declare-variable ediff-prefer-iconified-control-frame nil "If t, keep control panel iconified when help message is off.\nThis has effect only on a windowing system.\nIf t, hitting `?' to toggle control panel off iconifies it.\n\nThis is only useful in Emacs and only for certain kinds of window managers,\nsuch as TWM and its derivatives, since the window manager must permit\nkeyboard input to go into icons. XEmacs completely ignores keyboard input\ninto icons, regardless of the window manager." :type boolean :group ediff-window] 8) (defalias 'ediff-get-window-by-clicking #[(wind prev-wind wind-number) "\304\305\306 \"\210\307 \211\310\311\312\313\314!\"\")\204+ \315\316!\203# \317\316!\210\305\320 \"\210\202 \307 \210\321!\211@)\211)\207" [event wind-number position wind nil message "Select windows by clicking. Please click on Window %d " ediff-read-event string-match "mouse" format "%S" event-basic-type sit-for 1 beep "Please click on Window %d " event-start] 7]) (defalias 'ediff-select-lowest-window #[nil "\306 \307 AAA@\212\310\311!\210\306 )\312\205B \313 \307\f!AAA@ W\203. \f\314\f!\210\n\f=\203>