From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: navi equivalent to 'g' speed command? Date: Wed, 03 Sep 2014 10:28:20 +0200 Message-ID: <87zjeh3y6z.fsf@gmail.com> References: <878um15fz0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP5w0-000158-EQ for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 04:29:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XP5vu-000707-35 for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 04:28:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:60148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP5vt-0006zw-SI for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 04:28:49 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XP5vl-0001Qs-3i for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 10:28:41 +0200 Received: from e178060075.adsl.alicedsl.de ([85.178.60.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2014 10:28:41 +0200 Received: from tjolitz by e178060075.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2014 10:28:41 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Alan Schmitt writes: > On 2014-09-03 09:18, Thorsten Jolitz writes: > >> Alan Schmitt writes: >> >> Hello, >> >>> I very often use the org speed command 'g' to navigate to a headline >>> (it opens a completion buffer that I can use to quickly fuzzy match the >>> target). Is there an equivalent navi workflow for non-org buffer in >>> outshine mode? >> >> Hmm... which command do you mean? I get >> >> ,---- >> | User-defined Speed commands >> | =========================== >> | >> | Built-in Speed commands >> | ======================= >> | >> | Outline Navigation >> | ------------------ >> | [...] >> | g (org-refile t) >> `---- >> >> but thats not the one you are talking about, right? > > Yes, it's the one I mean. Don't let the "refile" fool you: the 't' > argument means nothing is actually refiled during the jump to the > target. I use it all the time. ok, it seems 'outshine-refile does works, but I'm not sufficiently used to it - it actually refiles the outshine headers I'm on, but that seems to be a configuration thing. I could expand #+BEGIN_SRC emacs-lisp (defun outshine-refile () "Call outorg to trigger `org-refile'." (interactive) (outshine-use-outorg 'org-refile)) #+END_SRC to something like #+BEGIN_SRC emacs-lisp (defun outshine-refile (&optional arg) "Call outorg to trigger `org-refile'." (interactive "P") (if arg (outshine-use-outorg 'org-refile nil nil t) (outshine-use-outorg 'org-refile))) #+END_SRC to match you use case, but I think what you really want is ,----[ C-h f outshine-imenu RET ] | outshine-imenu is an interactive Lisp function in `outshine.el'. | | It is bound to M-# M-p. | | (outshine-imenu &optional PREFER-IMENU-P) | | Convenience function for calling imenu/idomenu from outshine. `---- with idomenu installed from the package manager. -- cheers, Thorsten