From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: getting org-goto to work with ido Date: Mon, 24 Nov 2008 10:59:21 +0100 Message-ID: References: <20524da70811231313r147bcd6at5afbba6ce2f7a01f@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4dny-0003o2-DT for emacs-orgmode@gnu.org; Mon, 24 Nov 2008 10:56:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4dnx-0003nX-NO for emacs-orgmode@gnu.org; Mon, 24 Nov 2008 10:56:54 -0500 Received: from [199.232.76.173] (port=50555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4dmV-00026Z-1S for emacs-orgmode@gnu.org; Mon, 24 Nov 2008 10:55:23 -0500 Received: from ey-out-1920.google.com ([74.125.78.150]:38262) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4YE1-0007Z0-NP for emacs-orgmode@gnu.org; Mon, 24 Nov 2008 04:59:26 -0500 Received: by ey-out-1920.google.com with SMTP id 4so920404eyg.24 for ; Mon, 24 Nov 2008 01:59:24 -0800 (PST) In-Reply-To: <20524da70811231313r147bcd6at5afbba6ce2f7a01f@mail.gmail.com> 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: Samuel Wales Cc: emacs-orgmode@gnu.org Hi Samuel, On Nov 23, 2008, at 10:13 PM, Samuel Wales wrote: > Hi Carsten, > > Thanks for the release. > > ido.el works very well for org-refile. > > (setf org-refile-use-outline-path nil) > (setq org-refile-targets '((org-agenda-files . (:maxlevel . 5)))) > > org-goto does not work, but can be made to work. > > (setf org-goto-auto-isearch nil) > (setf org-goto-interface 'outline-path-completion) > > To get it to work, I changed org.el's org-goto to remove the > line that contains " (org-refile-use-outline-path t)". What I don't like about this setup is that you may have similar headlines in different places, and no way to see which is which. If you pull the newest version, you have now an interesting alternative: Restore the line in org-goto that you removed, and then do (setq org-outline-path-complete-in-steps nil) Then targets for org-goto will still be identified by their entire path, in this way removing disambiguates, but you can then use single-step completion to match the entire path, using ido if you wish. By setting the variable, you will get the same interface in org-refile, if you set org-refile-use-outline-path back to t. Wow, this is *really* fast. Maybe we should phase out the old org-goto interface that uses outline drilling. Maybe I should start by setting the default for org-goto-interface to outline-path-completion. Any thoughts about such a change? - Carsten