From: Yasushi SHOJI <yashi@atmark-techno.com>
To: 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 22:37:29 +0900 [thread overview]
Message-ID: <874n34rh46.wl@dns1.atmark-techno.com> (raw)
In-Reply-To: <CAOQHXPpv8ZoDKSF_D+rxgF691nE8GOrs=RmohMmXge_qpgucAA@mail.gmail.com>
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
prev parent reply other threads:[~2014-03-11 13:37 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
2014-03-11 18:18 ` Xebar Saram
2014-03-11 19:20 ` Oleh
2014-03-11 13:37 ` Yasushi SHOJI [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874n34rh46.wl@dns1.atmark-techno.com \
--to=yashi@atmark-techno.com \
--cc=emacs-orgmode@gnu.org \
/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 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).