From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yasushi SHOJI 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 Message-ID: <874n34rh46.wl@dns1.atmark-techno.com> References: Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNMsG-0007Q5-9k for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 09:37:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNMsA-0004wX-Uz for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 09:37:40 -0400 Received: from p654782.hkidff01.ap.so-net.ne.jp ([121.101.71.130]:58601 helo=dns1.atmark-techno.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNMsA-0004wR-KG for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 09:37:34 -0400 Received: from sv-prius.atmark-techno.com (sv-prius.local-network [192.168.10.102]) by dns1.atmark-techno.com (Postfix) with ESMTP id 890B5836B2 for ; Tue, 11 Mar 2014 22:37:31 +0900 (JST) 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: emacs-orgmode@gnu.org 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