(defmacro eval-in-windows (form &optional yesmini) "Switches to each window and evaluates FORM. Optional argument
YESMINI says to include the minibuffer as a window.
This is a macro, and does not evaluate its arguments." (byte-code "´ˆ˜¯˘˙¨²˚¸³ EDEDED˝EEÇ" [form yesmini let ((OriginallySelectedWindow (selected-window))) unwind-protect while progn not eq OriginallySelectedWindow select-window next-window nil (select-window OriginallySelectedWindow)] 13))
Find window containing screen coordinates X and Y.
Returns list (window x y) where x and y are relative to window." (byte-code "ˆ˜ÍÅ
¹
EÇ" [nil x y found (byte-code "˚ ¸Î³˚ !˝ 8˛ 8ˇ 8— 8± UÄ%TÉȼ UÄ1TÉÈ
YÄKWÄKYÄKWÄ\\½¾˚
ZZE\",)Èàᨲ\"!=?Äp¨ÈÁ))Ç" [OriginallySelectedWindow we le te re be x y nil t selected-window ((byte-code "ˋ!Ç" [OriginallySelectedWindow select-window] 2)) window-edges 0 1 2 3 screen-width screen-height throw found select-window next-window] 12)] 3))
(defun sm::window-region (loc) "\
Parse LOC into a region symbol.
Returns one of (text scrollbar modeline minibuffer)" (byte-code "¨ 8² 8˚ 8¸!S³!S˝! ˛ÁSYÂ*ˇÁS
YÂ4—ÁSÄK
ZYÄK
˚±
#\\YÂR—ÁS¼*+Ç" [w loc x y right bottom scrollbar-width t 0 1 2 window-width window-height minibuffer-window-p minibuffer modeline scrollbar window-line-end text] 9))
(defun window-line-end (w x y) "\
Return WINDOW column (ignore X) containing end of line Y" (byte-code "ˆ ˜Î¯ !ÈÊ˘˙
\")))Ç" [OriginallySelectedWindow w y selected-window ((byte-code "ˋ!Ä ´!Ç" [OriginallySelectedWindow window-point select-window] 3)) select-window move-to-loc screen-width] 6))
Prints mouse-event bindings for REGION." (byte-code "ˋ´ˆ!\"Ç" [region mapcar print-mouse-format sm::event-bindings] 4))
(defun sm::event-bindings (region) "\
Returns an alist of (function . (mouse-list1 ... mouse-listN)) for REGION,
where each mouse-list is bound to the function in REGION." (byte-code "˘ !ˆÄ:@˙A
\"Â$¨²@!AB\"Á0A²@!CB
BÉ*ÈAÉÈÁÈ
*Ç" [mouse-bindings region result nil code-function-pair current-entry mouse-code-function-pairs-of-region assoc setcdr mouse-code-to-mouse-list] 8))
(defun describe-mouse-bindings nil "\
Lists all current mouse-event bindings." (interactive) (byte-code "¹Èˋдˆ!Ș È´¯!Ș È˘˙!Ș È´¨!Ș È´²!Ș È˘˚!Ș È´¸!Ș È´³!Ș È˘˝!ÑÇ" [nil "*Help*" princ "Text Region" terpri "---- ------" print-mouse-bindings text "Modeline Region" "-------- ------" modeline "Scrollbar Region" "--------- ------" scrollbar] 19))
(defun describe-mouse-briefly (mouse-list) "\
Print a short description of the function bound to MOUSE-LIST." (interactive "xDescibe mouse list briefly: ") (byte-code "´Èˆ˜ !!¯˘ #Á¯˙ \")Ç" [function mouse-list nil mouse-lookup mouse-list-to-mouse-code message "%s runs the command %s" "%s is undefined"] 6))
(defun mouse-help-region (w x y &optional region) "\
Displays a menu of mouse functions callable in this region." (byte-code "Å
˙
E!¨²K˚!\"¸³!CB!˝ ˛$ˇ,Ç" [region w x y mlist menu item sm::window-region mapcar mouse-help-menu sm::event-bindings menu-create symbol-name sun-menu-evaluate 0 nil] 11))
(defun menu-create (items) "\
Functional form for defmenu, given a list of ITEMS returns a menu.
Each ITEM is a (STRING . VALUE) pair." (byte-code "ˋ´\"Ç" [items apply vector] 3))
(defmacro defmenu (menu &rest itemlist) "Defines MENU to be a menu, the ITEMS are (STRING . VALUE) pairs.
See sun-menu-evaluate for interpretation of ITEMS." (byte-code "´ˆ˜ \"EÇ" [menu itemlist defconst funcall menu-create] 5))
Set mark and yank the contents of the current TTYSW `STUFF' selection
into the current buffer at point. The STUFF selection contains the currently
or previously highlighted text from a TTYSW." (interactive "*") (byte-code "¹Èˋ¹!È´ˆ !Ç" [nil set-mark-command insert-string sun-get-selection] 4))
(defun display-host nil "\
Extract <host> from DISPLAY environment variable, or return nil if not specified." (byte-code "´ˆ!Ę¯\" Ģ !?Ä˙ O))Ç" [display colon_at getenv "DISPLAY" string-match ":" zerop 0] 6))
(defun sunview-yank-clipboard nil "\
Set mark and yank the contents of the SunView Clipboard into the
current buffer at point." (interactive "*") (byte-code "¹Èˆ¹!Ș ¯˘¹´´˜ ˙¨&Á\"¯˙¹´´¨%)Ç" [nil host t set-mark-command display-host call-process "rsh" "get_selection" "3"] 11))
(defun sunview-yank-current-selection nil "\
Set mark and yank the contents of the current SunView selection
into current buffer at point. The current selection is the currently
highlighted text in either a textsw or a ttysw." (interactive "*") (byte-code "¹Èˆ¹!Ș ¯˘¹´´˜ ˙&Á ¯˙¹´´$)Ç" [nil host t set-mark-command display-host call-process "rsh" "get_selection"] 10))
(defun sunview-yank-any-selection (arg) "\
Yank one of the sunview selections:
with no arg, the current selection; with minus-only prefix, the clipboard;
with any other arg, the ttysw STUFF." (interactive "*P") (byte-code "´È?ˆ Á˜=¯ Á˘ Ç" [arg t nil sunview-yank-current-selection - sunview-yank-clipboard sunview-yank-stuff] 4))
Set mark and yank the contents of the current Xview selection
into the current buffer at point. The STUFF selection contains the currently
or previously highlighted text from a TTYSW." (interactive "*") (byte-code "¹Èˋ Ä´ˋ !Ȉ Ç" [nil owselectionfile insert-file exchange-point-and-mark] 5))
(defun xv-select-region (beg end) "\
Set the TTYSW selection to the region in the current buffer." (interactive "r") (byte-code "´Èˆ Ę ˆ ´¯%Ç" [beg end nil owselectionfile write-region noprint] 8))
(defun sun-yank-selection nil "\
Set mark and yank the contents of the current TTYSW `STUFF' or Xview selection
into the current buffer at point." (interactive "*") (byte-code "¹Èˋ´!ˆ Á˜ Ç" [nil getenv "DISPLAY" xv-yank-selection sunview-yank-stuff] 4))
(defun sun-select-region (beg end) "\
Set the TTYSW 'STUFF' or Xview selection to the region in the current buffer." (interactive "r") (byte-code "´Èˆ˜!¯ \"Á˘˙ \"!Ç" [beg end nil getenv "DISPLAY" xv-select-region sun-set-selection buffer-substring] 6))