Skip to content

Commit

Permalink
orca.el (orca-handler-list): Change capture priority
Browse files Browse the repository at this point in the history
Attempt to capture into a Project, then into Tasks, then everything else.
  • Loading branch information
abo-abo committed Dec 16, 2020
1 parent 3f46248 commit e2a20d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions orca.el
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@
(entor (expand-file-name "wiki/ent.org" orca-org-directory))
(stack (expand-file-name "wiki/stack.org" orca-org-directory))
(github (expand-file-name "wiki/github.org" orca-org-directory)))
`((orca-handler-match-url "https://\\(?:www\\.\\)?\\(?:old\\.\\)?reddit.com/r/emacs" ,emacs "\\* Reddit")
`((orca-handler-project)
(orca-handler-current-buffer "\\* Tasks")
(orca-handler-match-url "https://\\(?:www\\.\\)?\\(?:old\\.\\)?reddit.com/r/emacs" ,emacs "\\* Reddit")
(orca-handler-match-url "https://\\(?:www\\.\\)?\\(?:old\\.\\)?reddit.com/r/" ,reddit "\\* Posts")
(orca-handler-match-url "https://emacs.stackexchange.com/" ,emacs "\\* Questions")
(orca-handler-match-url "http://stackoverflow.com/" ,stack "\\* Questions")
(orca-handler-match-url "https://git\\(?:hub\\|lab\\).com/[^/]+/[^/]+/?\\'" ,github "\\* Repos")
(orca-handler-project)
(orca-handler-current-buffer "\\* Tasks")
(orca-handler-file ,entor "\\* Articles")))
"List of handlers by priority.
Expand Down

0 comments on commit e2a20d6

Please sign in to comment.