Re: refile captured to all opened Org buffer files as targets

2019-12-27 Thread stardiviner
Adam Porter writes: > org-buffer-list is a compiled Lisp function in ‘org.el’. > > (org-buffer-list PREDICATE EXCLUDE-TMP) > > Return a list of Org buffers. > PREDICATE can be ‘export’, ‘files’ or ‘agenda’. > > export restrict the list to Export buffers. > files

Re: refile captured to all opened Org buffer files as targets

2019-12-26 Thread Ihor Radchenko
Thanks! org-web-tools--html-to-org-with-pandoc is an interesting idea. I was using elfeed-insert-html for this purpose. Also, note that your capture may be messed up when the rss content contains org-mode text. A real-case scenario from Stack Exchange rss: > I'd like to find a way to jump to a

Re: refile captured to all opened Org buffer files as targets

2019-12-26 Thread Adam Porter
stardiviner writes: > I recently created an org-capture template for elfeed, it is finished. Now I > have an idea is to refile it to all currently opened Org buffer files. So I > created an function for ~org-refile-targets~ variable. > > #+begin_src emacs-lisp > (defun

Re: refile captured to all opened Org buffer files as targets

2019-12-26 Thread stardiviner
Ihor Radchenko writes: > [offtopic] > >> I recently created an org-capture template for elfeed, it is finished. > > Could you share your capture template? Sure, here it is: #+begin_src emacs-lisp ;; support Org Mode Capture template (defun my/org-capture-elfeed-title ()

Re: refile captured to all opened Org buffer files as targets

2019-12-26 Thread stardiviner
I improved command to get ride of =f.el= library function: #+begin_src emacs-lisp (defun org-refile-targets-all-files () "Use all currently opened Org buffer files as org-refile targets." (mapcar 'buffer-file-name (seq-filter ; filter Org buffers (lambda (buffer)

Re: refile captured to all opened Org buffer files as targets

2019-12-25 Thread Ihor Radchenko
[offtopic] > I recently created an org-capture template for elfeed, it is finished. Could you share your capture template? stardiviner writes: > I recently created an org-capture template for elfeed, it is finished. Now I > have an idea is to refile it to all currently opened Org buffer

refile captured to all opened Org buffer files as targets

2019-12-25 Thread stardiviner
I recently created an org-capture template for elfeed, it is finished. Now I have an idea is to refile it to all currently opened Org buffer files. So I created an function for ~org-refile-targets~ variable. #+begin_src emacs-lisp (defun org-refile-targets-all-files () "Use all currently