%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/obsolete/ |
Current File : //usr/local/share/emacs/27.2/lisp/obsolete/pgg.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\304\"\210\306\310\311\"\207" [require pgg-def pgg-parse autoload run-at-time "timer" defalias pgg-run-at-time pgg-cancel-timer cancel-timer] 3) (defalias 'pgg-invoke #[(func scheme &rest args) "\303\304\305\306\"!!\210\307\310\304\305\311 #!\n#\207" [scheme func args require intern format "pgg-%s" apply funcall "pgg-%s-%s"] 7]) (put 'pgg-save-coding-system 'lisp-indent-function 2) (defalias 'pgg-save-coding-system '(macro . #[(start end &rest body) "\303\304\305\306\307\305\310\311\312 F\313\314\315\nB\316BB\257DE\317\320 E\nBBF\207" [start end body if (called-interactively-p 'interactive) let ((buffer (current-buffer))) with-temp-buffer (buffer-undo-list) insert-buffer-substring buffer (encode-coding-region (point-min) (point-max) buffer-file-coding-system) prog1 save-excursion ((push nil buffer-undo-list) (ignore-errors (undo))) save-restriction narrow-to-region] 12])) (defalias 'pgg-temp-buffer-show-function #[(buffer) "\302\303\"\206 \304 \305 \"\210\306 !)\207" [buffer window get-buffer-window visible split-window-vertically set-window-buffer shrink-window-if-larger-than-buffer] 3]) #@182 Situate en/decryption results or pop up an error buffer. Text from START to END is replaced by contents of output buffer if STATUS is true, or else the output buffer is displayed. (defalias 'pgg-display-output-buffer #[(start end status) "\203 \303 \n\"\207\304 \207" [status start end pgg-situate-output pgg-display-error-buffer] 3 (#$ . 1588)]) #@72 Place en/decryption result in place of current text from START to END. (defalias 'pgg-situate-output #[(start end) " |\210\304\n!\210\305`#\207" [start end pgg-output-buffer buffer-file-coding-system insert-buffer-substring decode-coding-region] 4 (#$ . 1944)]) #@76 Pop up an error buffer indicating the reason for an en/decryption failure. (defalias 'pgg-display-error-buffer #[nil "\306 r\307!q\210p\310 \210\n\311\211\312\211\312\313 \210\314\315!\210+\211\211q\210\316!\317!\210,\207" [temp-buffer-show-function default-directory #1=#:old-dir pgg-echo-buffer buffer-read-only buffer-file-name pgg-temp-buffer-show-function get-buffer-create kill-all-local-variables nil t erase-buffer run-hooks temp-buffer-setup-hook insert-buffer-substring internal-temp-output-buffer-show buffer-undo-list inhibit-modification-hooks inhibit-read-only #2=#:buf standard-output pgg-errors-buffer] 4 (#$ . 2215)]) (defvar pgg-passphrase-cache (make-vector 7 0)) #@193 Hash table for managing scheduled pgg cache management timers. We associate key and timer, so the timer can be canceled if a new timeout for the key is set while an old one is still pending. (defvar pgg-pending-timers (make-vector 7 0) (#$ . 2925)) #@247 Using PROMPT, obtain passphrase for KEY from cache or user. Truncate the key to 8 trailing characters unless NOTRUNCATE is true (default false). Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry' regulate cache behavior. (defalias 'pgg-read-passphrase #[(prompt &optional key notruncate) "\303 \"\206\n \304\n!\207" [key notruncate prompt pgg-read-passphrase-from-cache read-passwd] 3 (#$ . 3182)]) #@249 Obtain passphrase for KEY from time-limited passphrase cache. Truncate the key to 8 trailing characters unless NOTRUNCATE is true (default false). Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry' regulate cache behavior. (defalias 'pgg-read-passphrase-from-cache #[(key &optional notruncate) "\205% \205% \n\204 G\304V\203 \305 \306\"\202 \211\205% \307 \"J\207" [pgg-cache-passphrase key notruncate pgg-passphrase-cache 8 substring -8 intern-soft] 3 (#$ . 3614)]) #@251 Associate KEY with PASSPHRASE in time-limited passphrase cache. Truncate the key to 8 trailing characters unless NOTRUNCATE is true (default false). Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry' regulate cache behavior. (defalias 'pgg-add-passphrase-to-cache #[(key passphrase &optional notruncate) "\203 \202 G\306V\203 \307 \310\"\202 \311 \n\"\211J\312\f\203/ \313\f!\210\314\n\"\210\315 \"L\210\315 \n\"\316\312\317 %L,\207" [notruncate key pgg-pending-timers interned-timer-key old-timer new-timer 8 substring -8 intern-soft nil cancel-timer unintern intern pgg-run-at-time pgg-remove-passphrase-from-cache pgg-passphrase-cache passphrase pgg-passphrase-cache-expiry] 8 (#$ . 4122)]) (byte-code "\300\301!\203 \302\303\301\"\210\202 \302\303\304\"\210\300\207" [fboundp clear-string defalias pgg-clear-string #[(string) "\301\302\"\207" [string fillarray 95] 3]] 3) #@420 Omit passphrase associated with KEY in time-limited passphrase cache. Truncate the key to 8 trailing characters unless NOTRUNCATE is true (default false). This is a no-op if there is not entry for KEY (eg, it's already expired. The memory for the passphrase is filled with underscores to clear any references to it. Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry' regulate cache behavior. (defalias 'pgg-remove-passphrase-from-cache #[(key &optional notruncate) "\306 \" \203 \202 G\307V\203 \310\311\"\202 \312\"\211J\n\2033 \313\n!\210\314\"\210 \205? \315 !\210\314\f\",\207" [key notruncate passphrase pgg-pending-timers interned-timer-key old-timer pgg-read-passphrase-from-cache 8 substring -8 intern-soft pgg-clear-string unintern pgg-cancel-timer pgg-passphrase-cache] 4 (#$ . 5053)]) (defalias 'pgg-convert-lbt-region '(macro . #[(start end lbt) "\303\304\305\306EDC\307 D\310\n\311BBF\207" [end start lbt let pgg-conversion-end set-marker (make-marker) goto-char cl-case ((CRLF (while (progn (end-of-line) (> (marker-position pgg-conversion-end) (point))) (insert " ") (forward-line 1))) (LF (while (re-search-forward " $" pgg-conversion-end t) (replace-match ""))))] 6])) (put 'pgg-as-lbt 'lisp-indent-function 3) (defalias 'pgg-as-lbt '(macro . #[(start end lbt &rest body) "\304\305\306 \nF\304 \307BCBB\310BBBB\207" [start end lbt body let ((inhibit-read-only t) buffer-read-only buffer-undo-list) pgg-convert-lbt-region ((point)) ((push nil buffer-undo-list) (ignore-errors (undo)))] 6])) (put 'pgg-process-when-success 'lisp-indent-function 0) (defalias 'pgg-process-when-success '(macro . #[(&rest body) "\301\302\303\304\305\306\307\"BBBE\207" [body with-current-buffer pgg-output-buffer if (zerop (buffer-size)) nil append (t)] 8])) (byte-code "\300\301\302\303!\203\f \303\202 \304\"\207" [defalias pgg-make-temp-file fboundp make-temp-file #[(prefix &optional dir-flag) "\304\305!\306\307!\203 \307 \202 \"\203 \310\n!\210\n)\207" [prefix temporary-file-directory file dir-flag expand-file-name make-temp-name fboundp temp-directory make-directory] 4]] 4) #@229 Encrypt the current region between START and END for RCPTS. If optional argument SIGN is non-nil, do a combined sign and encrypt. If optional PASSPHRASE is not specified, it will be obtained from the passphrase cache or user. (defalias 'pgg-encrypt-region #[(start end rcpts &optional sign passphrase) "\306\307!\203L p\310\311!r q\210\312\216\313\314\f#\210\315ed #\210\212\316\317\206* ed&)\313\nB\3201C \321 0\202G \210\202H \210-\202e \214\f}\210\316\317\206Z ed&)\306\307!\203t \322\f#\210)\207" [buffer #1=#:temp-buffer buffer-undo-list start end buffer-file-coding-system called-interactively-p interactive generate-new-buffer " *temp*" #[nil "\301!\205 \302!\207" [#1# buffer-name kill-buffer] 2] nil insert-buffer-substring encode-coding-region pgg-invoke "encrypt-region" (error) undo pgg-display-output-buffer pgg-scheme pgg-default-scheme rcpts sign passphrase status] 8 (#$ . 7198) (list (region-beginning) (region-end) (split-string (read-string "Recipients: ") "[ ,]+"))]) #@163 Encrypt the current region between START and END symmetric with passphrase. If optional PASSPHRASE is not specified, it will be obtained from the cache or user. (defalias 'pgg-encrypt-symmetric-region #[(start end &optional passphrase) "\306\307!\203G p\310\311!r q\210\312\216\313\314\f#\210\315ed #\210\212\316\317\206* ed%)\313\nB\3201>