[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Bug: Odd Ido interaction [7.01trans]

From: David Abrahams
Subject: Re: [Orgmode] Bug: Odd Ido interaction [7.01trans]
Date: Mon, 04 Oct 2010 06:28:55 -0400
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 Emacs/23.2 (x86_64-apple-darwin) MULE/6.0 (HANACHIRUSATO)

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)

> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]