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/cedet/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:01 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/cedet/cedet-cscope.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@37 Minimum version of CScope required. (defvar cedet-cscope-min-version "15.7" (#$ . 561)) #@41 Command name for the CScope executable. (custom-declare-variable 'cedet-cscope-command "cscope" '(#$ . 655) :type 'string :group 'cedet) #@428 Perform a search with CScope, return the created buffer. SEARCHTEXT is text to find. TEXTTYPE is the type of text, such as 'regexp, 'string, 'tagname, 'tagregexp, or 'tagcompletions. TYPE is the type of search, meaning that SEARCHTEXT is compared to filename, tagname (tags table), references (uses of a tag) , or symbol (uses of something not in the tag table.) SCOPE is the scope of the search, such as 'project or 'subdirs. (defalias 'cedet-cscope-search #[(searchtext texttype type scope) "\304=\203\n \305\2028 \306=\203 \307\2028 \310=\203 \311\2028 \312=\203- \313\n\314Q\307\2028 \315=\2037 \316\2028 \317\320\321\322\nF!)\207" [type texttype searchtext idx file "-7" tagname "-1" tagregexp "-0" tagcompletions "^" ".*" regexp "-5" "-3" cedet-cscope-call "-d" "-L"] 5 (#$ . 799)]) #@121 Create a CScope database at the current directory. FLAGS are additional flags to pass to cscope beyond the options -cR. (defalias 'cedet-cscope-create #[(flags) "\301\302\303C\"!\207" [flags cedet-cscope-call append "-cR"] 4 (#$ . 1605)]) #@37 Call CScope with the list of FLAGS. (defalias 'cedet-cscope-call #[(flags) "\305\306!r\nq\210 \307 \210)\310\311\312\n\312\f&\210\n*\207" [default-directory cd b cedet-cscope-command flags get-buffer-create "*CEDET CScope*" erase-buffer apply call-process nil] 7 (#$ . 1851)]) #@69 Expand the FILENAME with CScope. Return a fully qualified filename. (defalias 'cedet-cscope-expand-filename #[(filename) "r\303\304\305\306F!q\210eb\210\307\310!\203 \311\312!\202 \313\314 \315\316#)\317\320 \"\321\322!\203P \n\203L \nG\323U\203@ \324\325\n@\"\210\202P \324\326\n@\nAG#\210\202P \311\327!\210\n*\207" [filename ans1 ans2 cedet-cscope-call "-d" "-L" "-7" looking-at "[^ \n]*cscope: " error "CScope not available" split-string buffer-string "\n" t mapcar #[(hit) "\301\302\303\"@!\207" [hit expand-file-name split-string " "] 4] called-interactively-p interactive 1 message "%s" "%s + %d others" "No file found"] 5 (#$ . 2140) "sFile: "]) #@193 Return non-nil if CScope has a support file for DIR. If DIR is not supplied, use the current default directory. This works by running cscope on a bogus symbol, and looking for the error code. (defalias 'cedet-cscope-support-for-directory #[(&optional dir) "\212\206 \303\304\305\306\307F!q\210eb\210\310\311!\312\313!\203/ \n\203( \314\315 \"\2025 \314\316 \"\2025 \n?\2055 \317+\207" [dir default-directory ans cedet-cscope-call "-d" "-L" "-7" "moose" looking-at "[^ \n]*cscope: " called-interactively-p interactive message "No support for CScope in %s" "CScope is supported in %s" t] 5 (#$ . 2807) "DDirectory: "]) #@179 Check the version of the installed CScope command. If optional programmatic argument NOERROR is non-nil, then instead of throwing an error if CScope isn't available, return nil. (defalias 'cedet-cscope-version-check #[(&optional noerror) "\304\305!\210\306\307\310\217\306\211\204 \311\312!\203 \313\314!\210\306\202P r q\210eb\210\315\316\306\317#\210\320\321!\322\306\n#\203C ?\205O \323\324\n#\202O \311\312!\203N \313\325\"\210\317)*\207" [rev b cedet-cscope-min-version noerror require inversion nil (byte-code "\300\301C!\207" [cedet-cscope-call "-V"] 2) ((error)) called-interactively-p interactive message "CScope not found." re-search-forward "cscope: version \\([0-9.]+\\)" t match-string 1 inversion-check-version error "Version of CScope is %s. Need at least %s" "CScope %s - Good enough for CEDET."] 5 (#$ . 3436) nil]) #@126 Create a CScope database in DIR. CScope will automatically choose incremental rebuild if there is already a database in DIR. (defalias 'cedet-cscope-create/update-database #[(&optional dir) "\302\303!)\207" [dir default-directory cedet-cscope-create nil] 2 (#$ . 4287) "DDirectory: "]) (provide 'cedet-cscope)