* advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?
@ 2014-03-04 15:43 Xebar Saram
2014-03-04 15:49 ` Oleh
2014-03-11 13:37 ` Yasushi SHOJI
0 siblings, 2 replies; 7+ messages in thread
From: Xebar Saram @ 2014-03-04 15:43 UTC (permalink / raw)
To: org mode
[-- Attachment #1: Type: text/plain, Size: 437 bytes --]
Hi all
i find the normal C-c w then manually choosing a file to allocate each
'capture' pretty slow. i am looking for any advice on workflows you guys
have to make this quicker.
one thing i was thinking of was maybe assigning a hotkey to do a refile to
a specific note/heading. so ill have 5-6 hotkeys to my most common files to
speed things up, can this be done? if so can anyone show my an example of
such a thing?
kind regards
Z.
[-- Attachment #2: Type: text/html, Size: 567 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?
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 13:37 ` Yasushi SHOJI
1 sibling, 1 reply; 7+ messages in thread
From: Oleh @ 2014-03-04 15:49 UTC (permalink / raw)
To: Xebar Saram; +Cc: org mode
I have this in my config, although I don't refile that much lately:
(setq org-refile-targets
'((nil :maxlevel . 3)
(org-agenda-files :maxlevel . 3)))
This should give you an ido choice of all headings up to level 3 in
all your agenda files
as refile targets. Then just give a few headings a unique enough name
and you're done.
regards,
Oleh
On Tue, Mar 4, 2014 at 4:43 PM, Xebar Saram <zeltakc@gmail.com> wrote:
> Hi all
>
> i find the normal C-c w then manually choosing a file to allocate each
> 'capture' pretty slow. i am looking for any advice on workflows you guys
> have to make this quicker.
>
> one thing i was thinking of was maybe assigning a hotkey to do a refile to a
> specific note/heading. so ill have 5-6 hotkeys to my most common files to
> speed things up, can this be done? if so can anyone show my an example of
> such a thing?
>
> kind regards
>
> Z.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?
2014-03-04 15:49 ` Oleh
@ 2014-03-04 17:19 ` Xebar Saram
2014-03-11 15:09 ` Oleh
0 siblings, 1 reply; 7+ messages in thread
From: Xebar Saram @ 2014-03-04 17:19 UTC (permalink / raw)
To: Oleh; +Cc: org mode
[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]
Thx Oleh
you said you dont refile much latley, is there a better solution ;-)
the ido thing is not bad but i really think i preffer key to quick send the
heading to a specific note, is that possible?
best
Z
On Tue, Mar 4, 2014 at 5:49 PM, Oleh <ohwoeowho@gmail.com> wrote:
> I have this in my config, although I don't refile that much lately:
>
> (setq org-refile-targets
> '((nil :maxlevel . 3)
> (org-agenda-files :maxlevel . 3)))
>
> This should give you an ido choice of all headings up to level 3 in
> all your agenda files
> as refile targets. Then just give a few headings a unique enough name
> and you're done.
>
> regards,
> Oleh
>
> On Tue, Mar 4, 2014 at 4:43 PM, Xebar Saram <zeltakc@gmail.com> wrote:
> > Hi all
> >
> > i find the normal C-c w then manually choosing a file to allocate each
> > 'capture' pretty slow. i am looking for any advice on workflows you guys
> > have to make this quicker.
> >
> > one thing i was thinking of was maybe assigning a hotkey to do a refile
> to a
> > specific note/heading. so ill have 5-6 hotkeys to my most common files to
> > speed things up, can this be done? if so can anyone show my an example of
> > such a thing?
> >
> > kind regards
> >
> > Z.
>
[-- Attachment #2: Type: text/html, Size: 1866 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?
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-11 13:37 ` Yasushi SHOJI
1 sibling, 0 replies; 7+ messages in thread
From: Yasushi SHOJI @ 2014-03-11 13:37 UTC (permalink / raw)
To: emacs-orgmode
Hi,
At Tue, 4 Mar 2014 17:43:41 +0200,
Xebar Saram wrote:
>
> i find the normal C-c w then manually choosing a file to allocate each
> 'capture' pretty slow. i am looking for any advice on workflows you
> guys have to make this quicker.
>
> one thing i was thinking of was maybe assigning a hotkey to do a
> refile to a specific note/heading. so ill have 5-6 hotkeys to my most
> common files to speed things up, can this be done? if so can anyone
> show my an example of such a thing?
Nice idea.
A quick grance at `org-refile' in org.el, something like this will do:
(defun org-refile-to-myfile ()
"Refile to myfile.org"
(interactive)
(org-refile nil nil '("my refiling pos" "myfile.org" "" 0)))
The 3rd argument seems to be `(list message file re pos)', but not
sure how `re' and `pos' works. Could someone enlignten me?
--
yashi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?
2014-03-04 17:19 ` Xebar Saram
@ 2014-03-11 15:09 ` Oleh
2014-03-11 18:18 ` Xebar Saram
0 siblings, 1 reply; 7+ messages in thread
From: Oleh @ 2014-03-11 15:09 UTC (permalink / raw)
To: Xebar Saram; +Cc: org mode
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?
2014-03-11 15:09 ` Oleh
@ 2014-03-11 18:18 ` Xebar Saram
2014-03-11 19:20 ` Oleh
0 siblings, 1 reply; 7+ messages in thread
From: Xebar Saram @ 2014-03-11 18:18 UTC (permalink / raw)
To: Oleh; +Cc: org mode
[-- Attachment #1: Type: text/plain, Size: 2207 bytes --]
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 <ohwoeowho@gmail.com> wrote:
>
> > 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
[-- Attachment #2: Type: text/html, Size: 3035 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?
2014-03-11 18:18 ` Xebar Saram
@ 2014-03-11 19:20 ` Oleh
0 siblings, 0 replies; 7+ messages in thread
From: Oleh @ 2014-03-11 19:20 UTC (permalink / raw)
To: Xebar Saram; +Cc: org mode
> I can post the code on github if anyone's interested in the details.
>
> yes please :)
>
Posted here: https://github.com/abo-abo/org-fu
Oleh
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-03-11 19:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-03-11 18:18 ` Xebar Saram
2014-03-11 19:20 ` Oleh
2014-03-11 13:37 ` Yasushi SHOJI
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).