all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* BUG: in org-refile
@ 2008-01-22 21:56 Jost Burkardt
  2008-01-23 16:48 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Jost Burkardt @ 2008-01-22 21:56 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Hi,

org-refile seems to have problems, when there are similar headings with
similar nams in different trees. I have the following setup

----- BEGIN TEST.org ---
* Stuff
** something to refile to Project/A/Notes
* Projects
** A
*** Notes
** B
*** Notes
----- END TEST.org -----

org-refile-targets is set to :

((org-agenda-files :maxlevel . 2)
 (org-agenda-files :regexp . "Task\\|Notes"))

when I put the cursor on the second line ("something ...") and do a
refile to TEST.org/Projects/A/Notes

----- BEGIN TEST.org ---
* Stuff
* Projects
** A
*** Notes
** B
*** Notes
**** something to refile to Project/A/Notes
----- END TEST.org -----

it seems that org-refile is not taking the full path into account.

By the way, do you think it would be possible to use org-refile to just
to go to a target position - maybe with a prefix C-u (just like
org-remember). I very much like the minibuffer-movement-interface, and
it would definetly help in finding item's, which were "filed away" :-)

I'm on emacs 22.1.1 with org 5.19a.
--
 Jost

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BUG: in org-refile
  2008-01-22 21:56 BUG: in org-refile Jost Burkardt
@ 2008-01-23 16:48 ` Carsten Dominik
  2008-01-23 21:13   ` Jost Burkardt
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2008-01-23 16:48 UTC (permalink / raw)
  To: Jost Burkardt; +Cc: emacs-orgmode

Hi Jost, thanks for the nice report.

On Jan 22, 2008, at 10:56 PM, Jost Burkardt wrote:

> Hi,
>
> org-refile seems to have problems, when there are similar headings  
> with
> similar nams in different trees.

This is now fixed, with the drawback that Emacs will now visit
and create buffers for all files that are possible refile candidates.
Previously I removed the corresponding buffers to avoid creating
many buffers.  But now I just keep them, and make sure that accurate
positions are maintained and found.  In particular, I re-create the full
table of refile targets for each call of the command.  This could be
potentially a bit slower, but it is safer this way, and gets rid of
the need to update the target table by hand.

> By the way, do you think it would be possible to use org-refile to  
> just
> to go to a target position - maybe with a prefix C-u (just like
> org-remember). I very much like the minibuffer-movement-interface, and
> it would definetly help in finding item's, which were "filed away" :-)

The comparison with `org-remember' is a valid one, I am implementing
it exactly as you have proposed, with a prefix arg.

- Carsten

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BUG: in org-refile
  2008-01-23 16:48 ` Carsten Dominik
@ 2008-01-23 21:13   ` Jost Burkardt
  0 siblings, 0 replies; 3+ messages in thread
From: Jost Burkardt @ 2008-01-23 21:13 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


I'm really looking forward to this, thank you *very* much!

--
 Jost

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-23 21:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-22 21:56 BUG: in org-refile Jost Burkardt
2008-01-23 16:48 ` Carsten Dominik
2008-01-23 21:13   ` Jost Burkardt

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.