From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Bug: Odd Ido interaction [7.01trans] Date: Sun, 12 Sep 2010 12:17:23 +0200 Message-ID: <87mxrnb70s.wl%dmaus@ictsoc.de> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1361879563==" Return-path: Received: from [140.186.70.92] (port=55702 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oujcv-0007cp-OR for emacs-orgmode@gnu.org; Sun, 12 Sep 2010 06:17:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oujcu-0001GJ-6e for emacs-orgmode@gnu.org; Sun, 12 Sep 2010 06:17:37 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:38121) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oujct-0001G5-Rc for emacs-orgmode@gnu.org; Sun, 12 Sep 2010 06:17:36 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Abrahams Cc: emacs-orgmode@gnu.org --===============1361879563== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Sep_12_12:17:23_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Sep_12_12:17:23_2010-1 Content-Type: multipart/mixed; boundary="Multipart_Sun_Sep_12_12:17:23_2010-1" --Multipart_Sun_Sep_12_12:17:23_2010-1 Content-Type: text/plain; charset=US-ASCII 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 --Multipart_Sun_Sep_12_12:17:23_2010-1 Content-Type: application/octet-stream; type=emacs-lisp Content-Disposition: attachment; filename="minimal.el" Content-Transfer-Encoding: 7bit (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) --Multipart_Sun_Sep_12_12:17:23_2010-1-- --pgp-sign-Multipart_Sun_Sep_12_12:17:23_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkyMqLMACgkQma24O1pEeOYA8AEArJoo882ZcHEsKQnIA1LgY6AP dOz2wYtwkQB23R6vK2YBAOAJdt4ryRw6dVFiFYIG5slKM0CgfjdahFCHUh/N9wy1 =N8Tt -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Sep_12_12:17:23_2010-1-- --===============1361879563== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1361879563==--