| 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/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301\302\303\304\305\306\307\310\311& \210\312\313\314\315\316DD\317\320\321%\210\312\322\314\315\323DD\324\320\321%\210\312\325\314\315\326DD\327\320\321%\210\312\330\314\315\331DD\332\320\321%\210\312\333\314\315\334DD\335\320\321%\210\312\336\314\315\337DD\340\320\341%\210\312\342\314\315\343DD\344\320\341%\210\312\345\314\315\346DD\347\320\341%\210\312\350\314\315\351DD\352\320\341%\210\312\353\314\315\354DD\355\320\341%\210\312\356\314\315\357DD\360\320\361%\210\362\363\364\"\210\312\364\314\315\365DD\366\320\367%\210\312\370\314\315\371DD\372\320\373%\210\312\374\314\315\375DD\376\320\377%\210\312\201@ \314\315\201A DD\201B \201C \201D \320\201E &\210\312\201F \314\315\201G DD\201H \320\201I %\210\201J \313!\210\201J \322!\210\201J \325!\210\201J \330!\210\201J \333!\210\201J \336!\210\201J \342!\210\201J \345!\210\201J \353!\210\201J \364!\210\201J \370!\207" [custom-declare-group ff nil "Find a file corresponding to this one given a pattern." :prefix "ff-" :link (emacs-commentary-link "find-file") :group find-file custom-declare-variable ff-pre-find-hook funcall function #[0 "\300\207" [nil] 1 #1=""] "List of functions to be called before the search for the file starts." :type hook ff-pre-load-hook #[0 "\300\207" [nil] 1 #1#] "List of functions to be called before the other file is loaded." ff-post-load-hook #[0 "\300\207" [nil] 1 #1#] "List of functions to be called after the other file is loaded." ff-not-found-hook #[0 "\300\207" [nil] 1 #1#] "List of functions to be called if the other file could not be found." ff-file-created-hook #[0 "\300\207" [nil] 1 #1#] "List of functions to be called if the other file needs to be created." ff-case-fold-search #[0 "\300\207" [nil] 1 #1#] "Non-nil means ignore cases in matches (see `case-fold-search').\nIf you have extensions in different cases, you will want this to be nil." boolean ff-always-in-other-window #[0 "\300\207" [nil] 1 #1#] "If non-nil, find the corresponding file in another window by default.\nTo override this, give an argument to `ff-find-other-file'." ff-ignore-include #[0 "\300\207" [nil] 1 #1#] "If non-nil, ignore `#include' lines." ff-always-try-to-create #[0 "\300\207" [t] 1 #1#] "If non-nil, always attempt to create the other file if it was not found." ff-quiet-mode #[0 "\300\207" [nil] 1 #1#] "If non-nil, trace which directories are being searched." ff-special-constructs #[0 "\300\301!\302BC\207" [purecopy "^#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]" #[0 "\300\301!\207" [match-string 2] 2]] 2 #1#] "List of special constructs recognized by `ff-treat-as-special'.\nEach element, tried in order, has the form (REGEXP . EXTRACT).\nIf REGEXP matches the current line (from the beginning of the line),\n`ff-treat-as-special' calls function EXTRACT with no args.\nIf EXTRACT returns nil, keep trying. Otherwise, return the\nfilename that EXTRACT returned." (repeat (cons regexp function)) defvaralias ff-related-file-alist ff-other-file-alist #[0 "\300\207" [cc-other-file-alist] 1 #1#] "Alist of extensions to find given the current file's extension.\n\nThe value could be an alist or a symbol whose value is an alist.\nEach element of the alist has the form\n\n (REGEXP (EXTENSION...))\n\nwhere REGEXP is the regular expression matching a file's extension,\nand EXTENSIONs is the list of literal file-name extensions to search\nfor. The list of extensions should contain the most used extensions\nbefore the others, since the search algorithm searches sequentially\nthrough each directory specified in `ff-search-directories'.\n\nAlist elements can also be of the form\n\n (REGEXP FUNCTION)\n\nwhere FUNCTION is a function of one argument, the current file's name,\nthat returns the list of possible names of the corresponding files, with\nor without leading directories. Note the difference: FUNCTION returns\nthe list of file names, not their extensions. This is for the case when\nREGEXP is not enough to determine the file name of the other file.\n\nIf a file is not found, a new one is created with the first\nmatching extension or name (e.g., `.cc' yields `.hh').\n\nThis alist should be set by the major mode.\n\nNote: if an element of the alist names a FUNCTION as its cdr, that\nfunction must return a non-nil list of file-names. It cannot\nreturn nil, nor can it signal in any way a failure to find a suitable\nlist of file names." (choice (repeat (list regexp (choice (repeat string) function))) symbol) ff-search-directories #[0 "\300\207" [cc-search-directories] 1 #1#] "List of directories to search for a specific file.\n\nSet by default to `cc-search-directories', expanded at run-time.\n\nThis list is searched through with each extension specified in\n`ff-other-file-alist' that matches this file's extension. So the\nlonger the list, the longer it'll take to realize that a file\nmay not exist.\n\nA typical format is\n\n (\".\" \"/usr/include\" \"$PROJECT/*/include\")\n\nEnvironment variables can be inserted between slashes (`/').\nThey will be replaced by their definition. If a variable does\nnot exist, it is replaced (silently) with an empty string.\n\nThe stars are *not* wildcards: they are searched for together with\nthe preceding slash. The star represents all the subdirectories except\n`..', and each of these subdirectories will be searched in turn." (choice (repeat directory) symbol) cc-search-directories #[0 "\300\207" [("." "/usr/include" "/usr/local/include/*")] 1 #1#] "See the description of the `ff-search-directories' variable." (repeat directory) cc-other-file-alist #[0 "\300\207" [(("\\.cc\\'" (".hh" ".h")) ("\\.hh\\'" (".cc" ".C" ".CC" ".cxx" ".cpp" ".c++")) ("\\.c\\'" (".h")) ("\\.m\\'" (".h")) ("\\.h\\'" (".c" ".cc" ".C" ".CC" ".cxx" ".cpp" ".c++" ".m")) ("\\.C\\'" (".H" ".hh" ".h")) ("\\.H\\'" (".C" ".CC")) ("\\.CC\\'" (".HH" ".H" ".hh" ".h")) ("\\.HH\\'" (".CC")) ("\\.c\\+\\+\\'" (".h++" ".hh" ".h")) ("\\.h\\+\\+\\'" (".c++")) ("\\.cpp\\'" (".hpp" ".hh" ".h")) ("\\.hpp\\'" (".cpp")) ("\\.cxx\\'" (".hxx" ".hh" ".h")) ("\\.hxx\\'" (".cxx")))] 1 #1#] "Alist of extensions to find given the current file's extension.\n\nThis list should contain the most used extensions before the others,\nsince the search algorithm searches sequentially through each directory\nspecified in `ff-search-directories'. If a file is not found, a new one\nis created with the first matching extension (`.cc' yields `.hh')." :version "24.4" (repeat (list regexp (choice (repeat string) function))) modula2-other-file-alist #[0 "\300\207" [(("\\.mi\\'" (".md")) ("\\.md\\'" (".mi")))] 1 #1#] "See the description for the `ff-search-directories' variable." (repeat (list regexp (choice (repeat string) function))) make-variable-buffer-local] 10)
#@219 Find the header or source file corresponding to this file.
See also the documentation for `ff-find-other-file'.
If optional IN-OTHER-WINDOW is non-nil, find the file in another window.
(fn &optional IN-OTHER-WINDOW)
(defalias 'ff-get-other-file #[256 "\301\302!)\207" [ff-ignore-include t ff-find-the-other-file] 3 (#$ . 6819) "P"])
(defalias 'ff-find-related-file 'ff-find-other-file)
#@1992 Find the header or source file corresponding to this file.
Being on a `#include' line pulls in that file.
If optional IN-OTHER-WINDOW is non-nil, find the file in the other window.
If optional IGNORE-INCLUDE is non-nil, ignore being on `#include' lines.
If optional EVENT is non-nil (default `last-nonmenu-event', move
point to the end position of that event before calling the
various ff-* hooks.
Variables of interest include:
- `ff-case-fold-search'
Non-nil means ignore cases in matches (see `case-fold-search').
If you have extensions in different cases, you will want this to be nil.
- `ff-always-in-other-window'
If non-nil, always open the other file in another window, unless an
argument is given to `ff-find-other-file'.
- `ff-ignore-include'
If non-nil, ignores #include lines.
- `ff-always-try-to-create'
If non-nil, always attempt to create the other file if it was not found.
- `ff-quiet-mode'
If non-nil, traces which directories are being searched.
- `ff-special-constructs'
A list of regular expressions specifying how to recognize special
constructs such as include files etc, and an associated method for
extracting the filename from that construct.
- `ff-other-file-alist'
Alist of extensions to find given the current file's extension.
- `ff-search-directories'
List of directories searched through with each extension specified in
`ff-other-file-alist' that matches this file's extension.
- `ff-pre-find-hook'
List of functions to be called before the search for the file starts.
- `ff-pre-load-hook'
List of functions to be called before the other file is loaded.
- `ff-post-load-hook'
List of functions to be called after the other file is loaded.
- `ff-not-found-hook'
List of functions to be called if the other file could not be found.
- `ff-file-created-hook'
List of functions to be called if the other file has been created.
(fn &optional IN-OTHER-WINDOW IGNORE-INCLUDE EVENT)
(defalias 'ff-find-other-file #[768 "p`\301\302!!\210\303!\210)rq\210\211b)\207" [ff-ignore-include posn-set-point event-end ff-find-the-other-file] 8 (#$ . 7217) (list current-prefix-arg nil last-nonmenu-event)])
#@126 Like `buffer-file-name' but works with indirect buffers as well.
If BUF is nil, uses the current buffer.
(fn &optional BUF)
(defalias 'ff-buffer-file-name #[256 "\211\204 p\262\300!\206 \301!\205 \300\301!!\207" [buffer-file-name buffer-base-buffer] 4 (#$ . 9434)])
#@274 Find the header or source file corresponding to the current file.
Being on a `#include' line pulls in that file, but see the help on
the `ff-ignore-include' variable.
If optional IN-OTHER-WINDOW is non-nil, find the file in another window.
(fn &optional IN-OTHER-WINDOW)
(defalias 'ff-find-the-other-file #[256 "\305\211\211\211\211\211\211\211\211\211\211\211\211\306\307\310\"\210\311\312!\210\3139\203! J\202\"