Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
emacs /
23.1 /
lisp /
progmodes /
[ HOME SHELL ]
Name
Size
Permission
Action
ada-mode.elc
107.46
KB
-rw-r--r--
ada-prj.elc
17.96
KB
-rw-r--r--
ada-stmt.elc
36.03
KB
-rw-r--r--
ada-xref.elc
54.99
KB
-rw-r--r--
antlr-mode.elc
77.63
KB
-rw-r--r--
asm-mode.elc
6.08
KB
-rw-r--r--
autoconf.elc
3.37
KB
-rw-r--r--
bug-reference.elc
5.83
KB
-rw-r--r--
cap-words.elc
3.54
KB
-rw-r--r--
cc-align.elc
35.43
KB
-rw-r--r--
cc-awk.elc
20.23
KB
-rw-r--r--
cc-bytecomp.elc
10.45
KB
-rw-r--r--
cc-cmds.elc
92.26
KB
-rw-r--r--
cc-compat.elc
2.97
KB
-rw-r--r--
cc-defs.elc
46.7
KB
-rw-r--r--
cc-engine.elc
143.05
KB
-rw-r--r--
cc-fonts.elc
140.72
KB
-rw-r--r--
cc-langs.elc
70.29
KB
-rw-r--r--
cc-menus.elc
7.32
KB
-rw-r--r--
cc-mode.elc
144.75
KB
-rw-r--r--
cc-styles.elc
16.11
KB
-rw-r--r--
cc-subword.elc
6.99
KB
-rw-r--r--
cc-vars.elc
71.07
KB
-rw-r--r--
cfengine.elc
8.09
KB
-rw-r--r--
cmacexp.elc
6.58
KB
-rw-r--r--
compile.elc
69.45
KB
-rw-r--r--
cperl-mode.elc
215.39
KB
-rw-r--r--
cpp.elc
21.52
KB
-rw-r--r--
cwarn.elc
12.8
KB
-rw-r--r--
dcl-mode.elc
49.31
KB
-rw-r--r--
delphi.elc
50.03
KB
-rw-r--r--
ebnf-abn.elc
7.39
KB
-rw-r--r--
ebnf-bnf.elc
7.99
KB
-rw-r--r--
ebnf-dtd.elc
13.82
KB
-rw-r--r--
ebnf-ebx.elc
8.77
KB
-rw-r--r--
ebnf-iso.elc
8.14
KB
-rw-r--r--
ebnf-otz.elc
8.51
KB
-rw-r--r--
ebnf-yac.elc
7.53
KB
-rw-r--r--
ebnf2ps.elc
121.25
KB
-rw-r--r--
ebrowse.elc
202.93
KB
-rw-r--r--
etags.elc
54.14
KB
-rw-r--r--
executable.elc
7.6
KB
-rw-r--r--
f90.elc
82.59
KB
-rw-r--r--
flymake.elc
61.25
KB
-rw-r--r--
fortran.elc
60.13
KB
-rw-r--r--
gdb-ui.elc
138.61
KB
-rw-r--r--
glasses.elc
10.15
KB
-rw-r--r--
grep.elc
27.75
KB
-rw-r--r--
gud.elc
93.94
KB
-rw-r--r--
hideif.elc
26.67
KB
-rw-r--r--
hideshow.elc
24.54
KB
-rw-r--r--
icon.elc
16.23
KB
-rw-r--r--
idlw-complete-structtag.elc
4.75
KB
-rw-r--r--
idlw-help.elc
35.31
KB
-rw-r--r--
idlw-shell.elc
134.39
KB
-rw-r--r--
idlw-toolbar.elc
28.34
KB
-rw-r--r--
idlwave.elc
254.7
KB
-rw-r--r--
inf-lisp.elc
18.43
KB
-rw-r--r--
ld-script.elc
4.91
KB
-rw-r--r--
m4-mode.elc
4.91
KB
-rw-r--r--
make-mode.elc
58.79
KB
-rw-r--r--
mantemp.elc
3.77
KB
-rw-r--r--
meta-mode.elc
27.42
KB
-rw-r--r--
mixal-mode.elc
35.32
KB
-rw-r--r--
modula2.elc
14.23
KB
-rw-r--r--
octave-inf.elc
11.87
KB
-rw-r--r--
octave-mod.elc
44.6
KB
-rw-r--r--
pascal.elc
40.31
KB
-rw-r--r--
perl-mode.elc
22.42
KB
-rw-r--r--
prolog.elc
12.7
KB
-rw-r--r--
ps-mode.elc
33.38
KB
-rw-r--r--
python.elc
86.23
KB
-rw-r--r--
ruby-mode.elc
34.59
KB
-rw-r--r--
scheme.elc
15.94
KB
-rw-r--r--
sh-script.elc
94.73
KB
-rw-r--r--
simula.elc
44.81
KB
-rw-r--r--
sql.elc
101.34
KB
-rw-r--r--
sym-comp.elc
7.15
KB
-rw-r--r--
tcl.elc
38.58
KB
-rw-r--r--
vera-mode.elc
44.5
KB
-rw-r--r--
verilog-mode.elc
331.76
KB
-rw-r--r--
vhdl-mode.elc
510.47
KB
-rw-r--r--
which-func.elc
9.72
KB
-rw-r--r--
xscheme.elc
37.76
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ada-xref.elc
;ELC ;;; Compiled by mockbuild@c6b8.bsys.dev.centos.org on Thu Feb 19 13:05:00 2015 ;;; from file /builddir/build/BUILD/emacs-23.1/lisp/progmodes/ada-xref.el ;;; in Emacs version 23.1.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. (if (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19.29"))) (error "`ada-xref.el' was compiled for Emacs 19.29 or later")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\207" [require compile comint find-file ada-mode] 2) #@119 *If nil, always display the cross-references in the same buffer. Otherwise create either a new buffer or a new frame. (custom-declare-variable 'ada-xref-other-buffer 't '(#$ . -731) :type 'boolean :group 'ada) #@121 *If non-nil, run gcc whenever the cross-references are not up-to-date. If nil, the cross-reference mode never runs gcc. (custom-declare-variable 'ada-xref-create-ali 'nil '(#$ . -948) :type 'boolean :group 'ada) #@80 *If non-nil, ask for confirmation before compiling or running the application. (custom-declare-variable 'ada-xref-confirm-compile 'nil '(#$ . -1166) :type 'boolean :group 'ada) #@139 *Maximum number of characters for filenames created by `gnatkr'. Set to 0, if you don't use crunched filenames. This should be a string. (custom-declare-variable 'ada-krunch-args '"0" '(#$ . -1350) :type 'string :group 'ada) #@184 Default GNAT project file parser. Will be run with args "list -v -Pfile.gpr". Default is standard GNAT distribution; alternate "gnatpath" is faster, available from Ada mode web site. (custom-declare-variable 'ada-gnat-cmd '"gnat" '(#$ . 1583) :type 'string :group 'ada) #@409 *Arguments to pass to `gnatls' to find location of the runtime. Typical use is to pass `--RTS=soft-floats' on some systems that support it. You can also add `-I-' if you do not want the current directory to be included. Otherwise, going from specs to bodies and back will first look for files in the current directory. This only has an impact if you are not using project files, but only ADA_INCLUDE_PATH. (custom-declare-variable 'ada-gnatls-args ''("-v") '(#$ . -1860) :type '(repeat string) :group 'ada) #@30 Default compilation options. (custom-declare-variable 'ada-prj-default-comp-opt '"-gnatq -gnatQ" '(#$ . 2375) :type 'string :group 'ada) #@25 Default binder options. (custom-declare-variable 'ada-prj-default-bind-opt '"" '(#$ . 2518) :type 'string :group 'ada) #@25 Default linker options. (custom-declare-variable 'ada-prj-default-link-opt '"" '(#$ . 2643) :type 'string :group 'ada) #@33 Default options for `gnatmake'. (custom-declare-variable 'ada-prj-default-gnatmake-opt '"-g" '(#$ . 2768) :type 'string :group 'ada) #@129 Default GNAT project file. If non-empty, this file is parsed to set the source and object directories for the Ada mode project. (custom-declare-variable 'ada-prj-default-gpr-file '"" '(#$ . 2908) :type 'string :group 'ada) #@58 Default separator for ada_project_path project variable. (custom-declare-variable 'ada-prj-ada-project-path-sep '(if (or (equal system-type 'windows-nt) (equal system-type 'ms-dos)) ";" ":") '(#$ . 3137) :type 'string :group 'ada) #@264 Default switches to use for `gnatfind'. You should modify this variable, for instance to add `-a', if you are working in an environment where most ALI files are write-protected. The command `gnatfind' is used every time you choose the menu "Show all references". (custom-declare-variable 'ada-prj-gnatfind-switches '"-rf" '(#$ . 3375) :type 'string :group 'ada) #@200 *Default command to be used to compile a single file. Emacs will substitute the current filename for ${full_current}, or add the filename at the end. This is the same syntax as in the project file. (custom-declare-variable 'ada-prj-default-check-cmd '(concat "${cross_prefix}gnatmake -u -c -gnatc ${gnatmake_opt} ${full_current}" " -cargs ${comp_opt}") '(#$ . -3744) :type 'string :group 'ada) #@200 *Default command to be used to compile a single file. Emacs will substitute the current filename for ${full_current}, or add the filename at the end. This is the same syntax as in the project file. (custom-declare-variable 'ada-prj-default-comp-cmd '(concat "${cross_prefix}gnatmake -u -c ${gnatmake_opt} ${full_current} -cargs" " ${comp_opt}") '(#$ . -4146) :type 'string :group 'ada) #@32 *Default name of the debugger. (custom-declare-variable 'ada-prj-default-debugger '"${cross_prefix}gdb" '(#$ . -4539) :type 'string :group 'ada) #@105 *Default command to be used to compile the application. This is the same syntax as in the project file. (custom-declare-variable 'ada-prj-default-make-cmd '(concat "${cross_prefix}gnatmake -o ${main} ${main} ${gnatmake_opt} " "-cargs ${comp_opt} -bargs ${bind_opt} -largs ${link_opt}") '(#$ . -4691) :type 'string :group 'ada) #@182 *Name of the current project file. Emacs will not try to use the search algorithm to find the project file if this string is not empty. It is set whenever a project file is found. (custom-declare-variable 'ada-prj-default-project-file '"" '(#$ . -5025) :type '(file :must-match t) :group 'ada) #@144 *Options to pass to `gnatsub' to generate the body of a package. This has the same syntax as in the project file (with variable substitution). (custom-declare-variable 'ada-gnatstub-opts '"-q -I${src_dir}" '(#$ . -5327) :type 'string :group 'ada) #@126 *If nil, use default values when no project file was found. Otherwise, ask the user for the name of the project file to use. (custom-declare-variable 'ada-always-ask-project 'nil '(#$ . -5581) :type 'boolean :group 'ada) #@36 True if we are running on Windows. (defconst is-windows (memq system-type '(windows-nt)) (#$ . 5808)) #@123 *If non-nil, a new Emacs frame will be swallowed in GVD when debugging. If GVD is not the debugger used, nothing happens. (custom-declare-variable 'ada-tight-gvd-integration 'nil '(#$ . -5917) :type 'boolean :group 'ada) #@295 *If non-nil, use egrep to find the possible declarations for an entity. This alternate method is used when the exact location was not found in the information provided by GNAT. However, it might be expensive if you have a lot of sources, since it will search in all the files in your project. (custom-declare-variable 'ada-xref-search-with-egrep 't '(#$ . -6145) :type 'boolean :group 'ada) #@534 Hook that is run when loading a project file. Each function in this hook takes one argument FILENAME, that is the name of the project file to load. This hook should be used to support new formats for the project files. If the function can load the file with the given filename, it should create a buffer that contains a conversion of the file to the standard format of the project files, and return that buffer. (The usual "src_dir=" or "obj_dir=" lines.) It should return nil if it doesn't know how to convert that project file. (defvar ada-load-project-hook nil (#$ . 6544)) #@52 Name of the last project file entered by the user. (defvar ada-last-prj-file "" (#$ . 7130)) #@39 The extension used for project files. (defconst ada-prj-file-extension ".adp" (#$ . 7229)) #@99 Directories where the specs for the standard library is found. This is used for cross-references. (defvar ada-xref-runtime-library-specs-path nil (#$ . 7326)) #@97 Directories where the ali for the standard library is found. This is used for cross-references. (defvar ada-xref-runtime-library-ali-path nil (#$ . 7491)) #@99 List of positions selected by the cross-references functions. Used to go back to these positions. (defvar ada-xref-pos-ring nil (#$ . 7652)) #@156 Command to use to change to a specific directory. On Windows systems using `cmdproxy.exe' as the shell, we need to use `/d' or the drive is never changed. (defvar ada-cd-command (byte-code "\301\302\"\203 \303\207\304\207" [shell-file-name string-match "cmdproxy.exe" "cd /d" "cd"] 3) (#$ . 7800)) #@166 Separator to use between multiple commands to `compile' or `start-process'. `cmdproxy.exe' doesn't recognize multiple-line commands, so we have to use "&&" for now. (defvar ada-command-separator (byte-code "\203 \301\207\302\207" [is-windows " && " "\n"] 1) (#$ . 8107)) #@59 Number of positions kept in the list `ada-xref-pos-ring'. (defconst ada-xref-pos-ring-max 16 (#$ . 8386)) #@32 Regexp to match for operators. (defvar ada-operator-re "\\+\\|-\\|/\\|\\*\\*\\|\\*\\|=\\|&\\|abs\\|mod\\|rem\\|and\\|not\\|or\\|xor\\|<=\\|<\\|>=\\|>" (#$ . 8498)) #@543 Associative list of project files with properties. It has the format: (project project ...) A project has the format: (project-file . project-plist) (See 'apropos plist' for operations on property lists). See `ada-default-prj-properties' for the list of valid properties. The current project is retrieved with `ada-xref-current-project'. Properties are retrieved with `ada-xref-get-project-field', set with `ada-xref-set-project-field'. If project properties are accessed with no project file, a (nil . default-properties) entry is created. (defvar ada-xref-project-files nil (#$ . 8669)) (defalias 'ada-make-identlist '(macro . #[nil "\300\301\302\"\207" [make-vector 8 nil] 3])) (defalias 'ada-name-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 0] 3])) (defalias 'ada-line-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 1] 3])) (defalias 'ada-column-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 2] 3])) (defalias 'ada-file-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 3] 3])) (defalias 'ada-ali-index-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 4] 3])) (defalias 'ada-declare-file-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 5] 3])) (defalias 'ada-references-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 6] 3])) (defalias 'ada-on-declaration '(macro . #[(identlist) "\301\302E\207" [identlist aref 7] 3])) (defalias 'ada-set-name '(macro . #[(identlist name) "\302\303 F\207" [identlist name aset 0] 4])) (defalias 'ada-set-line '(macro . #[(identlist line) "\302\303 F\207" [identlist line aset 1] 4])) (defalias 'ada-set-column '(macro . #[(identlist col) "\302\303 F\207" [identlist col aset 2] 4])) (defalias 'ada-set-file '(macro . #[(identlist file) "\302\303 F\207" [identlist file aset 3] 4])) (defalias 'ada-set-ali-index '(macro . #[(identlist index) "\302\303 F\207" [identlist index aset 4] 4])) (defalias 'ada-set-declare-file '(macro . #[(identlist file) "\302\303 F\207" [identlist file aset 5] 4])) (defalias 'ada-set-references '(macro . #[(identlist ref) "\302\303 F\207" [identlist ref aset 6] 4])) (defalias 'ada-set-on-declaration '(macro . #[(ident value) "\302\303 F\207" [ident value aset 7] 4])) #@73 Read the ali file FILE into a new buffer, and return the buffer's name. (defalias 'ada-get-ali-buffer #[(file) "\301\302!!\207" [file find-file-noselect ada-get-ali-file-name] 3 (#$ . 10912)]) (put 'ada-get-ali-buffer 'byte-optimizer 'byte-compile-inline-expand) #@76 Duplicate all `\' characters in CMD so that it can be passed to `compile'. (defalias 'ada-quote-cmd #[(cmd) "\301\302\303\304\"\304#\207" [cmd mapconcat identity split-string "\\\\"] 5 (#$ . 11182)]) #@154 Find the full path to the executable file EXEC-NAME. If not found, throw an error. On Windows systems, this will properly handle .exe extension as well. (defalias 'ada-find-executable #[(exec-name) "\303 \"\206 \303\304P \"\211\203 \n\202 \305\306\")\207" [exec-name exec-path result ada-find-file-in-dir ".exe" error "'%s' not found in path"] 4 (#$ . 11390)]) #@120 Initialize the variables for the runtime library location. CROSS-PREFIX is the prefix to use for the `gnatls' command. (defalias 'ada-initialize-runtime-library #[(cross-prefix) "\305\306\307\217\211\203\226 \212\305\211\310\311!q\210~\210\312 \210\313\216\314\315\316\317\"#eb\210\f\320U\2043 \321`\322 {!\210\323\324!\210\325y\210\326\327!\204d \330 \210\326\331!\203Q \332\301\333\"\210\202^ \332\301\334`\212\305\210`)\"\"\210\325y\210\202: \323\335!\210\325y\210\326\327!\204\225 \330 \210\326\331!\203\202 \332\302\333\"\210\202\217 \332\302\334`\212\305\210`)\"\"\210\325y\210\202k +\336 !\336\n!\211)\207" [gnatls ada-xref-runtime-library-specs-path ada-xref-runtime-library-ali-path ada-gnatls-args status nil (byte-code "\301\302P!\207" [cross-prefix ada-find-executable "gnatls"] 3) ((error)) get-buffer-create "*gnatls*" erase-buffer ((kill-buffer nil)) apply call-process append (nil t nil) 4 error line-end-position search-forward "Source Search Path:" 1 looking-at "^$" back-to-indentation "<Current_Directory>" add-to-list "." buffer-substring-no-properties "Object Search Path:" reverse] 7 (#$ . 11765)]) #@262 Set gpr_file, src_dir and obj_dir properties in PLIST by parsing GPR-FILE. Return new value of PLIST. GPR_FILE must be full path to file, normalized. src_dir, obj_dir will include compiler runtime. Assumes environment variable ADA_PROJECT_PATH is set properly. (defalias 'ada-gnat-parse-gpr #[(plist gpr-file) "\212\306\307!q\210\310 \210\311\312\"\210\313\216\314 \315\"\211P\316P\317\211$\320\f\317\321\317\322\323 &)eb\210)\324U\204@ \325`\326 {!\210\327\330!\210\331y\210\332\333!\204q \334 \210\332\335!\203` \336\337\340\341!\"\210\202k \336\337\340\342`\326 \"!\"\210\331y\210\202G \327\343!\210\331y\210\332\333!\204\242 \334 \210\332\335!\203\221 \336\344\340\341!\"\210\202\234 \336\344\340\342`\326 \"!\"\210\331y\210\202x \345 \346#\345 \347#\345 \350$#.\207" [gpr-file plist cross-prefix ada-gnat-cmd gnat gpr-opt get-buffer-create "*gnatls*" erase-buffer message "Parsing %s ..." ((byte-code "\301\302!\210\303\304\"\207" [gpr-file kill-buffer nil message "Parsing %s ... done"] 3)) plist-get cross_prefix "-P" nil call-process t "list" "-v" 0 error line-end-position search-forward "Source Search Path:" 1 looking-at "^$" back-to-indentation "<Current_Directory>" add-to-list src-dir expand-file-name "." buffer-substring-no-properties "Object Search Path:" obj-dir plist-put gpr_file src_dir obj_dir status] 9 (#$ . 12905)]) #@334 Replace variable references ${var} in CMD-STRING with the appropriate value. Also replace standard environment variables $var. Assumes project exists. As a special case, ${current} is replaced with the name of the current file, minus extension but with directory, and ${full_current} is replaced by the name including the extension. (defalias 'ada-treat-cmd-string #[(cmd-string) "\305\306\"\203 \307\310\311\" \312\230\203 \313\314 !\2024 \315\230\203( \314 \2024 \316 \317\216\320\321 !!*\n\204H \322 !\211\204H \323\324\325 \326Q\"\210\n\204V \327\330\331\211$\202{ \n;\203e \327\n\331\211$\202{ \n<\203{ \310\332\"\327\333\334\n\335#\331\211$)*\202 \336!\207" [cmd-string name value save-match-data-internal prefix string-match "\\(-[^-$IO]*[IO]\\)?${\\([^}]+\\)}" nil match-string 2 "current" file-name-sans-extension buffer-file-name "full_current" match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) ada-xref-get-project-field intern getenv message "%s" "No project or environment variable " " found" replace-match "" t 1 mapconcat #[(x) " P\207" [prefix x] 2] " " substitute-in-file-name] 5 (#$ . 14273)]) #@262 Extract the value of FIELD from the current project file. Project variables are substituted. Note that for src_dir and obj_dir, you should rather use `ada-xref-get-src-dir-field' or `ada-xref-get-obj-dir-field' which will in addition return the default paths. (defalias 'ada-xref-get-project-field #[(field) "\304 A\305 \" \306=\203! \305\307\"\211\310\230\204 \311\312\nR)\n;\203, \313\n!\202A \n\2044 \314\202A \n<\203@ \315\316\n\"\202A \n*\207" [project-plist field value gpr-file ada-xref-current-project plist-get gnatmake_opt gpr_file "" "-P\"" "\" " ada-treat-cmd-string nil mapcar #[(x) "\203 \301!\207\207" [x ada-treat-cmd-string] 2]] 5 (#$ . 15462)]) #@129 Return the full value for src_dir, including the default directories. All the directories are returned as absolute directories. (defalias 'ada-xref-get-src-dir-field #[nil "\302\303!\304C\305\302\306!\" #)\207" [build-dir ada-xref-runtime-library-specs-path ada-xref-get-project-field build_dir append ada-get-absolute-dir-list src_dir] 5 (#$ . 16145)]) #@129 Return the full value for obj_dir, including the default directories. All the directories are returned as absolute directories. (defalias 'ada-xref-get-obj-dir-field #[nil "\302\303!\304C\305\302\306!\" #)\207" [build-dir ada-xref-runtime-library-ali-path ada-xref-get-project-field build_dir append ada-get-absolute-dir-list obj_dir] 5 (#$ . 16509)]) #@65 Set FIELD to VALUE in current project. Assumes project exists. (defalias 'ada-xref-set-project-field #[(field value) "\305 \306 \"A\307\n\f#\306 \"\n\241*\207" [file-name ada-xref-project-files project-plist field value ada-xref-current-project-file assoc plist-put] 4 (#$ . 16870)]) #@73 Update the menu Ada->Project, with the list of available project files. (defalias 'ada-xref-update-project-menu #[nil "\303\304\305\306\307\310\311\206\f \312\"BBBBB\313\n\314 #)\207" [ada-xref-project-files submenu ada-mode-menu "Project" ["Load..." ada-set-default-project-file t] ["New..." ada-prj-new t] ["Edit..." ada-prj-edit t] "---" mapcar #[(x) "@\206 \304\305\306\307\310\311 D\257\312\313 !\n\314\315@\232B$*\207" [x name command ada-prj-default-project-file "<default>" lambda nil "Select the current project file." (interactive) ada-select-prj-file vector file-name-nondirectory :button :toggle] 7] (nil) easy-menu-add-item nil] 8 (#$ . 17167)]) #@161 Completion function when reading a file from the minibuffer. Completion is attempted in all the directories in the source path, as defined in the project file. (defalias 'ada-do-file-completion #[(string predicate flag) "\305 \210\306\307 \203# \310@!\203 \311 \312\n@\"\"A\211\204\f \313\232\2030 \314\n \"\202@ \2038 \202@ \315\n\316\317 \"\f#*\207" [dirs list string flag predicate ada-require-project-file nil ada-xref-get-src-dir-field file-directory-p append file-name-all-completions lambda assoc try-completion mapcar #[(x) "\301B\207" [x 1] 2]] 6 (#$ . 17842)]) #@75 Open FILENAME, from anywhere in the source path. Completion is available. (defalias 'ada-find-file #[(filename) "\302!\211\203 \303 !\202 \304\305\")\207" [filename file ada-find-src-file-in-dir find-file error "%s not found in src_dir"] 4 (#$ . 18432) (list (completing-read "File: " 'ada-do-file-completion))]) #@120 If the current project does not exist, load or create a default one. Should only be called from interactive functions. (defalias 'ada-require-project-file #[nil "\301\230\205 \302\303\304!!\207" [ada-prj-default-project-file "" ada-reread-prj-file ada-prj-find-prj-file t] 3 (#$ . 18757)]) #@113 Return the current project file name; never nil. Call `ada-require-project-file' first if a project must exist. (defalias 'ada-xref-current-project-file #[nil "\301\230\204 \207\302\303!\207" [ada-prj-default-project-file "" ada-prj-find-prj-file t] 2 (#$ . 19056)]) #@95 Return the current project. Call `ada-require-project-file' first to ensure a project exists. (defalias 'ada-xref-current-project #[nil "\302 \303 \")\207" [file-name ada-xref-project-files ada-xref-current-project-file assoc] 3 (#$ . 19332)]) #@54 Display current project file name in message buffer. (defalias 'ada-show-current-project #[nil "\300\301 !\207" [message ada-xref-current-project-file] 2 (#$ . 19584) nil]) #@51 Display current main file name in message buffer. (defalias 'ada-show-current-main #[nil "\300\301\302\303!\"\207" [message "ada-mode main: %s" ada-xref-get-project-field main] 4 (#$ . 19763) nil]) #@70 Push (FILENAME, POSITION) on the position ring for cross-references. (defalias 'ada-xref-push-pos #[(filename position) " D\nB\211GV\205 S\n\233\304\241\207" [position filename ada-xref-pos-ring ada-xref-pos-ring-max nil] 3 (#$ . 19967)]) #@48 Go to the previous cross-reference we were on. (defalias 'ada-xref-goto-previous-reference #[nil "\205 @A\302 A@!\210 @b)\207" [ada-xref-pos-ring pos find-file] 2 (#$ . 20217) nil]) #@150 Convert from NAME to a name that can be used by the compilation commands. This is overridden on VMS to convert from VMS filenames to Unix filenames. (defalias 'ada-convert-file-name #[(name) "\207" [name] 1 (#$ . 20412)]) #@39 Set FILE as the current project file. (defalias 'ada-set-default-project-file #[(file) "\301!\210\302!\207" [file ada-parse-prj-file ada-select-prj-file] 2 (#$ . 20641) "fProject file:"]) #@484 Find the project file associated with the current buffer. If the buffer is not in Ada mode, or not associated with a file, return `ada-prj-default-project-file'. Otherwise, search for a file with the same base name as the Ada file, but extension given by `ada-prj-file-extension' (default .adp). If not found, search for *.adp in the current directory; if several are found, and NO-USER-QUESTION is non-nil, prompt the user to select one. If none are found, return 'default.adp'. (defalias 'ada-prj-find-prj-file #[(&optional no-user-question) "\306\307\310!\203\f \204 \306\202\202 \301 \311\n!P\312\n!\313 \314\315\316!\317Q#\306\320\f!\2038 \f\202\201 G\321U\203G @\202\201 G\321V\203Z \204Z \322\213\210\202\201 G\323U\203\201 \204\201 \203\201 \324\325\326Q\306#\211\327\230\204\201 -\206\207 \330)\207" [selected buffer-file-name current-file ada-prj-file-extension first-choice dir nil derived-mode-p ada-mode file-name-sans-extension file-name-directory directory-files t ".*" regexp-quote "$" file-exists-p 1 ((byte-code "\304\220\305\306!\210\305\307!\210\305\310!\210\305\311!\210\312\211 GX\205- \305\313\314\211S 8#!\210T\211\202 )\221\210\315\211\203H \n\250\203H \n\312W\204H \n GV\203R \316\317\320!!\211\2023 \nS 8\315\207" [counter prj-files choice selected "*choice list*" princ "There are more than one possible project file.\n" "Which one should we use ?\n\n" " no. file name \n" " --- ------------------------\n" 1 format " %2d) %s\n" nil string-to-number read-from-minibuffer "Enter No. of your choice: "] 8)) 0 read-file-name "project file [" "]:" "" "default.adp" prj-files choice no-user-question ada-always-ask-project ada-last-prj-file] 7 (#$ . 20838)]) #@77 Return the default project properties list with the current buffer as main. (defalias 'ada-default-prj-properties #[nil "\306\307!\310\311\312 \313\n\314\315\f<\203 \f\202 \fC\316 C\317&C\320'\321\311\322(\323)\205. \324Q\325\307C\326*\327PC\330+\331,\332-\333.\334\203Q \335\336!!\202R \311\337/C\340\341C\342\311\343\344)\205c \324PC\345\341C\257,)\207" [file ada-prj-ada-project-path-sep ada-prj-default-bind-opt default-directory ada-case-exception-file ada-prj-default-check-cmd buffer-file-name nil ada_project_path "" ada_project_path_sep bind_opt build_dir casing check_cmd comp_cmd comp_opt cross_prefix debug_cmd " ${main}" ".exe" debug_post_cmd debug_pre_cmd " ${build_dir}" gnatmake_opt gnatfind_opt gpr_file link_opt main file-name-nondirectory file-name-sans-extension make_cmd obj_dir "." remote_machine run_cmd "./${main}" src_dir ada-prj-default-comp-cmd ada-prj-default-comp-opt ada-prj-default-debugger is-windows ada-cd-command ada-prj-default-gnatmake-opt ada-prj-gnatfind-switches ada-prj-default-gpr-file ada-prj-default-link-opt ada-prj-default-make-cmd] 44 (#$ . 22587)]) #@68 Read PRJ-FILE, set project properties in `ada-xref-project-files'. (defalias 'ada-parse-prj-file #[(prj-file) "\303 \304 !\305 !\306\230\203 \307 \"\202 \310 \"\311 \n\"\203- \311 \n\"\241\210\2024 \312\302 B\"\210\313 )\207" [project prj-file ada-xref-project-files ada-default-prj-properties expand-file-name file-name-extension "gpr" ada-gnat-parse-gpr ada-parse-prj-file-1 assoc add-to-list ada-xref-update-project-menu] 4 (#$ . 23707)]) #@107 Parse the Ada mode project file PRJ-FILE, set project properties in PROJECT. Return new value of PROJECT. (defalias 'ada-parse-prj-file-1 #[(prj-file project) "p\306\211\211\211\211\211\211\211\211\211\211 4\307\3105\"\2116\2040 \3115\306\"66q\210)~\210eb\210m\204D\312\313!\203>\314\315!\316\230\203Z \317\320\321\322\314\323!!!\"\210\202>\314\315!\324\230\203q \3257\326\327\314\323!!#7\202>\314\315!\330\230\203\207 \317\331\321\322\314\323!!!\"\210\202>\314\315!\332\230\203\231 \317\333\314\323!\"\210\202>\314\315!\334\230\203\253 \317\335\314\323!\"\210\202>\314\315!\336\230\203\275 \317\305\314\323!\"\210\202>\314\315!\337\230\203\317 \317\340\314\323!\"\210\202>\314\315!\341\230\203\340 \321\314\323!!\202>\314\315!\342\230\203\362 \317\303\314\323!\"\210\202>\314\315!\343\230\203\317\302\327\321\314\323!!!\"\210\202>\314\315!\344\230\203\317\300\314\323!\"\210\202>\314\315!\345\230\2030\317\301\327\321\314\323!!!\"\210\202>\3257\346\314\315!!\314\323!#7\315y\210\202: 4q\210\203s\3477\350\"8\351!\352\3538#\3257\320#7\354\355\"\210) \203\201\3257\305\351 !#7 \203\221\3257\340\351 !#7\203\241\3257\331\351!#7\203\261\3257\333\351!#7\203\301\3257\335\351!#7\203\317\3257\303\351!#7\203\335\3257\300\351!#7\f\203 \3567\f\"7\357\3477\301\" \"\357\3477\302\"\n\"\306\2119:\360\361\362!\206\363!\210\n\203\3257\302\351\n!#7 \203&\3257\301\351 !#77.\f\207" [run_cmd src_dir obj_dir make_cmd gpr_file debug_post_cmd nil run-hook-with-args-until-success ada-load-project-hook find-file-noselect looking-at "^\\([^=\n]+\\)=\\(.*\\)" match-string 1 "ada_project_path" add-to-list ada_project_path expand-file-name substitute-in-file-name 2 "build_dir" plist-put build_dir file-name-as-directory "casing" casing "check_cmd" check_cmd "comp_cmd" comp_cmd "debug_post_cmd" "debug_pre_cmd" debug_pre_cmd "gpr_file" "make_cmd" "obj_dir" "run_cmd" "src_dir" intern plist-get ada_project_path_sep reverse mapconcat identity setenv "ADA_PROJECT_PATH" ada-gnat-parse-gpr append ada-initialize-runtime-library ada-xref-get-project-field cross_prefix "" ada-buffer prj-file buffer project sep ada-xref-runtime-library-specs-path ada-xref-runtime-library-ali-path] 13 (#$ . 24166)]) #@42 Select FILE as the current project file. (defalias 'ada-select-prj-file #[(file) "\306!\307\302!\211\203 \n\310 \210)\307\304!\211\203 \311\312\f\"\210)\313 \314\315\316 \"\"\317\207" [file ada-prj-default-project-file casing ada-case-exception-file ada_project_path compilation-search-path expand-file-name ada-xref-get-project-field ada-case-read-exceptions setenv "ADA_PROJECT_PATH" ada-xref-get-src-dir-field append mapcar directory-file-name t ada-search-directories ada-search-directories-internal] 5 (#$ . 26474) nil]) #@238 Find all references to the entity under POS. Calls gnatfind to find the references. If ARG is non-nil, the contents of the old *gnatfind* buffer is preserved. If LOCAL-ONLY is non-nil, only declarations in the current file are returned. (defalias 'ada-find-references #[(&optional pos arg local-only) "\306 \210\307!\310 \311H!\312 \313 \311H!q\210\314p!\204&