From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hsiu-Khuern Tang Subject: Wishlist: let org-refile find buffers that have been renamed Date: Wed, 22 Dec 2010 16:53:07 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=49884 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVZQd-0007Po-Gm for emacs-orgmode@gnu.org; Wed, 22 Dec 2010 19:53:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVZQc-0007L1-Ch for emacs-orgmode@gnu.org; Wed, 22 Dec 2010 19:53:11 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:47647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVZQc-0007Kp-AL for emacs-orgmode@gnu.org; Wed, 22 Dec 2010 19:53:10 -0500 Received: by vws10 with SMTP id 10so2185818vws.0 for ; Wed, 22 Dec 2010 16:53:09 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: orgmode 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.