?
Current Path : /usr/share/emacs/24.3/lisp/mail/ |
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/mail/reporter.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:43 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/mail/reporter.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@518 Interface variable controlling prompting for problem summary. When non-nil, `reporter-submit-bug-report' prompts the user for a brief summary of the problem, and puts this summary on the Subject: line. If this variable is a string, that string is used as the prompt string. Default behavior is to not prompt (i.e. nil). If you want reporter to prompt, you should `let' bind this variable before calling `reporter-submit-bug-report'. Note that this variable is not buffer-local so you should never just `setq' it. (defvar reporter-prompt-for-summary-p nil (#$ . 557)) #@566 Interface variable controlling compacting of list values. When non-nil, this must be a list of variable symbols. When a variable containing a list value is formatted in the bug report mail buffer, it normally is compacted so that its value fits one the fewest number of lines. If the variable's symbol appears in this list, its value is printed in a more verbose style, specifically, one elemental sexp per line. Note that this variable is not buffer-local so you should never just `setq' it. If you want to changes its default value, you should `let' bind it. (defvar reporter-dont-compact-list nil (#$ . 1135)) #@184 Buffer to retrieve variable's value from. This is necessary to properly support the printing of buffer-local variables. Current buffer will always be the mail buffer being composed. (defvar reporter-eval-buffer nil (#$ . 1759)) #@57 The automatically created initial text of a bug report. (defvar reporter-initial-text nil (#$ . 1994)) (make-variable-buffer-local 'reporter-initial-text) (defvar reporter-status-message nil) (defvar reporter-status-count nil) #@39 Periodically output a status message. (defalias 'reporter-update-status #[nil "\302\303\246!\203 \304\305 \"\210 \306PT\211\207" [reporter-status-count reporter-status-message zerop 10 message "%s" "."] 3 (#$ . 2227)]) #@22 Pretty print a list. (defalias 'reporter-beautify-list #[(maxwidth compact-p) "\305 \210\306\307\211\211\211\307\310\311\217-\207" [here indent-p indent-enclosing-p linebreak move reporter-update-status t nil (byte-code "\306\307!\210\310 \203S `\311`\307\"\211b\210iX\203D \f\203) \fb\210\312 \210\313\202 \nb\210\314 \"\nb\210\315\307!\210\203 \312 \210\202 \203M `\202 \312 \210\202 \310\207" [indent-enclosing-p move here maxwidth linebreak compact-p down-list 1 t scan-sexps newline-and-indent nil reporter-beautify-list forward-sexp indent-p] 4) ((error indent-enclosing-p))] 5 (#$ . 2457)]) #@52 A better lisp indentation style for bug reporting. (defalias 'reporter-lisp-indent #[(indent-point state) "\212A@Tb\210i)\207" [state] 1 (#$ . 3083)]) #@101 Pretty-print the value of the variable in symbol VARSYM. MAILBUF is the mail buffer being composed. (defalias 'reporter-dump-variable #[(varsym mailbuf) "\300 \210\301\302\303\217\207" [reporter-update-status nil (byte-code "rq\210 J)\306 !\307\310 S`\311 \312\313>\203# \314\2028 <\203- \315\2028 9\2037 \315\2028 \314\316!\261\210\317 \210\203h <\203h iX\203h \212 >?\320\nb\210\321\"\210+\322c-\207" [reporter-eval-buffer varsym here maxwidth print-escape-newlines sym symbol-name t window-width " " " " (t nil) #1="" "'" prin1-to-string lisp-indent-line reporter-lisp-indent reporter-beautify-list "\n" val reporter-dont-compact-list lisp-indent-function compact-p] 6) ((void-variable (byte-code "rq\210\302\303!\210\304\210\305 !\306\261)\207" [mailbuf varsym mail-position-on-field "X-Reporter-Void-Vars-Found" nil symbol-name " "] 2)) (error (error #1#)))] 3 (#$ . 3242)]) #@1136 Dump the state of the mode specific variables. PKGNAME contains the name of the mode as it will appear in the bug report (you must explicitly concat any version numbers). VARLIST is the list of variables to dump. Each element in VARLIST can be a variable symbol, or a cons cell. If a symbol, this will be passed to `reporter-dump-variable' for insertion into the mail buffer. If a cons cell, the car must be a variable symbol and the cdr must be a function which will be `funcall'd with arguments the symbol and the mail buffer being composed. Use this to write your own custom variable value printers for specific variables. Note that the global variable `reporter-eval-buffer' will be bound to the buffer in which `reporter-submit-bug-report' was invoked. If you want to print the value of a buffer local variable, you should wrap the `eval' call in your custom printer inside a `set-buffer' (and probably a `save-excursion'). `reporter-dump-variable' handles this properly. PRE-HOOKS is run after the Emacs version and PKGNAME are inserted, but before the VARLIST is dumped. POST-HOOKS is run after the VARLIST is dumped. (defalias 'reporter-dump-state #[(pkgname varlist pre-hooks post-hooks) "p\211q\210\303\304 \305\261\210 \203 \306 \305\261\210\307\310!\210\n\203&