From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Samuel Wales" Subject: Re: getting org-goto to work with ido Date: Tue, 25 Nov 2008 13:07:27 -0700 Message-ID: <20524da70811251207o3eb6eb38gecc0751772919430@mail.gmail.com> References: <20524da70811231313r147bcd6at5afbba6ce2f7a01f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L54C2-0006h2-Sr for emacs-orgmode@gnu.org; Tue, 25 Nov 2008 15:07:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L54C2-0006fi-1b for emacs-orgmode@gnu.org; Tue, 25 Nov 2008 15:07:30 -0500 Received: from [199.232.76.173] (port=46994 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L54C1-0006fY-Nu for emacs-orgmode@gnu.org; Tue, 25 Nov 2008 15:07:29 -0500 Received: from gv-out-0910.google.com ([216.239.58.188]:10985) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L54C1-0008Hu-0k for emacs-orgmode@gnu.org; Tue, 25 Nov 2008 15:07:29 -0500 Received: by gv-out-0910.google.com with SMTP id i36so81555gve.17 for ; Tue, 25 Nov 2008 12:07:27 -0800 (PST) In-Reply-To: Content-Disposition: inline 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: Carsten Dominik Cc: emacs-orgmode@gnu.org On Mon, Nov 24, 2008 at 02:59, Carsten Dominik wrote: > (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. Kind of like uniquify? I don't have git, but if this is what I think you mean, then I had the same idea, except for a different reason. Let's say you have housing/environment/filters and food/coffee/filters. And also 10 more. You type "fil" and there are 15 candidates. To select the coffee one, you type c-spc then "cof". In other words, I wanted to do the headline first then the path. An improvement would be to put the path *after* the headline (in reverse order like filters\coffee\food; see uniquify for code and to make the syntax consistent). Then c-spc would not be necessary. You would type "filcof". If that is not enough to disambiguate, then "fo". No backtracking necessary. Then the minibuffer can show tersely if desired. filters\coffee, filters\environment. Or just enough to be unique. If that's what you mean, then we have a winner. But is it fast in CPU time to gather the headlines this way? :maxlevel isn't necessary? > Wow, this is *really* fast. Yeah. > Maybe I should start by setting the default for org-goto-interface to > outline-path-completion. > Any thoughts about such a change? Maybe depends on CPU time on large files and what you set the ido default to. Of course, ido has limits you can set also. I presume emacs and xemacs both have ido. I would use it. -- Myalgic encephalomyelitis denialists are knowingly causing further suffering and death by opposing biomedical research on this fast-spreading serious disease. Do you care about the world? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm