| 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!\210\300\302!\210\303\304\305\306\307\310\307\311&\207" [require url-parse thingatpt custom-declare-group ffap nil "Find file or URL at point." :group matching convenience] 8)
#@89 Return value of symbol SYM, if bound, or DEFAULT otherwise.
(fn SYM &optional DEFAULT)
(defalias 'ffap-symbol-value #[513 "\300!\203 J\207\207" [boundp] 4 (#$ . 282)])
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\315\310\311&\210\300\316\302\303\317DD\320\306\321\310\311&\210\300\322\302\303\323DD\324\306\325\310\311\326\327& \210\300\330\302\303\331DD\332\306\321\310\311\326\333& \210\300\334\302\303\335DD\336\306\337\310\311&\210\300\340\302\303\341DD\342\306\343\310\311&\207" [custom-declare-variable ffap-shell-prompt-regexp funcall function #[0 "\300\207" ["[$%><]*"] 1 #1=""] "Paths matching this regexp are stripped off the shell prompt.\nIf nil, ffap doesn't do shell prompt stripping." :type (choice (const :tag "Disable" nil) (const :tag "Standard" "[$%><]*") regexp) :group ffap ffap-ftp-regexp #[0 "\300\207" ["\\`/[^/:]+:"] 1 #1#] "File names matching this regexp are treated as remote ffap.\nIf nil, ffap neither recognizes nor generates such names." (choice (const :tag "Disable" nil) (const :tag "Standard" "\\`/[^/:]+:") regexp) ffap-url-unwrap-local #[0 "\300\207" [t] 1 #1#] "If non-nil, convert some URLs to local file names before prompting.\nOnly \"file:\" and \"ftp:\" URLs are converted, and only if they\ndo not specify a host, or the host is either \"localhost\" or\nequal to `system-name'." boolean ffap-url-unwrap-remote #[0 "\300\207" [("ftp")] 1 #1#] "If non-nil, convert URLs to remote file names before prompting.\nIf the value is a list of strings, that specifies a list of URL\nschemes (e.g. \"ftp\"); in that case, only convert those URLs." (choice (repeat string) boolean) :version "24.3" ffap-lax-url #[0 "\300\207" [t] 1 #1#] "If non-nil, allow lax URL matching.\nThe default non-nil value might produce false URLs in C++ code\nwith symbols like \"std::find\". On the other hand, setting\nthis to nil will disable recognition of URLs that are not\nwell-formed, such as \"user@host\" or \"<user@host>\"." "25.2" ffap-ftp-default-user #[0 "\300\207" ["anonymous"] 1 #1#] "User name in FTP file names generated by `ffap-host-to-filename'.\nNote this name may be omitted if it equals the default\n(either `efs-default-user' or `ange-ftp-default-user')." string ffap-rfs-regexp #[0 "\300\207" ["\\`/\\(afs\\|net\\)/."] 1 #1#] "Matching file names are treated as remote. Use nil to disable." regexp] 10)
#@111 Regexp matching the beginning of a URI, for ffap.
If the value is nil, disable URL-matching features in ffap.
(defvar ffap-url-regexp "\\(news\\(post\\)?:\\|mailto:\\|file:\\|\\(ftp\\|https?\\|telnet\\|gopher\\|www\\|wais\\)://\\)" (#$ . 2686))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable ffap-foo-at-bar-prefix funcall function #[0 "\300\207" ["mailto"] 1 ""] "Presumed URL prefix type of strings like \"<foo.9z@bar>\".\nSensible values are nil, \"news\", or \"mailto\"." :type (choice (const "mailto") (const "news") (const :tag "Disable" nil)) :group ffap] 8)
#@133 Maximum active region length.
When the region is active and larger than this value,
`ffap-string-at-point' returns an empty string.
(defvar ffap-max-region-length 1024 (#$ . 3299))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\315\310\311&\210\300\316\302\303\317DD\320\306\315\310\311&\210\300\321\302\303\322DD\323\306\315\310\311&\210\300\324\302\303\325DD\326\306\303\310\311\327\330& \210\300\331\302\303\332DD\333\306\303\310\311\327\330& \210\300\334\302\303\335DD\336\306\337\310\311\327\330& \210\300\340\302\303\341DD\342\306\343\310\311&\210\300\344\302\303\345DD\346\306\315\310\311\347\350& \207" [custom-declare-variable ffap-dired-wildcards funcall function #[0 "\300\207" ["[*?][^/]*\\'"] 1 #1=""] "A regexp matching filename wildcard characters, or nil.\n\nIf `find-file-at-point' gets a filename matching this pattern,\nand `ffap-pass-wildcards-to-dired' is nil, it passes it on to\n`find-file' with non-nil WILDCARDS argument, which expands\nwildcards and visits multiple files. To visit a file whose name\ncontains wildcard characters you can suppress wildcard expansion\nby setting `find-file-wildcards'. If `find-file-at-point' gets a\nfilename matching this pattern and `ffap-pass-wildcards-to-dired'\nis non-nil, it passes it on to `dired'.\n\nIf `dired-at-point' gets a filename matching this pattern,\nit passes it on to `dired'." :type (choice (const :tag "Disable" nil) (const :tag "Enable" "[*?][^/]*\\'")) :group ffap ffap-pass-wildcards-to-dired #[0 "\300\207" [nil] 1 #1#] "If non-nil, pass filenames matching `ffap-dired-wildcards' to Dired." boolean ffap-newfile-prompt #[0 "\300\207" [nil] 1 #1#] "Whether `find-file-at-point' prompts about a nonexistent file." ffap-require-prefix #[0 "\300\207" [nil] 1 #1#] "If set, reverses the prefix argument to `find-file-at-point'.\nThis is nil so neophytes notice ffap. Experts may prefer to disable\nffap most of the time." ffap-file-finder #[0 "\300\207" [find-file] 1 #1#] "The command called by `find-file-at-point' to find a file." :risky t ffap-directory-finder #[0 "\300\207" [dired] 1 #1#] "The command called by `dired-at-point' to find a directory." ffap-url-fetcher #[0 "\300\207" [browse-url] 1 #1#] "A function of one argument, called by ffap to fetch an URL.\nFor a fancy alternative, get `ffap-url.el'." (choice (const browse-url) function) ffap-next-regexp #[0 "\300\207" ["[/:.~[:alpha:]]/\\|@[[:alpha:]][-[:alnum:]]*\\."] 1 #1#] "Regular expression governing movements of `ffap-next'." regexp dired-at-point-require-prefix #[0 "\300\207" [nil] 1 #1#] "If non-nil, reverse the prefix argument to `dired-at-point'.\nThis is nil so neophytes notice ffap. Experts may prefer to\ndisable ffap most of the time." :version "20.3"] 10)
(defalias 'ffap-mouse-event #[0 "<\205 \207" [last-nonmenu-event] 1])
(make-obsolete 'ffap-mouse-event nil "28.1")
#@14
(fn EVENT)
(defalias 'ffap-event-buffer #[257 "\300\301!@!\207" [window-buffer event-start] 4 (#$ . 6199)])
(make-obsolete 'ffap-event-buffer nil "28.1")
#@43 Last value returned by `ffap-next-guess'.
(defvar ffap-next-guess nil (#$ . 6362))
#@78 List (BEG END), last region returned by the function `ffap-string-at-point'.
(defvar ffap-string-at-point-region '(1 1) (#$ . 6451))
#@285 Move point to next file or URL, and return it as a string.
If nothing is found, leave point at limit and return nil.
Optional BACK argument makes search backwards.
Optional LIM argument limits the search.
Only considers strings that match `ffap-next-regexp'.
(fn &optional BACK LIM)
(defalias 'ffap-next-guess #[512 "\211\204 \203\f e\202
d\262\303\211\204/ `=\204/ \203\"