From: David Maus <dmaus@ictsoc.de>
To: David Abrahams <dave@boostpro.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Odd Ido interaction [7.01trans]
Date: Sun, 12 Sep 2010 12:17:23 +0200 [thread overview]
Message-ID: <87mxrnb70s.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <m28w3h74cb.wl%dave@boostpro.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 1290 bytes --]
David Abrahams wrote:
>Remember to cover the basics, that is, what you expected to happen and
>what in fact did happen. You don't know how to make a good report? See
> http://orgmode.org/manual/Feedback.html#Feedback
>Your bug report will be posted to the Org-mode mailing list.
>------------------------------------------------------------------------
>When I go to refile an agenda item, say, under another item called
>"Happiness," I type `r h a p' and see:
> Refile to: hap{Happiness (todo.txt) | Happiness (todo.txt) | Happiness (todo.txt)}
>where the 2nd and 3rd instances of "Happiness" show up in blue. Is
>it expected to see multiple identical choices, and if so, why?
I can confirm this inconsistency with
Org-mode version 7.01trans (release_7.01h.496.g200f7.dirty)
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-08-14 on raven, modified by Debian
and the attached minimal setup. It seems to be caused by the setting
of `org-refile-targets':
(setq org-refile-targets '((org-agenda-files :level . 1) (org-agenda-files :maxlevel . 5)))
Both conditions match: If I remove one of them, IDO completion shows
the refile target only once.
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.1.2: minimal.el --]
[-- Type: application/octet-stream, Size: 898 bytes --]
(add-to-list 'load-path "~/projects/org-mode/origin/lisp/")
(require 'org-install)
(require 'org)
;; Setup agenda files
(setq org-agenda-files '("/tmp/org/"))
(unless (file-exists-p "/tmp/org")
(make-directory "/tmp/org"))
(with-current-buffer (find-file-noselect "/tmp/org/file1.org")
(erase-buffer)
(insert "* Headline to refile")
(save-buffer))
(with-current-buffer (find-file-noselect "/tmp/org/file2.org")
(erase-buffer)
(insert "* Target for refile operation")
(save-buffer))
(setq org-completion-use-ido t)
(ido-mode t)
(setq org-refile-targets '((org-agenda-files :level . 1) (org-agenda-files :maxlevel . 5)))
(org-agenda)
;; Debugging info
(insert
(format "\n%s\n\n%s"
(org-version)
(emacs-version)))
Org-mode version 7.01trans (release_7.01h.496.g200f7.dirty)
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-08-14 on raven, modified by Debian)
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2010-09-12 10:17 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 [this message]
2010-10-04 8:54 ` Carsten Dominik
2010-10-04 10:28 ` David Abrahams
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=87mxrnb70s.wl%dmaus@ictsoc.de \
--to=dmaus@ictsoc.de \
--cc=dave@boostpro.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.