emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: lngndvs@gmail.com
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Refile: refile to any open file.
Date: Sun, 26 Feb 2012 10:11:12 +0100	[thread overview]
Message-ID: <CAMXnza2LgRdOD_z1=qLxekBw46_9rY-Aep5L3VJfD6d4Deor8g@mail.gmail.com> (raw)
In-Reply-To: <83r4xis8ah.fsf@gmail.com>

On Sun, Feb 26, 2012 at 02:16,  <lngndvs@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 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

-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2012-02-26  9:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-26  1:16 Refile: refile to any open file lngndvs
2012-02-26  9:11 ` suvayu ali [this message]
2014-08-13 20:15   ` Isaac
2014-08-13 21:16     ` Kyle Meyer
2014-08-13 21:24     ` Jorge A. Alfaro-Murillo
2014-08-14  3:55       ` Nick Dokos
2014-08-14  4:45         ` Kyle Meyer
2014-08-14 14:30           ` Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMXnza2LgRdOD_z1=qLxekBw46_9rY-Aep5L3VJfD6d4Deor8g@mail.gmail.com' \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lngndvs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).