emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Hsiu-Khuern Tang <tangoh@gmail.com>
To: orgmode <emacs-orgmode@gnu.org>
Subject: Wishlist: let org-refile find buffers that have been renamed
Date: Wed, 22 Dec 2010 16:53:07 -0800	[thread overview]
Message-ID: <AANLkTik3XR7gRHjk6p2s7aqMYWCCRTRObfbL4hwqvOpe@mail.gmail.com> (raw)

Hi,

I have a perhaps unusual way of organizing my agenda files like this:

project1/notes.org
project2/notes.org
...

and I use rename-buffer in each notes.org to make sure I can tell them
apart, e.g.,

- In project1/notes.org, I have (rename-buffer "project1.org")

- In project2/notes.org, I have (rename-buffer "project2.org")

This works fine with commands like C-c b (org-iswitchb), which
displays the renamed buffers ( "project1.org" and "project2.org") in
the minibuffer prompt.  However, C-c w (org-refile) does not find
these targets --- it would be nice if it did!  I think the "problem"
is in the function org-get-refile-targets in org.el, but I'm not good
at hacking elisp.

I am using ido completion (org-completion-use-ido is non-nil).

Thanks!

Hsiu-Khuern.

             reply	other threads:[~2010-12-23  0:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23  0:53 Hsiu-Khuern Tang [this message]
2010-12-23  0:58 ` Wishlist: let org-refile find buffers that have been renamed Samuel Wales
2010-12-23  2:08   ` Hsiu-Khuern Tang
2010-12-23  2:53     ` Suvayu Ali
2010-12-23  6:05       ` Nathan Neff

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=AANLkTik3XR7gRHjk6p2s7aqMYWCCRTRObfbL4hwqvOpe@mail.gmail.com \
    --to=tangoh@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).