From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header? Date: Tue, 11 Mar 2014 20:18:42 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2a120019f0904f458c091 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNRGJ-0007oh-3F for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 14:18:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNRGF-0000ml-Ke for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 14:18:47 -0400 Received: from mail-oa0-x230.google.com ([2607:f8b0:4003:c02::230]:53420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNRGF-0000mU-Dd for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 14:18:43 -0400 Received: by mail-oa0-f48.google.com with SMTP id m1so8903038oag.7 for ; Tue, 11 Mar 2014 11:18:42 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Oleh Cc: org mode --001a11c2a120019f0904f458c091 Content-Type: text/plain; charset=ISO-8859-1 I can post the code on github if anyone's interested in the details. yes please :) thx! Z On Tue, Mar 11, 2014 at 5:09 PM, Oleh wrote: > > > On Tue, Mar 4, 2014 at 6:19 PM, Xebar Saram 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 --001a11c2a120019f0904f458c091 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I can post the code on github if anyone's interested i= n the details.

yes please :)


thx!

Z

On Tue,= Mar 11, 2014 at 5:09 PM, Oleh <o= hwoeowho@gmail.com> wrote:
>
> > On Tue, Mar 4, 2014 at 6:19 PM, Xebar Saram <zeltakc@gmail.com> wrote:
> >= Thx Oleh
> > =A0you said you dont refile much latley, is there a = better solution ;-)
>
>
> There is, actually.
> It's quite simple: cap= ture all the tasks into the proper place right away,
> instead of dum= ping them into one place and sorting out later.
>
> Firstly, th= ere's capturing into project.
> A project is just a heading at gtd.org/Projects/project-name.
> Once a task is in a pr= oject, there's rarely any need to refile it.
> I tag each task wi= th the project tag anyway, just in case.
> The project setup is a list entry like this:
>
> =A0 =A0 &= #39;("TINY" "y" "tiny.el")
>
> Th= at's the tag, key binding and heading name. I push this data into
&g= t; `org-capture-templates`.
> Now I can capture into project gtd.org/Projects/tiny.el with "C-- y".
>
> S= econdly, 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:
>
> =A0 =A0 (setq org-protocol-d= efault-template-key "l")
> =A0 =A0 (push '("l"= ; "Link" entry (function org-handle-link)
> =A0 =A0 =A0 =A0 =A0 =A0 "* TODO %(org-wash-link)\nAdded: %U\n%(or= g-link-hooks)\n%?")
> =A0 =A0 =A0 =A0 =A0 org-capture-templates)=
>
> `org-handle-link` will distinguish:
>
> 1. Lin= ks for StackOverflow questions, putting them in wiki/stack.org/Questions.
> 2. Links to YouTube, downloading the video with `youtube-dl` and inclu= ding both
> =A0 =A0the link to the original and the downloaded videos= in the captured item.
> =A0 =A0I highly recommend `youtube-dl`: watc= hing videos in vlc compared to firefox
> =A0 =A0is like editing in Emacs compared to gedit:)
> 3. All the= rest will be dumped into ent.org/Artic= les.
>
> `org-wash-link` currently just strips the unnecess= ary " - 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 c= an post the code on github if anyone's interested in the details.
&g= t;
> regards,
> Oleh
--001a11c2a120019f0904f458c091--