?
Current Path : /usr/share/emacs/24.3/lisp/org/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/org/org-irc.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:07:35 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/org/org-irc.el ;;; in Emacs version 24.3.1 ;;; 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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'org) #@27 The IRC client to act on. (defvar org-irc-client 'erc (#$ . 569)) #@75 Non-nil will store a link to the logs, nil will store an irc: style link. (defvar org-irc-link-to-logs nil (#$ . 641)) (byte-code "\300\301\302\"\210\303\304\305\306#\207" [add-to-list org-store-link-functions org-irc-store-link org-add-link-type "irc" org-irc-visit nil] 4) #@76 Parse LINK and dispatch to the correct function based on the client found. (defalias 'org-irc-visit #[(link) "\302! \303=\203 \304!\202 \305\306!)\207" [link org-irc-client org-irc-parse-link erc org-irc-visit-erc error "ERC only known client"] 2 (#$ . 922)]) #@211 Parse an IRC LINK and return the attributes found. Parse a LINK that looks like server:port/chan/user (port, chan and user being optional) and return any of the port, channel or user attributes that are found. (defalias 'org-irc-parse-link #[(link) "\303\304\305#\211G\211\306W\204 \n\307V\203 \310\311\n\"\210 \303 @\312\305#\240\210 *\207" [link parts len split-string "/" t 1 3 error "Failed to parse link needed 1-3 parts, got %d" ":"] 6 (#$ . 1194)]) #@73 Dispatch to the appropriate function to store a link to an IRC session. (defalias 'org-irc-store-link #[nil "\301=\205 \302 \207" [major-mode erc-mode org-irc-erc-store-link] 2 (#$ . 1661)]) #@179 Remove unnecessary white space from STRING and add ellipses if necessary. Strip starting and ending white space from STRING and replace any chars that the value AFTER with '...' (defalias 'org-irc-elipsify-description #[(string &optional after) "\303\206 \304!\305\306B\307\306B\310\311Q\312BE\313\314 \"\210\n*\207" [after replace-map string number-to-string 30 "^[ ]*" "" "[ ]*$" "^\\(.\\{" "\\}\\).*" "\\1..." mapc #[(x) "\302@ \"\205 \303A\304\211 $\211\207" [x string string-match replace-match nil] 5]] 5 (#$ . 1861)]) #@252 Find the best line to link to from the ERC logs given ERC-LINE as a start. If the user is on the ERC-prompt then search backward for the first non-blank line, otherwise return the current line. The result is a cons of the filename and search string. (defalias 'org-irc-erc-get-line-from-log #[(erc-line) "\302 \210\303\304!\210r\305\306 !q\210db\210\307! \310 \230\2030 \311 b\210\312\313\314\315#\205>