From: David Abrahams <dave@boostpro.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Odd Ido interaction [7.01trans]
Date: Mon, 04 Oct 2010 06:28:55 -0400 [thread overview]
Message-ID: <m2vd5i1cbc.wl%dave@boostpro.com> (raw)
In-Reply-To: <80D53061-DC37-4A3F-ACD2-976ACF867705@gmail.com>
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
prev parent reply other threads:[~2010-10-04 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-04 18:26 Bug: Odd Ido interaction [7.01trans] David Abrahams
2010-09-12 10:17 ` David Maus
2010-10-04 8:54 ` Carsten Dominik
2010-10-04 10:28 ` David Abrahams [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2vd5i1cbc.wl%dave@boostpro.com \
--to=dave@boostpro.com \
--cc=carsten.dominik@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 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.