From: Oleh <ohwoeowho@gmail.com>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?
Date: Tue, 11 Mar 2014 16:09:39 +0100 [thread overview]
Message-ID: <CAA01p3ocg=+Lab9zjCDOTU9JC2jVHQuCZP=+kYzeoD1r31wsXA@mail.gmail.com> (raw)
In-Reply-To: <CAOQHXPo8Tpk8q2=zr=0Fm7p_8OPWmDED+LQ151nG7gxoJy6utQ@mail.gmail.com>
> On Tue, Mar 4, 2014 at 6:19 PM, Xebar Saram <zeltakc@gmail.com> wrote:
> Thx Oleh
> you said you dont refile much latley, is there a better solution ;-)
There is, actually.
It's quite simple: capture all the tasks into the proper place right away,
instead of dumping them into one place and sorting out later.
Firstly, there's capturing into project.
A project is just a heading at gtd.org/Projects/project-name.
Once a task is in a project, there's rarely any need to refile it.
I tag each task with the project tag anyway, just in case.
The project setup is a list entry like this:
'("TINY" "y" "tiny.el")
That's the tag, key binding and heading name. I push this data into
`org-capture-templates`.
Now I can capture into project gtd.org/Projects/tiny.el with "C-- y".
Secondly, there's a special capture for pdf files, I've posted it on
the list before.
Thirdly, there are captures from `org-protocol`. I have this setup:
(setq org-protocol-default-template-key "l")
(push '("l" "Link" entry (function org-handle-link)
"* TODO %(org-wash-link)\nAdded: %U\n%(org-link-hooks)\n%?")
org-capture-templates)
`org-handle-link` will distinguish:
1. Links for StackOverflow questions, putting them in wiki/stack.org/Questions.
2. Links to YouTube, downloading the video with `youtube-dl` and including both
the link to the original and the downloaded videos in the captured item.
I highly recommend `youtube-dl`: watching videos in vlc compared to firefox
is like editing in Emacs compared to gedit:)
3. All the rest will be dumped into ent.org/Articles.
`org-wash-link` currently just strips the unnecessary " - Stack
Overflow" from the link description, since the task is already in
wiki/stack.org/Questions. It's possible to add other rules per website
of course.
Hopefully some of the described tricks are useful.
I can post the code on github if anyone's interested in the details.
regards,
Oleh
next prev parent reply other threads:[~2014-03-11 15:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 15:43 advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header? Xebar Saram
2014-03-04 15:49 ` Oleh
2014-03-04 17:19 ` Xebar Saram
2014-03-11 15:09 ` Oleh [this message]
2014-03-11 18:18 ` Xebar Saram
2014-03-11 19:20 ` Oleh
2014-03-11 13:37 ` Yasushi SHOJI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA01p3ocg=+Lab9zjCDOTU9JC2jVHQuCZP=+kYzeoD1r31wsXA@mail.gmail.com' \
--to=ohwoeowho@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=zeltakc@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.