;ELC
|
;;; Compiled
|
;;; in Emacs version 26.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.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\302%\210\312\313\314\315\316DD\317\311\306\320\321&\210\312\322\314\315\323DD\324\311\306\320\321&\210\312\325\314\315\326DD\327\311\306\320\321&\210\312\330\314\315\331DD\332\311\306\320\333&\210\312\334\314\315\335DD\336\311\306\320\333&\210\312\337\314\315\340DD\341\311\306\320\342&\210\312\343\314\315\344DD\345\320\321\311\306&\210\312\346\314\315\347DD\350\320\321\311\306&\207" [require cl-lib helm helm-utils org custom-declare-group helm-org nil "Org related functions for helm." :group custom-declare-variable helm-org-headings-fontify funcall function #[0 "\300\207" [nil] 1] "Fontify org buffers before parsing them.\nThis reflect fontification in helm-buffer when non--nil.\nNOTE: This will be slow on large org buffers." :type boolean helm-org-format-outline-path #[0 "\300\207" [nil] 1] "Show all org level as path." helm-org-show-filename #[0 "\300\207" [nil] 1] "Show org filenames in `helm-org-agenda-files-headings' when non--nil.\nNote this have no effect in `helm-org-in-buffer-headings'." helm-org-headings-min-depth #[0 "\300\207" [1] 1] "Minimum depth of org headings to start with." integer helm-org-headings-max-depth #[0 "\300\207" [8] 1] "Go down to this maximum depth of org headings." helm-org-headings-actions #[0 "\300\207" [(("Go to heading" . helm-org-goto-marker) ("Open in indirect buffer `C-c i'" . helm-org--open-heading-in-indirect-buffer) ("Refile heading(s) (marked-to-selected|current-to-selected) `C-c w`" . helm-org--refile-heading-to) ("Insert link to this heading `C-c l`" . helm-org-insert-link-to-heading-at-marker))] 1] "Default actions alist for\n `helm-source-org-headings-for-files'." (alist :key-type string :value-type function) helm-org-truncate-lines #[0 "\300\207" [t] 1] "Truncate org-header-lines when non-nil" helm-org-ignore-autosaves #[0 "\300\207" [nil] 1] "Ignore autosave files when starting `helm-org-agenda-files-headings'."] 8)
|
(defalias 'helm-source-org-capture-templates #[0 "\301\302\303\304\305\211:\203! @\262A@@BB\262A\262\202 \211\237\266\203\306\307&\207" [org-capture-templates helm-make-source "Org Capture Templates:" helm-source-sync :candidates nil :action (("Do capture" lambda (template-shortcut) (org-capture nil template-shortcut)))] 9])
|
#@15
|
|
(fn MARKER)
|
(defalias 'helm-org-goto-marker #[257 "\300\301!!\210\302!b\210\303 \210\304\305\306\307#\210\310 \207" [switch-to-buffer marker-buffer marker-position org-show-context re-search-backward "^\\*+ " nil t org-show-entry] 5 (#$ . 2738)])
|
#@15
|
|
(fn MARKER)
|
(defalias 'helm-org--open-heading-in-indirect-buffer #[257 "\300!\210\301 \210\302\303\304\305 A\305 @\"\"\207" [helm-org-goto-marker org-tree-to-indirect-buffer set-window-prev-buffers nil append window-prev-buffers] 6 (#$ . 2995)])
|
#@50 Open selected Org heading in an indirect buffer.
|
(defalias 'helm-org-run-open-heading-in-indirect-buffer #[0 "\203 \301\302!\207\303\304!\207" [helm-alive-p helm-exit-and-execute-action helm-org--open-heading-in-indirect-buffer error "Running helm command outside of context"] 2 (#$ . 3250) nil])
|
(put 'helm-org-run-open-heading-in-indirect-buffer 'helm-only t)
|
#@50 Keymap for `helm-source-org-headings-for-files'.
|
(defvar helm-org-headings-map (byte-code "\301 \302\"\210\303\304\305#\210\303\306\307#\210\303\310\311#\210\211\207" [helm-map make-sparse-keymap set-keymap-parent define-key "i" helm-org-run-open-heading-in-indirect-buffer "w" helm-org-run-refile-heading-to "l" helm-org-run-insert-link-to-heading-at-marker] 5) (#$ . 3620))
|
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias helm-org-headings-class-p eieio-make-class-predicate helm-org-headings-class helm-org-headings-class--eieio-childp eieio-make-child-predicate helm-org-headings-class-child-p make-obsolete "use (cl-typep ... \\='helm-org-headings-class) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (helm-source-sync) ((parents :initarg :parents :initform nil :custom boolean) (match :initform (lambda (candidate) (string-match helm-pattern (helm-aif (get-text-property 0 'helm-real-display candidate) it candidate)))) (help-message :initform 'helm-org-headings-help-message) (action :initform 'helm-org-headings-actions) (keymap :initform 'helm-org-headings-map) (group :initform 'helm-org)) nil] 6)
|
#@80 Create a new object of class type `helm-org-headings-class'.
|
|
(fn &rest SLOTS)
|
(defalias 'helm-org-headings-class #[128 "\300\301\302#\207" [apply make-instance helm-org-headings-class] 5 (#$ . 4879)])
|
(byte-code "\300\301\302\303#\300\207" [function-put helm-org-headings-class compiler-macro helm-org-headings-class--anon-cmacro] 4)
|
#@26
|
|
(fn WHOLE &rest SLOTS)
|
(defalias 'helm-org-headings-class--anon-cmacro #[385 "\211@;\204 \207\300\301\302@@#@\303@DABB\"\207" [macroexp--warn-and-return format "Obsolete name arg %S to constructor %S" identity] 7 (#$ . 5221)])
|
(byte-code "\300\301\302\301\303\"\"\210\304\301\305\306\307$\207" [eieio--defalias helm--setup-source eieio--defgeneric-init-form nil eieio--defmethod :after helm-org-headings-class #[257 "\300\301\"\302\303\304\305\306\307\310 !\311\"\312\313%#\262\207" [slot-value parents eieio-oset candidate-transformer make-byte-code 257 "\301\300\"\300\203 \211\237\202 \211\207" vconcat vector [helm-org-get-candidates] 4 "\n\n(fn CANDIDATES)"] 12 "\n\n(fn SOURCE)"]] 5)
|
#@36
|
|
(fn FILENAMES &optional PARENTS)
|
(defalias 'helm-source-org-headings-for-files #[513 "\300\301\302\303\304\305\306 &\207" [helm-make-source "Org Headings" helm-org-headings-class :filtered-candidate-transformer helm-org-startup-visibility :parents :candidates] 11 (#$ . 5934)])
|
#@184 Indent headings and hide leading stars displayed in the helm buffer.
|
If `org-startup-indented' and `org-hide-leading-stars' are nil, do
|
nothing to CANDIDATES.
|
|
(fn CANDIDATES SOURCE)
|
(defalias 'helm-org-startup-visibility #[514 "\306\211:\203\307 @\262\204 \203 @AB\202\274 \n\2032 \307\310@\"\205\271 \311\312\313\306@$\202\271 \307\310@\"\205\271 \314 r\315!\203G \206J p\211q\210\f\203~ \203~ r\316 q\210\317\320!\210\321\322!\210\311\323\324\325\311\326\313\306\n@$\327\330D#\"\313\306@$)\202\266 \f\204\250 \203\250 r\316 q\210\311\323\324\325\311\326\313\306\n@$\327\330D#\"\313\306@$)\202\266 r\316 q\210\311\312\313\306@$))\262ABB\262A\262\202 \211\237\207" [helm-org-show-filename helm-org-format-outline-path helm-org-headings-fontify helm-current-buffer org-startup-indented org-hide-leading-stars nil string-match "^\\(\\**\\)\\(\\* \\)\\(.*\n?\\)" replace-match "\\1\\2\\3" t org-find-invisible-foreground buffer-live-p helm-buffer-get require org-indent org-indent-mode 1 format "%s\\2\\3" propertize "\\1" face :foreground] 15 (#$ . 6225)])
|
#@36
|
|
(fn FILENAMES &optional PARENTS)
|
(defalias 'helm-org-get-candidates #[513 "\300\301\302\303\304\305\306\307!\310\"\311\312%\"\"\207" [apply append mapcar make-byte-code 257 "\303 \300\206 |