Re: [O] Refile: refile to any open file.

2014-08-14 Thread Isaac
Kyle Meyer kyleam.com> writes: > > Nick Dokos gmail.com> wrote: > > jorge.alfaro-murillo yale.edu (Jorge A. Alfaro-Murillo) writes: > [...] > >> Perhaps you should return instead only the org mode files that are > >> opened, something like this: > >> > > > > Excellent idea: refiling

Re: [O] Refile: refile to any open file.

2014-08-13 Thread Kyle Meyer
Nick Dokos wrote: > jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: [...] >> Perhaps you should return instead only the org mode files that are >> opened, something like this: >> > > Excellent idea: refiling to an arbitrary non-org-mode file will either > skip the file (if you are

Re: [O] Refile: refile to any open file.

2014-08-13 Thread Nick Dokos
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: > Isaac writes: > >> Similar to this previous post, I am trying to file orgmode items >> to files/buffers currently opened. Being elisp rookie, I tried >> and came up with the following: >> >> (defun opened-buffer-files () >>

Re: [O] Refile: refile to any open file.

2014-08-13 Thread Jorge A. Alfaro-Murillo
Isaac writes: Similar to this previous post, I am trying to file orgmode items to files/buffers currently opened. Being elisp rookie, I tried and came up with the following: (defun opened-buffer-files () "Return the list of files currently opened in emacs" (delq nil (mapcar (function

Re: [O] Refile: refile to any open file.

2014-08-13 Thread Kyle Meyer
Isaac wrote: [...] > Similar to this previous post, I am trying to file orgmode items to > files/buffers currently opened. Some parts of my configuration [1,2] may be close to what you want (or at least give you something to start with). More recently, I've been using a slightly different appro

Re: [O] Refile: refile to any open file.

2014-08-13 Thread Isaac
suvayu ali gmail.com> writes: > > On Sun, Feb 26, 2012 at 02:16, gmail.com> wrote: > > I have been using the function oog in org-occur-goto.el to search any > > open file, so somewhere in that file is a way to find  open files.  What > > remains is to use some condition from this file to decla

Re: [O] Refile: refile to any open file.

2012-02-26 Thread suvayu ali
On Sun, Feb 26, 2012 at 02:16, wrote: > I have been using the function oog in org-occur-goto.el to search any > open file, so somewhere in that file is a way to find  open files.  What > remains is to use some condition from this file to declare > org-refile-targets.   I understand that a functio

[O] Refile: refile to any open file.

2012-02-25 Thread lngndvs
It occurs from time to time that I wish to refile to an open file, that is not one of my org-refile-targets. It doesn't make sense to use org-agenda-files for refile targets since I might have other files open for various reasons. So I thought, why not either declare that any open file is a ref