%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/thingatpt.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (provide 'thingatpt) #@283 Move forward to the end of the Nth next THING. THING should be a symbol specifying a type of syntactic entity. Possibilities include `symbol', `list', `sexp', `defun', `filename', `url', `email', `uuid', `word', `sentence', `whitespace', `line', and `page'. (fn THING &optional N) (defalias 'forward-thing #[513 "\300N\206\f \301\302\303\"!\304!\203 \211\206 \305!\202 \306\307\"\207" [forward-op intern-soft format "forward-%s" functionp 1 error "Can't determine how to move over a %s"] 6 (#$ . 430)]) #@461 Determine the start and end buffer locations for the THING at point. THING should be a symbol specifying a type of syntactic entity. Possibilities include `symbol', `list', `sexp', `defun', `filename', `url', `email', `uuid', `word', `sentence', `whitespace', `line', and `page'. See the file `thingatpt.el' for documentation on how to define a valid THING. Return a cons cell (START . END) giving the start and end positions of the thing found. (fn THING) (defalias 'bounds-of-thing-at-point #[257 "\211\300N\203 \211\300N \207`\3011\310 \212\302N\206# \303\304\305\306\307!\310\"\311$ \210\312N\2067 \303\304\305\306\307!\313\"\311$ \210`\211X\203i \302N\206R \303\304\305\306\307!\314\"\311$ \210`X\205d W\205d B\262\202\301 b\210\312N\206~ \303\304\305\306\307!\315\"\311$ \210\302N\206\222 \303\304\305\306\307!\316\"\311$ \210`\312N\206\247 \303\304\305\306\307!\317\"\311$ \210`\211X\205\277 X\205\277 \211W\205\277 \211B\266\202\262)0\202\312 \210\320\207" [bounds-of-thing-at-point (error) end-op make-byte-code 0 "\301\300\302\"\207" vconcat vector [forward-thing 1] 3 beginning-op [forward-thing -1] [forward-thing 1] [forward-thing -1] [forward-thing 1] [forward-thing -1] nil] 10 (#$ . 949)]) #@475 Return the THING at point. THING should be a symbol specifying a type of syntactic entity. Possibilities include `symbol', `list', `sexp', `defun', `filename', `url', `email', `uuid', `word', `sentence', `whitespace', `line', `number', and `page'. When the optional argument NO-PROPERTIES is non-nil, strip text properties from the return value. See the file `thingatpt.el' for documentation on how to define a symbol as a valid THING. (fn THING &optional NO-PROPERTIES) (defalias 'thing-at-point #[513 "\300N\203 \300N \202 \301!\211\205 \211@A{\262\211\2031 \2031 \302!\2031 \303\304G\305$\210\211\207" [thing-at-point bounds-of-thing-at-point sequencep set-text-properties 0 nil] 8 (#$ . 2199)]) #@117 Move point to the beginning of THING. The bounds of THING are determined by `bounds-of-thing-at-point'. (fn THING) (defalias 'beginning-of-thing #[257 "\300!\211\204\f \301\302\"\210\211@b\207" [bounds-of-thing-at-point error "No %s here"] 5 (#$ . 2920)]) #@111 Move point to the end of THING. The bounds of THING are determined by `bounds-of-thing-at-point'. (fn THING) (defalias 'end-of-thing #[257 "\300!\211\204\f \301\302\"\210\211Ab\207" [bounds-of-thing-at-point error "No %s here"] 5 (#$ . 3186)]) (put 'line 'beginning-op #[0 "n\203 \300y\207\301 \207" [-1 beginning-of-line] 1]) #@41 Return non-nil if point is in a string. (defalias 'in-string-p #[0 "`\212\300 \210\301\302`\"8)\207" [beginning-of-defun 3 parse-partial-sexp] 5 (#$ . 3523)]) (make-obsolete 'in-string-p "use (nth 3 (syntax-ppss)) instead." "25.1") #@44 Move point to the end of the current sexp. (defalias 'thing-at-point--end-of-sexp #[0 "\300`!\211\301=\204 \211\302=\203 \303\304 8\203 \305u\202) \3061&