| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (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) #@455 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. Note that \[menu-bar-open] by default drops down TTY menus; if you want it to invoke `tmm-menubar' instead, customize the variable `tty-menu-open-use-tmm' to a non-nil value. (fn &optional X-POSITION) (defalias 'tmm-menubar #[256 "\301\302!\210\203 \303 \207\304 \205 \305!\306\307\205 @#\207" [isearch-mode run-hooks menu-bar-update-hook isearch-tmm-menubar menu-bar-keymap menu-bar-item-at-x tmm-prompt nil] 7 (#$ . 314) nil]) #@237 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'. (fn EVENT) (defalias 'tmm-menubar-mouse #[257 "\300\301!\3028\262@!\207" [tmm-menubar event-start 2] 5 (#$ . 1012) "e"]) (byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable tmm-mid-prompt funcall function #[0 "\300\207" ["==>"] 1 ""] "String to insert between shortcut and menu item.\nIf nil, there will be no shortcuts. It should not consist only of spaces,\nor else the correct item might not be found in the `*Completions*' buffer." :type string] 6) #@34 A place to store minibuffer map. (defvar tmm-mb-map nil (#$ . 1726)) (byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\210\300\314\302\303\315DD\316\306\317%\210\320\321\322\323#\207" [custom-declare-variable tmm-completion-prompt funcall function #[0 "\300\207" ["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"] 1 #1=""] "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)) tmm-shortcut-style #[0 "\300\207" [(downcase upcase)] 1 #1#] "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 #[0 "\300\207" [2] 1 #1#] "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."] 6) #@14 (fn ITEMS) (defalias 'tmm--completion-table #[257 "\300\301\"\207" [make-closure #[771 "\211\301=\203 \302\207\303\300$\207" [V0 metadata (metadata (display-sort-function . identity)) complete-with-action] 8 "\n\n(fn STRING PRED ACTION)"]] 4 (#$ . 3171)]) (defvar tmm--history nil) #@694 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. NO-EXECUTE, if non-nil, means to return the command the user selects instead of executing it. (fn MENU &optional IN-POPUP DEFAULT-ITEM NO-EXECUTE) (defalias 'tmm-prompt #[1025 "\306\307\211\211\211\211\211\211\211\211\310!? \311\312!\210\211\204, \313\314\"\210\202v \211\203u \211@\211;\203? \211\262 \202n \211<\203L \315\"\210\202n \316!\203n \211G\317\211W\203l \315HB\"\210\211T\262\202U \266A\266\202\202. \210\211\203\211 \fG\320U\203\211 \f@A\262\202\203\f\204\221 \321\322!\210\f\203G\317 \203\236 \323\f! \203\352 \307\203\350 @\242=\204\350 @:\203\341 @A\242;\204\335 @A\242\324=\203\341 \325\326@\233\327\"\262\211\203\335 \330!\203\341 T\262A\262\202\246 \266\331\332 !P\333\334\307\335\336\337\"\f\"\"!+\210+G\262 SZ+8 \203\211\f8@\202D\340\341\342!\211\336\343#M\210\336\344\"\216\345\346\"\210\347\350P\351\f!\307\352\307\353\333+!&)\266\202\262\n\210\354 \f\"A\262\204k\355\n\n\"\203k\nG\307O\262 \354 \f\"A\262\204\203\203\203\356 \f\"\262 \354 \f\"A\262@\262A\262 \203\224\202\344\211\203\242\357\352\307$\202\344\310!\203\3119\203\262\360!\262\3611\276\362\363!0\210\202\277\210\357\307\211$\202\344\205\344\203\343\203\332\202\3445\364!\202\344-\207" [tmm-short-cuts tmm-old-mb-map tmm-c-prompt tmm-table-undef tmm-km-list tmm-mid-prompt "Menu bar" nil keymapp run-hooks activate-menubar-hook map-keymap #[514 "\300B!\207" [tmm-get-keymap] 5 "\n\n(fn K V)"] tmm-get-keymap vectorp 0 1 error "Empty menu reached" tmm-add-shortcuts menu-item plist-get 4 :visible eval "^." regexp-quote reverse delq mapcar make-closure #[257 "\301\300@\"\205\n \211@\207" [V0 string-match] 4 "\n\n(fn ELT)"] tmm-add-prompt make-symbol "minibuffer-setup" #[0 "\302\303\301\"\210\300 \207" [V0 V1 remove-hook minibuffer-setup-hook] 3] #[0 "\301\302\300\"\207" [V0 remove-hook minibuffer-setup-hook] 3] add-hook minibuffer-setup-hook completing-read-default " (up/down to change, PgUp to menu): " tmm--completion-table t tmm--history assoc string-prefix-p try-completion tmm-prompt indirect-function (error) require mouse call-interactively last-command-event] 27 (#$ . 3467)]) #@226 Add shortcuts to cars of elements of the list. Takes a list of lists with a string as car, returns list with shortcuts added to these cars. Stores a list of all the shortcuts in the free variable `tmm-short-cuts'. (fn LIST) (defalias 'tmm-add-shortcuts #[257 "\301\302\303\304!\")\207" [tmm-next-shortcut-digit 48 mapcar tmm-add-one-shortcut reverse] 5 (#$ . 6229)]) #@12 (fn ELT) (defalias 'tmm-add-one-shortcut #[257 "\211AA\305=\203 \306\307G\310\"@QAB\207\211@\311\312\"\313\211\314\3152\250 \203, W\203\211 \316\317#\211\262\203\211 \203B V\204\211 \313U\204Q SH\320U\204~ \n<\203Z \n\202\\ \nC\211\203} \211@\211H!\262>\204v \321\315\"\210A\266\202\202\\ \210T\262\313\225\262\202\"