At Mon, 4 Oct 2010 10:54:39 +0200,
Carsten Dominik wrote:
> 
> Hi David,
> 
> well, it can happen that an item shows up multiple ways - if it has  
> been selected by different methods.   For example, if your org-refile- 
> targets variable is like this:
> 
> ((org-agenda-files :level . 1)
>   (org-agenda-files :tag . "refile")
>   (nil :maxlevel . 2))
> 
> then you could get three instances:
> 
> 1. it is a level 1 item in any of the agenda items
> 2. it has the tag "refile" and is in an agenda file
> 3. The item you are trying to refile is in the same file
>     as the refile target - in that case, the entry
>     is shown as a headline with level <= 2
> 
> Looking at your setting for org-refile-targets,
> this is definitely somehing that could happen to you.
> 
> I am not sure how cheap it would be to eliminate
> duplicate entries, this might be an N^2 operation.

It is if you use a linear list ;-) A hash table should allow an O(N)
solution.

> In the end, it is not a huge problem, I guess?

Probably not.  In my case it was purely a configuration mistake.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to