emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: navi equivalent to 'g' speed command?
Date: Wed, 03 Sep 2014 09:59:10 +0200	[thread overview]
Message-ID: <874mwp5e41.fsf@gmail.com> (raw)
In-Reply-To: 878um15fz0.fsf@gmail.com

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Alan Schmitt <alan.schmitt@polytechnique.org> 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

> | g   (org-refile t)
> `----
>
> but thats not the one you are talking about, right?

I just tried it out - this 

,----
| g  (org-refile t)
`----

works in Outshine like in Org when using the tj-outshine branch from the
github repo, assuming you have

,----
| (setq outshine-use-speed-commands t)
`----

in you init file. 

All 3 libs (outshine, outorg and navi-mode) have developed quite a bit
recently, but I want to include better tests for outorg and implement
most of Org-mode's user API (like e.g. org-refile) via the
`outshine-use-outorg' function before I merge the tj-outshine, tj-outorg
and tj-navi branches into their repective masters.

Maybe you could switch to the git-versions? Would be great for me to
have the development branches tested by somebody else, and you would get
the `outshine-use-outorg' functionality, which (in theory at least)
allows to call any Org command from Outshine. In the real world some
commands work out of the box (e.g. org-refile and org-priority), but
others would need some special handling (i.e. clocking with outshine
headers works only 'more-or-less').

There are so many Org commands, it will take some time to check if they
make sense in Outshine too, if they work out of the box or need some
extra hacking. But with the development version of outshine, one can
simply try if something like this works without any extra effort:

#+BEGIN_SRC emacs-lisp
(defun outshine-priority ()
  "Call outorg to trigger `org-priority'."
  (interactive)
  (outshine-use-outorg 'org-priority))
#+END_SRC

-- 
cheers,
Thorsten

  parent reply	other threads:[~2014-09-03  7:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-03  6:51 navi equivalent to 'g' speed command? Alan Schmitt
2014-09-03  7:18 ` Thorsten Jolitz
2014-09-03  7:47   ` Alan Schmitt
2014-09-03  8:28     ` Thorsten Jolitz
2014-09-03 18:48       ` Alan Schmitt
2014-09-03  7:59   ` Thorsten Jolitz [this message]
2014-09-03 18:40     ` Alan Schmitt
2014-09-03 19:00       ` Thorsten Jolitz

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874mwp5e41.fsf@gmail.com \
    --to=tjolitz@gmail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).