From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Refile: refile to any open file. Date: Sun, 26 Feb 2012 10:11:12 +0100 Message-ID: References: <83r4xis8ah.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1a8q-0005gQ-Fu for emacs-orgmode@gnu.org; Sun, 26 Feb 2012 04:11:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1a8k-00076D-Jw for emacs-orgmode@gnu.org; Sun, 26 Feb 2012 04:11:40 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:60413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1a8k-000769-CO for emacs-orgmode@gnu.org; Sun, 26 Feb 2012 04:11:34 -0500 Received: by bkty12 with SMTP id y12so3656030bkt.0 for ; Sun, 26 Feb 2012 01:11:32 -0800 (PST) In-Reply-To: <83r4xis8ah.fsf@gmail.com> 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: lngndvs@gmail.com Cc: org-mode 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 =C2=A0open files. = =C2=A0What > remains is to use some condition from this file to declare > org-refile-targets. =C2=A0 I understand that a function can be used as a > value of this variable. Look at the function oog-check-input. I believe it checks buffer-list and the major-mode for each buffer to determine whether to include it in the search. GL --=20 Suvayu Open source is the future. It sets us free.