%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/gnus/ |
Current File : //usr/local/share/emacs/27.2/lisp/gnus/nndiary.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 "\304\305!\210\304\306!\210\304\307!\210\304\310!\210\304\311!\210\312\313\314\315\316\317\320\321&\210\322\323\324\325\320\313\320\326\327\330& \210\322\331\332\333\320\313\320\334\327\335& \210\322\336\337\340\320\313\327\341&\210\322\342\314\343\327\344\320\313&\210\345\346\347\314#\210\350\314\211\203{ @\346N\203t \347N\204t \351\347\346N#\210 A\211\204] *\352\346\347\353#\210\322\347\314\354\320\313\327\355&\210\345\356\357\314#\210\350\314\211\203\271 @\356N\203\262 \357N\204\262 \351\357\356N#\210 A\211\204\233 *\352\356\357\353#\210\322\357\314\360\320\313\327\355&\210\345\361\362\314#\210\350\314\211\203\367 @\361N\203\360 \362N\204\360 \351\362\361N#\210 A\211\204\331 *\352\361\362\353#\210\322\362\314\363\320\313\327\355&\210\322\364\365\366\320\313\327\344&\210\313\n\236\203'\313\n\236A\367\370\314\"\240\210\2022\313\367\370\314\"\314\211F\nB\313\236\204>\313\371DB\314\207" [prop --dolist-tail-- nnoo-definition-alist nnoo-state-alist require nnoo nnheader nnmail gnus-start gnus-sum custom-declare-group nndiary nil "The Gnus Diary back end." :version "22.1" :group gnus-diary custom-declare-variable nndiary-mail-sources `((file :path ,(expand-file-name "~/.nndiary"))) "NNDiary specific mail sources.\nThis variable is used by nndiary in place of the standard `mail-sources'\nvariable when `nndiary-get-new-mail' is set to non-nil. These sources\nmust contain diary messages ONLY." mail-source :type sexp nndiary-split-methods '(("diary" "")) "NNDiary specific split methods.\nThis variable is used by nndiary in place of the standard\n`nnmail-split-methods' variable when `nndiary-get-new-mail' is set to\nnon-nil." nnmail-split (choice (repeat :tag "Alist" (group (string :tag "Name") regexp)) (function-item nnmail-split-fancy) (function :tag "Other")) nndiary-reminders '((0 . day)) "Different times when you want to be reminded of your appointments.\nDiary articles will appear again, as if they'd been just received.\n\nEntries look like (3 . day) which means something like \"Please\nHortense, would you be so kind as to remind me of my appointments 3 days\nbefore the date, thank you very much. Anda, hmmm... by the way, are you\ndoing anything special tonight ?\".\n\nThe units of measure are `minute' `hour' `day' `week' `month' and `year' (no,\nnot `century', sorry).\n\nNOTE: the units of measure actually express dates, not durations: if you\nuse `week', messages will pop up on Sundays at 00:00 (or Mondays if\n`nndiary-week-starts-on-monday' is non-nil) and *not* 7 days before the\nappointment, if you use `month', messages will pop up on the first day of\neach months, at 00:00 and so on.\n\nIf you really want to specify a duration (like 24 hours exactly), you can\nuse the equivalent in minutes (the smallest unit). A fuzz of 60 seconds\nmaximum in the reminder is not that painful, I think. Although this\nscheme might appear somewhat weird at a first glance, it is very powerful.\nIn order to make this clear, here are some examples:\n\n- (0 . day): this is the default value of `nndiary-reminders'. It means\n pop up the appointments of the day each morning at 00:00.\n\n- (1 . day): this means pop up the appointments the day before, at 00:00.\n\n- (6 . hour): for an appointment at 18:30, this would pop up the\n appointment message at 12:00.\n\n- (360 . minute): for an appointment at 18:30 and 15 seconds, this would\n pop up the appointment message at 12:30." (repeat (cons :format "%v\n" (integer :format "%v") (choice :format "%[%v(s)%] before...\n" :value day (const :format "%v" minute) (const :format "%v" hour) (const :format "%v" day) (const :format "%v" week) (const :format "%v" month) (const :format "%v" year)))) nndiary-week-starts-on-monday "Whether a week starts on monday (otherwise, sunday)." boolean defvaralias nndiary-request-create-group-hooks nndiary-request-create-group-functions (saved-value saved-variable-comment) put make-obsolete-variable "24.3" "Hook run after `nndiary-request-create-group' is executed.\nThe hook functions will be called with the full group name as argument." hook nndiary-request-update-info-hooks nndiary-request-update-info-functions "Hook run after `nndiary-request-update-info' is executed.\nThe hook functions will be called with the full group name as argument." nndiary-request-accept-article-hooks nndiary-request-accept-article-functions "Hook run before accepting an article.\nExecuted near the beginning of `nndiary-request-accept-article'.\nThe hook functions will be called with the article in the current buffer." nndiary-check-directory-twice t "If t, check directories twice to avoid NFS failures." mapcar list "*internal-non-initialized-backend*"] 11) #@115 Spool directory for the nndiary back end. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nndiary-directory (nnheader-concat gnus-directory "diary/") (#$ . 5142)) (nnoo-define 'nndiary-directory nil) #@111 Active file for the nndiary back end. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nndiary-active-file (expand-file-name "active" nndiary-directory) (#$ . 5381)) (nnoo-define 'nndiary-active-file nil) #@127 Newsgroups description file for the nndiary back end. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nndiary-newsgroups-file (expand-file-name "newsgroups" nndiary-directory) (#$ . 5624)) (nnoo-define 'nndiary-newsgroups-file nil) #@312 Whether nndiary gets new mail and split it. Contrary to traditional mail back ends, this variable can be set to t even if your primary mail back end also retrieves mail. In such a case, NDiary uses its own mail-sources and split-methods. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nndiary-get-new-mail nil (#$ . 5895)) (nnoo-define 'nndiary-get-new-mail nil) #@519 If non-nil, Gnus will never use nov databases for nndiary groups. Using nov databases will speed up header fetching considerably. This variable shouldn't be flipped much. If you have, for some reason, set this to t, and want to set it to nil again, you should always run the `nndiary-generate-nov-databases' command. The function will go through all nnml directories and generate nov databases for them all. This may very well take some time. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nndiary-nov-is-evil nil (#$ . 6299)) (nnoo-define 'nndiary-nov-is-evil nil) #@120 Hook run narrowed to an article before saving. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nndiary-prepare-save-mail-hook nil (#$ . 6908)) (nnoo-define 'nndiary-prepare-save-mail-hook nil) #@101 If non-nil, inhibit expiry. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nndiary-inhibit-expiry nil (#$ . 7140)) (nnoo-define 'nndiary-inhibit-expiry nil) #@33 Current Diary back end version. (defconst nndiary-version "0.2-b14" (#$ . 7336)) #@33 Current Diary back end version. (defalias 'nndiary-version #[nil "\301\302\"\207" [nndiary-version message "NNDiary version %s"] 3 (#$ . 7423) nil]) (defvar nndiary-nov-file-name ".overview") (nnoo-define 'nndiary-nov-file-name nil) (defvar nndiary-current-directory nil) (nnoo-define 'nndiary-current-directory nil) (defvar nndiary-current-group nil) (nnoo-define 'nndiary-current-group nil) (defvar nndiary-status-string "") (nnoo-define 'nndiary-status-string nil) (defvar nndiary-nov-buffer-alist nil) (nnoo-define 'nndiary-nov-buffer-alist nil) (defvar nndiary-group-alist nil) (nnoo-define 'nndiary-group-alist nil) (defvar nndiary-active-timestamp nil) (nnoo-define 'nndiary-active-timestamp nil) (defvar nndiary-article-file-alist nil) (nnoo-define 'nndiary-article-file-alist nil) (defvar nndiary-generate-active-function 'nndiary-generate-active-info) (nnoo-define 'nndiary-generate-active-function nil) (defvar nndiary-nov-buffer-file-name nil) (nnoo-define 'nndiary-nov-buffer-file-name nil) (defvar nndiary-file-coding-system nnmail-file-coding-system) (nnoo-define 'nndiary-file-coding-system nil) (defconst nndiary-headers '(("Minute" 0 59) ("Hour" 0 23) ("Dom" 1 31) ("Month" 1 12) ("Year" 1971) ("Dow" 0 6) ("Time-Zone" (("Y" -43200) ("X" -39600) ("W" -36000) ("V" -32400) ("U" -28800) ("PST" -28800) ("T" -25200) ("MST" -25200) ("PDT" -25200) ("S" -21600) ("CST" -21600) ("MDT" -21600) ("R" -18000) ("EST" -18000) ("CDT" -18000) ("Q" -14400) ("AST" -14400) ("EDT" -14400) ("P" -10800) ("ADT" -10800) ("O" -7200) ("N" -3600) ("Z" 0) ("GMT" 0) ("UT" 0) ("UTC" 0) ("WET" 0) ("A" 3600) ("CET" 3600) ("MET" 3600) ("MEZ" 3600) ("BST" 3600) ("WEST" 3600) ("B" 7200) ("EET" 7200) ("CEST" 7200) ("MEST" 7200) ("MESZ" 7200) ("C" 10800) ("D" 14400) ("E" 18000) ("F" 21600) ("G" 25200) ("H" 28800) ("I" 32400) ("JST" 32400) ("K" 36000) ("GST" 36000) ("L" 39600) ("M" 43200) ("NZST" 43200) ("NZDT" 46800))))) (defalias 'nndiary-schedule #[nil "\303\3041 \305\306 \"0\202 \307\310\311\nA$\210)\303)\207" [head nndiary-headers arg nil (error) mapcar #[(elt) "@\302@A@\3038#\207" [elt head nndiary-parse-schedule 2] 5] nnheader-report nndiary "X-Diary-%s header parse error: %s."] 5]) (byte-code "\300\301\302\303#\210\304\305!\207" [put nndiary-schedule byte-optimizer byte-compile-inline-expand nnoo-define-basics-1 nndiary] 4) (defalias 'nndiary-retrieve-headers #[(sequence &optional group server fetch-old) "\306 \"\205\327 r\nq\210\307 \210\310\fG\311 !\"\310\211#$%\2050 &\247?\2060 &X%\f@;\203<