| 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/progmodes/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (byte-code "\300\301\302\303\304\305%\210\306\307\310\311\312DD\313\314\315\316\317&\207" [custom-declare-group prog-mode nil "Generic programming mode, from which others derive." :group languages custom-declare-variable prog-mode-hook funcall function #[0 "\300\207" [nil] 1 ""] "Normal hook run when entering programming modes." :type hook :options (flyspell-prog-mode abbrev-mode flymake-mode display-line-numbers-mode prettify-symbols-mode)] 8) #@61 Populate MENU with xref commands at CLICK. (fn MENU CLICK) (defalias 'prog-context-menu #[514 "\301\302!\210\303\304\305$\210\306 \204 \303\307\310\311$\210\212\312!\210\313\314 !)\211\203G \303\315\316\317\320\321\322\323 \"\257\311$\210\303\324\316\325\326\321\322\327 \"\257\311$\210\210\330\331\"\203\\ \303\332\316\333\334\335BBB\336$\210\303\337\316\340\341\342BBB\336$\210\303\343\316\344\345\346BBB\336$\210\347\212r\350\351!\211@\262!q\210\352\353\351!!!*8\203\225 \354\"\210\207" [menu-bar-separator require xref define-key-after [prog-separator] middle-separator xref-marker-stack-empty-p [xref-pop] (menu-item "Go Back" xref-pop-marker-stack :help "Back to the position of the last search") prog-separator mouse-set-point xref-backend-identifier-at-point xref-find-backend [xref-find-ref] menu-item "Find References" xref-find-references-at-mouse :help format "Find references to `%s'" [xref-find-def] "Find Definition" xref-find-definitions-at-mouse "Find definition of `%s'" thing-at-mouse symbol [select-region mark-symbol] "Symbol" #[257 "\300\301\"\207" [mark-thing-at-mouse symbol] 4 "\n\n(fn E)" "e"] (:help "Mark the symbol at click for a subsequent cut/copy") mark-whole-buffer [select-region mark-list] "List" #[257 "\300\301\"\207" [mark-thing-at-mouse list] 4 "\n\n(fn E)" "e"] (:help "Mark the list at click for a subsequent cut/copy") [select-region mark-defun] "Defun" #[257 "\300\301\"\207" [mark-thing-at-mouse defun] 4 "\n\n(fn E)" "e"] (:help "Mark the defun at click for a subsequent cut/copy") 8 window-buffer event-end syntax-ppss posn-point text-mode-context-menu] 13 (#$ . 534)]) #@36 Keymap used for programming modes. (defvar prog-mode-map (byte-code "\300 \301\302\303#\210\207" [make-sparse-keymap define-key [134217745] prog-indent-sexp] 5) (#$ . 2181)) #@839 When non-nil, provides context for indenting embedded code chunks. There are languages where part of the code is actually written in a sub language, e.g., a Yacc/Bison or ANTLR grammar can also include JS or Python code. This variable enables the primary mode of the main language to use the indentation engine of the sub-mode for lines in code chunks written in the sub-mode's language. When a major mode of such a main language decides to delegate the indentation of a line/region to the indentation engine of the sub mode, it should bind this variable to non-nil around the call. The non-nil value should be a list of the form: (FIRST-COLUMN . REST) FIRST-COLUMN is the column the indentation engine of the sub-mode should use for top-level language constructs inside the code chunk (instead of 0). REST is currently unused. (defvar prog-indentation-context nil (#$ . 2363)) #@133 Indent the expression after point. When interactively called with prefix, indent the enclosing defun instead. (fn &optional DEFUN) (defalias 'prog-indent-sexp #[256 "\212\211\203 \300\210\301 \210`\302\303!\210`\304\300#\266\202)\207" [nil beginning-of-defun forward-sexp 1 indent-region] 7 (#$ . 3258) "P"]) #@71 Return the indentation column normally used for top-level constructs. (defalias 'prog-first-column #[0 "@\206 \301\207" [prog-indentation-context 0] 1 (#$ . 3578)]) #@339 Alist of symbol prettifications. Each element looks like (SYMBOL . CHARACTER), where the symbol matching SYMBOL (a string, not a regexp) will be shown as CHARACTER instead. CHARACTER can be a character, or it can be a list or vector, in which case it will be used to compose the new symbol as per the third argument of `compose-region'. (defvar prettify-symbols-alist nil (#$ . 3752)) (make-variable-buffer-local 'prettify-symbols-alist) #@270 Return non-nil iff the symbol MATCH should be composed. The symbol starts at position START and ends at position END. This is the default for `prettify-symbols-compose-predicate' which is suitable for most programming languages such as C or Lisp. (fn START END MATCH) (defalias 'prettify-symbols-default-compose-p #[771 "fz\300>\203\f \301\202 \302\206 `Sfz\303>\203 \304\202 \305\206$ `Sf\206* \306z>\206@ f\2066 \306z>\206@ \307\310 8?\207" [(119 95) (119 95) (46 92) (119 95) (119 95) (46 92) 32 8 syntax-ppss] 7 (#$ . 4198)]) #@252 A predicate for deciding if the currently matched symbol is to be composed. The matched symbol is the car of one entry in `prettify-symbols-alist'. The predicate receives the match's start and end positions as well as the `match-string' as arguments. (defvar prettify-symbols-compose-predicate 'prettify-symbols-default-compose-p (#$ . 4746)) (make-variable-buffer-local 'prettify-symbols-compose-predicate) #@122 Compose a sequence of characters into a symbol. Regexp match data 0 specifies the characters to be composed. (fn ALIST) (defalias 'prettify-symbols--compose-symbol #[257 "\305\224\305\225\306\305!D\232\204A #\203A \307 \310\211\310\311\312\"\216\313\314 \"A#\210\315\316\317F#\210,\266\202H \320\321#\266\322\207" [prettify-symbols--current-symbol-bounds prettify-symbols-compose-predicate buffer-undo-list inhibit-read-only inhibit-modification-hooks 0 match-string buffer-modified-p t make-closure #[0 "\300?\205 \301\302!\207" [V0 restore-buffer-modified-p nil] 2] compose-region assoc add-text-properties prettify-symbols-start prettify-symbols-end remove-list-of-text-properties (composition prettify-symbols-start prettify-symbols-end) nil] 13 (#$ . 5161)]) (defalias 'prettify-symbols--make-keywords #[0 "\205 \301\302\303\"\304\"\305\306\307DDDDC\207" [prettify-symbols-alist regexp-opt mapcar car t 0 prettify-symbols--compose-symbol quote] 5]) (defvar prettify-symbols--keywords nil nil) (make-variable-buffer-local 'prettify-symbols--keywords) (defvar prettify-symbols--current-symbol-bounds nil nil) (byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\207" [make-variable-buffer-local prettify-symbols--current-symbol-bounds custom-declare-variable prettify-symbols-unprettify-at-point funcall function #[0 "\300\207" [nil] 1 ""] "If non-nil, show the non-prettified version of a symbol when point is on it.\nIf set to the symbol `right-edge', also unprettify if point\nis immediately after the symbol. The prettification will be\nreapplied as soon as point moves away from the symbol. If\nset to nil, the prettification persists even when point is\non the symbol." :version "25.1" :type (choice (const :tag "Never unprettify" nil) (const :tag "Unprettify when point is inside" t) (const :tag "Unprettify when point is inside or at right edge" right-edge))] 8) (defalias 'prettify-symbols--post-command-hook #[0 "\305\203) `@W\204\"