Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/progmodes/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:30 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/progmodes/vera-mode.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@27 Vera Mode version number. (defconst vera-version "2.18" (#$ . 562)) #@39 Vera Mode time stamp for last update. (defconst vera-time-stamp "2007-06-21" (#$ . 636)) (byte-code "\300\301\302\303\304\305\306\307\310\311& \210\312\313\314\315\316\317\310\301&\210\312\320\302\321\316\322\310\301&\210\312\323\324\325\316\322\310\301&\207" [custom-declare-group vera nil "Customizations for Vera Mode." :prefix "vera-" :version "22.2" :group languages custom-declare-variable vera-basic-offset 2 "Amount of basic offset used for indentation." :type integer vera-underscore-is-part-of-word "Non-nil means consider the underscore character `_' as part of word.\nAn identifier containing underscores is then treated as a single word in\nselect and move operations. All parts of an identifier separated by underscore\nare treated as single words otherwise." boolean vera-intelligent-tab t "Non-nil means `TAB' does indentation, word completion and tab insertion.\nThat is, if preceding character is part of a word then complete word,\nelse if not at beginning of line then insert tab,\nelse if last command was a `TAB' or `RET' then dedent one step,\nelse indent current line.\nIf nil, TAB always indents current line."] 10) #@23 Keymap for Vera Mode. (defvar vera-mode-map (byte-code "\301 \302\303\304#\210\305\306!\204 \302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322#\210\302\323\324#\210\302\325\326#\210\302\327\330#\210\302\331\332#\210\302\333\334#\210\302\335\336#\210\302\337\340#\210\302\341\342#\210\302\343\344#\210\302\345\346#\210\302\347\350#\210\302\351\352#\210\302\353\354#\210\302\355\356#\210)\207" [map make-sparse-keymap define-key [backspace] backward-delete-char-untabify boundp delete-key-deletes-forward [delete] delete-char [(meta delete)] kill-word "\345" vera-forward-statement "\341" vera-backward-statement "\205" vera-forward-same-indent "\201" vera-backward-same-indent " " indent-according-to-mode "\234" vera-indent-region "" vera-comment-uncomment-region "" vera-fontify-buffer "" vera-version "\211" tab-to-tab-stop " " vera-electric-tab " " vera-electric-return " " vera-electric-space "{" vera-electric-opening-brace "}" vera-electric-closing-brace "#" vera-electric-pound "*" vera-electric-star "/" vera-electric-slash] 4) (#$ . 1787)) (require 'easymenu) #@28 Menu keymap for Vera Mode. (defvar vera-mode-menu nil (#$ . 2940)) (easy-menu-do-define 'vera-mode-menu vera-mode-map "Menu keymap for Vera Mode." '("Vera" ["(Un)Comment Out Region" vera-comment-uncomment-region (mark)] "--" ["Move Forward Statement" vera-forward-statement t] ["Move Backward Statement" vera-backward-statement t] ["Move Forward Same Indent" vera-forward-same-indent t] ["Move Backward Same Indent" vera-backward-same-indent t] "--" ["Indent Line" indent-according-to-mode t] ["Indent Region" vera-indent-region (mark)] ["Indent Buffer" vera-indent-buffer t] "--" ["Fontify Buffer" vera-fontify-buffer t] "--" ["Documentation" describe-mode] ["Version" vera-version t] ["Bug Report..." vera-submit-bug-report t] "--" ("Options" ["Indentation Offset..." (customize-option 'vera-basic-offset) t] ["Underscore is Part of Word" (customize-set-variable 'vera-underscore-is-part-of-word (not vera-underscore-is-part-of-word)) :style toggle :selected vera-underscore-is-part-of-word] ["Use Intelligent Tab" (customize-set-variable 'vera-intelligent-tab (not vera-intelligent-tab)) :style toggle :selected vera-intelligent-tab] "--" ["Save Options" customize-save-customized t] "--" ["Customize..." vera-customize t]))) #@43 Syntax table used in `vera-mode' buffers. (defvar vera-mode-syntax-table (byte-code "\302 \303\304\305#\210\303\306\305#\210\303\307\305#\210\303\310\305#\210\303\311\305#\210\303\312\305#\210\303\313\305#\210\303\314\305#\210\303\315\305#\210\303\316\305#\210\303\317\305#\210\303\320\305#\210\303\321\305#\210\303\322\305#\210\303\323\305#\210\303\324\305#\210\303\325\305#\210\303\326\327#\210 \203y \303\330\331#\210\303\324\332#\210\303\333\334#\210\303\335\336#\210\303\337\340#\210\303\341\342#\210\303\343\344#\210\303\345\346#\210\303\316\347#\210\303\312\350#\210\303\351\352#\210\303\353\352#\210)\207" [syntax-table vera-underscore-is-part-of-word make-syntax-table modify-syntax-entry 35 "." 36 37 38 39 42 45 43 46 47 58 59 60 61 62 92 124 34 "\"" 95 "w" "\\" 40 "()" 41 ")(" 91 "(]" 93 ")[" 123 "(}" 125 "){" ". 124b" ". 23" 10 "> b" 13] 4) (#$ . 4175)) #@59 Syntax table extended by `_' used in `vera-mode' buffers. (defvar vera-mode-ext-syntax-table (byte-code "\302!\303\304\305 #\210 )\207" [vera-mode-syntax-table syntax-table copy-syntax-table modify-syntax-entry 95 "w"] 4) (#$ . 5082)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [vera-mode-hook variable-documentation put purecopy "Hook run when entering Vera mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp vera-mode-map definition-name vera-mode] 5) (defvar vera-mode-map (make-sparse-keymap)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [vera-mode-map variable-documentation put purecopy "Keymap for `vera-mode'." boundp vera-mode-syntax-table definition-name vera-mode] 5) (defvar vera-mode-syntax-table (make-syntax-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [vera-mode-syntax-table variable-documentation put purecopy "Syntax table for `vera-mode'." vera-mode-abbrev-table definition-name vera-mode] 5) (defvar vera-mode-abbrev-table (progn (define-abbrev-table 'vera-mode-abbrev-table nil) vera-mode-abbrev-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [vera-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `vera-mode'." vera-mode derived-mode-parent prog-mode] 5) #@1824 Major mode for editing Vera code. Usage: ------ INDENTATION: Typing `TAB' at the beginning of a line indents the line. The amount of indentation is specified by option `vera-basic-offset'. Indentation can be done for an entire region (`M-C-\') or buffer (menu). `TAB' always indents the line if option `vera-intelligent-tab' is nil. WORD/COMMAND COMPLETION: Typing `TAB' after a (not completed) word looks for a word in the buffer or a Vera keyword that starts alike, inserts it and adjusts case. Re-typing `TAB' toggles through alternative word completions. Typing `TAB' after a non-word character inserts a tabulator stop (if not at the beginning of a line). `M-TAB' always inserts a tabulator stop. COMMENTS: `C-c C-c' comments out a region if not commented out, and uncomments a region if already commented out. HIGHLIGHTING (fontification): Vera keywords, predefined types and constants, function names, declaration names, directives, as well as comments and strings are highlighted using different colors. VERA VERSION: OpenVera 1.4 and Vera version 6.2.8. Maintenance: ------------ To submit a bug report, use the corresponding menu entry within Vera Mode. Add a description of the problem and include a reproducible test case. Feel free to send questions and enhancement requests to <reto@gnu.org>. Official distribution is at URL `http://www.iis.ee.ethz.ch/~zimmi/emacs/vera-mode.html' The Vera Mode Maintainer Reto Zimmermann <reto@gnu.org> Key bindings: ------------- \{vera-mode-map} In addition to any hooks its parent mode `prog-mode' might have run, this mode runs the hook `vera-mode-hook', as the final step during initialization. (defalias 'vera-mode #[nil "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204'