%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/net/ |
Current File : //usr/local/share/emacs/27.2/lisp/net/goto-addr.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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!\210\300\302!\210\303\304\305\"\210\306\307\310\311\312\313\312\314&\210\315\316\317\320\321\322\312\307&\210\315\323\317\324\321\322\312\307&\210\315\325\326\327\321\330\312\307&\207" [require seq thingatpt autoload browse-url-url-at-point "browse-url" custom-declare-group goto-address nil "Click to browse URL or to send to e-mail address." :group mouse comm custom-declare-variable goto-address-fontify-p t "Non-nil means URLs and e-mail addresses in buffer are fontified.\nBut only if `goto-address-highlight-p' is also non-nil." :type boolean goto-address-highlight-p "Non-nil means URLs and e-mail addresses in buffer are highlighted." goto-address-fontify-maximum-size 30000 "Maximum size of file in which to fontify and/or highlight URLs.\nA value of t means there is no limit--fontify regardless of the size." (choice (integer :tag "Maximum size") (const :tag "No limit" t))] 8) #@59 A regular expression probably matching an e-mail address. (defvar goto-address-mail-regexp "[-a-zA-Z0-9=._+]+@\\([-a-zA-Z0-9_]+\\.\\)+[a-zA-Z0-9]+" (#$ . 1322)) #@150 List of URI schemes to exclude from `goto-address-uri-schemes'. Customizations to this variable made after goto-addr is loaded will have no effect. (defvar goto-address-uri-schemes-ignored '("mailto:" "data:") (#$ . 1490)) #@144 List of URI schemes matched by `goto-address-url-regexp'. Customizations to this variable made after goto-addr is loaded will have no effect. (defvar goto-address-uri-schemes (byte-code "\302\303\304 !#\207" [goto-address-uri-schemes-ignored thing-at-point-uri-schemes seq-reduce #[(accum elt) "\302 \"\207" [elt accum delete] 3] copy-sequence] 5) (#$ . 1721)) #@47 A regular expression probably matching a URL. (defvar goto-address-url-regexp (byte-code "\302\303\304\" Q\207" [goto-address-uri-schemes thing-at-point-url-path-regexp "\\<" regexp-opt t] 4) (#$ . 2091)) #@67 Keymap to hold goto-addr's mouse key defs under highlighted URLs. (defvar goto-address-highlight-keymap (byte-code "\301 \302\303\304#\210\302\305\304#\210)\207" [m make-sparse-keymap define-key [mouse-2] goto-address-at-point " "] 4) (#$ . 2303)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\307&\210\300\313\314\315\304\305\306\307&\210\300\316\317\320\304\305\306\307&\207" [custom-declare-variable goto-address-url-face 'link "Face to use for URLs." :type face :group goto-address goto-address-url-mouse-face 'highlight "Face to use for URLs when the mouse is on them." goto-address-mail-face 'italic "Face to use for e-mail addresses." goto-address-mail-mouse-face 'secondary-selection "Face to use for e-mail addresses when the mouse is on them."] 8) #@60 Remove `goto-address' fontification from the given region. (defalias 'goto-address-unfontify #[(start end) "\304 \"\305\211\205! @\306\n\307\"\203 \310\n!\210A\211\204 \305*\207" [start end overlay --dolist-tail-- overlays-in nil overlay-get goto-address delete-overlay] 4 (#$ . 3108)]) #@144 Fontify the URLs and e-mail addresses in the current buffer. This function implements `goto-address-highlight-p' and `goto-address-fontify-p'. (defalias 'goto-address-fontify #[(&optional start end) "\306\206 e \206 d\"\210\212\307\206 eb\210\307=\204) \206\"