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

2014-08-14 Thread Isaac
Kyle Meyer kyle at kyleam.com writes: Nick Dokos ndokos at gmail.com wrote: jorge.alfaro-murillo at 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 Isaac
suvayu ali fatkasuvayu+linux at gmail.com writes: On Sun, Feb 26, 2012 at 02:16, lngndvs at 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

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

2014-08-13 Thread Kyle Meyer
Isaac isaac...@a1make.com 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

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 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 () Return the

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

2014-08-13 Thread Kyle Meyer
Nick Dokos ndo...@gmail.com 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

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

2012-02-26 Thread suvayu ali
On Sun, Feb 26, 2012 at 02:16, lngn...@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 declare org-refile-targets.   I understand

[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