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-search-and-switch fails
Date: Mon, 01 Sep 2014 19:18:01 +0200	[thread overview]
Message-ID: <87bnqz45va.fsf@gmail.com> (raw)
In-Reply-To: m2k35nuvyd.fsf@top-wifi.irisa.fr

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

>> 1. Can you try 'navi-search-and-switch' on an org-mode buffer, with ->
>> (eq major-mode 'org-mode), e.g.
>>
>> ,----
>> | * ORG SCRATCH
>> | ** 2nd Level
>> | #+BEGIN_SRC emacs-lisp :cache no
>> |  (+ 2 2)
>> | #+END_SRC
>> `----
>>
>> *Navi* buffer should pop-up, typing 2 should show both headlines.
>
> Yes, it works with an org file.

ok, so navi-mode works

>> 2. Is there anything special about the outshine file you used?
>
> It's an emacs-lisp file.
>
>> Is it structured with outshine headers? is it emacs-lisp-mode?
>> old-school or org-style headers?
>
> Here is a simple example that fails for me:
>
> ;; * ORG SCRATCH
> ;; ** 2nd Level
> (+ 2 2)

There is nothing special about this example, it should just work.

Does outshine work with that buffer (without navi-mode)? Are the
headlines fontified like Org headlines? Can you cycle visibility? Can
you call 'M-x outorg-edit-as-org' on a subtree?

What does C-h v outline-regexp return?

I suspect the problem is in your outshine installation. Does it work
otherwise for you?

What happens if you call M-x outline-minor-mode again in that example
buffer?

-- 
cheers,
Thorsten

  reply	other threads:[~2014-09-01 17:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-31 15:26 navi-search-and-switch fails Alan Schmitt
2014-08-31 15:44 ` Thorsten Jolitz
2014-09-01 16:50   ` Alan Schmitt
2014-09-01 17:18     ` Thorsten Jolitz [this message]
2014-09-01 17:41       ` Alan Schmitt
2014-09-01 18:13         ` Thorsten Jolitz
2014-09-02  9:10           ` Alan Schmitt

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=87bnqz45va.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).