?
Current Path : /usr/share/emacs/24.3/lisp/ |
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/tmm.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:32 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/tmm.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!\210\302\303\304\305\306\307\310\311&\207" [require electric custom-declare-group tmm nil "Text mode access to menu-bar." :prefix "tmm-" :group menu] 8) (defvar tmm-old-mb-map nil) (defvar tmm-c-prompt nil) #@252 Text-mode emulation of looking and choosing from a menubar. See the documentation for `tmm-prompt'. X-POSITION, if non-nil, specifies a horizontal position within the menu bar; we make that menu bar item (the one at that position) the default choice. (defalias 'tmm-menubar #[(&optional x-position) "\306\307!\210\310\311!\312\n\211\203( @\211 \236\313\314 \" C\"*A\211\204 )\203\240 \315\312\211\211\211\203\234 X\203\234 @\211:\203\223 A:\203\223 A@;\203d A@\202\203 \316 8;\205\203 \317\320 \233\321\"\211\205| \322!??\205\203 \316 8\211\203\223 \323G\324#A\211\204@ @-\325 \312#*\207" [menu-bar-item menu-bar menu-bar-final-items list item this-one run-hooks menu-bar-update-hook tmm-get-keybind [menu-bar] nil append delq 0 2 plist-get 4 :visible eval + 1 tmm-prompt x-position visible name column tail] 6 (#$ . 776) nil]) #@225 Text-mode emulation of looking and choosing from a menubar. This command is used when you click the mouse in the menubar on a console which has no window system but does have a mouse. See the documentation for `tmm-prompt'. (defalias 'tmm-menubar-mouse #[(event) "\302\303!\304 8)@!\207" [event position tmm-menubar event-start 2] 3 (#$ . 1663) "e"]) #@200 String to insert between shortcut and menu item. If nil, there will be no shortcuts. It should not consist only of spaces, or else the correct item might not be found in the `*Completions*' buffer. (custom-declare-variable 'tmm-mid-prompt "==>" '(#$ . 2023) :type 'string :group 'tmm) #@34 A place to store minibuffer map. (defvar tmm-mb-map nil (#$ . 2315)) (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\320\321\322\323\306\307%\207" [custom-declare-variable tmm-completion-prompt "Press PageUp key to reach this buffer from the minibuffer.\nAlternatively, you can use Up/Down keys (or your History keys) to change\nthe item in the minibuffer, and press RET when you are done, or press the\nmarked letters to pick up your choice. Type C-g or ESC ESC ESC to cancel.\n" "Help text to insert on the top of the completion buffer.\nTo save space, you can set this to nil,\nin which case the standard introduction text is deleted too." :type (choice string (const nil)) :group tmm tmm-shortcut-style '(downcase upcase) "What letters to use as menu shortcuts.\nMust be either one of the symbols `downcase' or `upcase',\nor else a list of the two in the order you prefer." (choice (const downcase) (const upcase) (repeat (choice (const downcase) (const upcase)))) tmm-shortcut-words 2 "How many successive words to try for shortcuts, nil means all.\nIf you use only one of `downcase' or `upcase' for `tmm-shortcut-style',\nspecify nil for this variable." (choice integer (const nil)) custom-declare-face tmm-inactive ((t :inherit shadow)) "Face used for inactive menu items."] 8) #@546 Text-mode emulation of calling the bindings in keymap. Creates a text-mode menu of possible choices. You can access the elements in the menu in two ways: *) via history mechanism from minibuffer; *) Or via completion-buffer that is automatically shown. The last alternative is currently a hack, you cannot use mouse reliably. MENU is like the MENU argument to `x-popup-menu': either a keymap or an alist of alists. DEFAULT-ITEM, if non-nil, specifies an initial default choice. Its value should be an event that has a binding in MENU. (defalias 'tmm-prompt #[(menu &optional in-popup default-item) "\306\307\211\211\211\211\211\211\211\211\211\310!?234(567\311\312!\210 \2042 \313\314\"\210\202\223 \3078\2119\203\222 9@\2118;\203M 87\202\211 8<\203\\ \3158 \"\210\202\211 \3168!\203\211 8G\317:;:;W\203\210 \315:8:HB \"\210:T\211:\202m *9A\2119\204<