| Server IP : 217.160.0.212 / Your IP : 216.73.216.15 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/org/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\312&\210\313\314\315\316\317DD\320\321\322\311\304&\210\313\323\315\316\324DD\325\311\304\321\326&\210\313\327\315\316\330DD\331\311\304\332\333\321\334& \207" [require org-macs org-compat custom-declare-group org-crypt nil "Org Crypt." :tag "Org Crypt" :group org custom-declare-variable org-crypt-tag-matcher funcall function #[0 "\300\207" ["crypt"] 1 #1=""] "The tag matcher used to find headings whose contents should be encrypted.\n\nSee the \"Match syntax\" section of the org manual for more details." :type string org-crypt-key #[0 "\300\207" [#1#] 1 #1#] "The default key to use when encrypting the contents of a heading.\n\nIf this variable is nil, always use symmetric encryption, unconditionally.\n\nOtherwise, The string is matched against all keys in the key ring.\nIn particular, the empty string matches no key. If no key is found,\nlook for the `epa-file-encrypt-to' local variable. Ultimately fall back\nto symmetric encryption.\n\nThis setting can be overridden in the CRYPTKEY property." (choice (string :tag "Public key(s) matching") (const :tag "Symmetric encryption" nil)) org-crypt-disable-auto-save #[0 "\300\207" [ask] 1 #1#] "What org-decrypt should do if `auto-save-mode' is enabled.\n\nt : Disable auto-save-mode for the current buffer\n prior to decrypting an entry.\n\nnil : Leave auto-save-mode enabled.\n This may cause data to be written to disk unencrypted!\n\n`ask' : Ask user whether or not to disable auto-save-mode\n for the current buffer.\n\n`encrypt': Leave auto-save-mode enabled for the current buffer,\n but automatically re-encrypt all decrypted entries\n *before* auto-saving.\n NOTE: This only works for entries which have a tag\n that matches `org-crypt-tag-matcher'." :version "24.1" (choice (const :tag "Always" t) (const :tag "Never" nil) (const :tag "Ask" ask) (const :tag "Encrypt" encrypt))] 10) #@61 Return encrypted text in between BEG and END. (fn BEG END) (defalias 'org-crypt--encrypted-text #[514 "\300\301\302\303\"#\207" [replace-regexp-in-string "^[ ]*" "" buffer-substring-no-properties] 8 (#$ . 2093)]) #@158 Is the current entry encrypted? When the entry is encrypted, return a pair (BEG . END) where BEG and END are buffer positions delimiting the encrypted area. (defalias 'org-at-encrypted-entry-p #[0 "\212\214~\210\301 ?\2051 \302\303!\210\304\305!\210\306\307\310!\2050 `\311\312\306\303#\205. \313\314!\205. \211\315\316!B\262)*\207" [case-fold-search org-before-first-heading-p org-back-to-heading t org-end-of-meta-data standard nil looking-at "^[ ]*-----BEGIN PGP MESSAGE-----$" re-search-forward "^\\(?:\\([ ]*-----END PGP MESSAGE-----$\\)\\|\\*+ \\)" match-string 1 line-beginning-position 2] 5 (#$ . 2317)]) #@225 Check whether auto-save-mode is enabled for the current buffer. `auto-save-mode' may cause leakage when decrypting entries, so check whether it's enabled, and decide what to do about it. See `org-crypt-disable-auto-save'. (defalias 'org-crypt-check-auto-save #[0 "\205: \302=\204 \303=\203$ \304\305!\203$ \306\307\310 \206 p\"\210\311\312!\207 \313\267\2029 \306\314!\207\306\315!\210\316\317\320\321\302$\207\321\207" [buffer-auto-save-file-name org-crypt-disable-auto-save t ask y-or-n-p "org-decrypt: auto-save-mode may cause leakage. Disable it for current buffer? " message "org-decrypt: Disabling auto-save-mode for %s" buffer-file-name auto-save-mode -1 #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (nil 42 encrypt 46)) "org-decrypt: Decrypting entry with auto-save-mode enabled. This may cause leakage." "org-decrypt: Enabling re-encryption on auto-save." add-hook auto-save-hook #[0 "\300\301!\210\302 \207" [message "org-crypt: Re-encrypting all decrypted entries due to auto-save." org-encrypt-entries] 2] nil] 5 (#$ . 2941)]) #@84 Return the encryption key(s) for the current heading. Assume `epg-context' is set. (defalias 'org-crypt-key-for-heading #[0 "\205\"