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:25 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/progmodes/glasses.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\302\303\304\305\306\307&\210\310\311\312\313\306\301\314\315\316\317\320\321&\210\310\322\312\323\306\301\314\315\316\317\320\321\304\324& \210\310\325\302\326\306\301\314\327\316\317\320\321&\210\310\330\331\332\306\301\314\333&\210\310\334\335\336\306\301\314\337&\210\310\340\331\341\306\301\314\333\304\342& \210\310\343\302\344\306\301\314\333\316\317\320\321&\210\310\345\346\347\306\301\314\350\316\317\320\321&\210\310\351\302\352\306\301\314\333&\207" [custom-declare-group glasses nil "Make unreadable code likeThis(one) readable." :version "21.1" :group tools custom-declare-variable glasses-separator "_" "String to be displayed as a visual separator in identifiers.\nIt is used both for adding missing separators and for replacing separators\ndefined by `glasses-original-separator'. If you don't want to add missing\nseparators, set `glasses-separator' to an empty string. If you don't want to\nreplace existent separators, set `glasses-original-separator' to an empty\nstring." :type string :set glasses-custom-set :initialize custom-initialize-default glasses-original-separator "String to be displayed as `glasses-separator' in separator positions.\nFor instance, if you set it to \"_\" and set `glasses-separator' to \"-\",\nunderscore separators are displayed as hyphens.\nIf `glasses-original-separator' is an empty string, no such display change is\nperformed." "22.1" glasses-face "Face to be put on capitals of an identifier looked through glasses.\nIf it is nil, no face is placed at the capitalized letter.\n\nFor example, you can set `glasses-separator' to an empty string and\n`glasses-face' to `bold'. Then unreadable identifiers will have no separators,\nbut will have their capitals in bold." (choice (const :tag "None" nil) face) glasses-separate-parentheses-p t "If non-nil, ensure space between an identifier and an opening parenthesis." boolean glasses-separate-parentheses-exceptions '("^#[ ]*define[ ]*[A-Za-z0-9_-]* ?($") "List of regexp that are exceptions for `glasses-separate-parentheses-p'.\nThey are matched to the current line truncated to the point where the\nparenthesis expression starts." (repeat regexp) glasses-separate-capital-groups "If non-nil, try to separate groups of capital letters.\nWhen the value is non-nil, HTMLSomething and IPv6 are displayed\nas HTML_Something and I_Pv6 respectively. Set the value to nil\nif you prefer to display them unchanged." "24.1" glasses-uncapitalize-p "If non-nil, downcase embedded capital letters in identifiers.\nOnly identifiers starting with lower case letters are affected, letters inside\nother identifiers are unchanged." glasses-uncapitalize-regexp "[a-z]" "Regexp matching beginnings of words to be uncapitalized.\nOnly words starting with this regexp are uncapitalized.\nThe regexp is case sensitive.\nIt has any effect only when `glasses-uncapitalize-p' is non-nil." regexp glasses-convert-on-write-p "If non-nil, remove separators when writing glasses buffer to a file.\nIf you are confused by glasses so much, that you write the separators into code\nduring coding, set this variable to t. The separators will be removed on each\nfile write then.\n\nNote the removal action does not try to be much clever, so it can remove real\nseparators too."] 14) #@135 Set value of the variable SYMBOL to VALUE and update overlay categories. Used in :set parameter of some customized glasses variables. (defalias 'glasses-custom-set #[(symbol value) "\302 \"\210\303 \207" [symbol value set-default glasses-set-overlay-properties] 3 (#$ . 3853)]) #@120 Tell if (BEG, END) is an exception to `glasses-separate-parentheses-p'. See `glasses-separate-parentheses-exceptions'. (defalias 'glasses-parenthesis-exception-p #[(beg end) "\304 \305\216 \n{\306\307\215+\207" [save-match-data-internal beg end str match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) match (byte-code "\304\211\205 \n@\305 \"\203 \306\307\310\"\210\nA\211\204 \304*\207" [glasses-separate-parentheses-exceptions re --dolist-tail-- str nil string-match throw match t] 4)] 2 (#$ . 4139)]) #@81 Set properties of glasses overlays. Consider current setting of user variables. (defalias 'glasses-set-overlay-properties #[nil "\302\303\304\305#\210\302\303\306#\210\302\303\307 #\210\302\310\304\305#\210\302\310\307 #\210\302\311\304\305#\210\302\311\306\312#\207" [glasses-separator glasses-face put glasses evaporate t before-string face glasses-init glasses-parenthesis " "] 4 (#$ . 4705)]) (glasses-set-overlay-properties) #@55 Return whether OVERLAY is an overlay of glasses mode. (defalias 'glasses-overlay-p #[(overlay) "\301\302\"\303>\207" [overlay overlay-get category (glasses glasses-init glasses-parenthesis)] 3 (#$ . 5142)]) #@149 Create and return readability overlay over the region from BEG to END. CATEGORY is the overlay category. If it is nil, use the `glasses' category. (defalias 'glasses-make-overlay #[(beg end &optional category) "\304 \"\305\n\303\206 \306#\210\n)\207" [beg end overlay category make-overlay overlay-put glasses] 4 (#$ . 5357)]) #@58 Make identifiers in the region from BEG to END readable. (defalias 'glasses-make-readable #[(beg end) "\306\212\307 \310\216\nb\210\311\312\313#\203 \314\315\224\315\225\316#\210\202 \nb\210\311\f\203* \317\202+ \320\313#\203\201 \321\315!\203; \315\202<