emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: navi-search-and-switch fails
Date: Mon, 01 Sep 2014 19:41:42 +0200	[thread overview]
Message-ID: <m2egvvutk9.fsf@top-wifi.irisa.fr> (raw)
In-Reply-To: <87bnqz45va.fsf@gmail.com> (Thorsten Jolitz's message of "Mon, 01 Sep 2014 19:18:01 +0200")

[-- Attachment #1: Type: text/plain, Size: 1492 bytes --]

On 2014-09-01 19:18, Thorsten Jolitz <tjolitz@gmail.com> writes:

> Does outshine work with that buffer (without navi-mode)?

I guess not … How can I test it?

> Are the headlines fontified like Org headlines?

No.

> Can you cycle visibility?

Using TAB does nothing.

> Can you call 'M-x outorg-edit-as-org' on a subtree?

No, I get a backtrace:

Debugger entered--Lisp error: (error "before first heading")
  signal(error ("before first heading"))
  error("before first heading")
  outline-back-to-heading(INVISIBLE-OK)
  outorg-copy-and-convert()
  outorg-edit-as-org(nil)
  call-interactively(outorg-edit-as-org record nil)


> What does C-h v outline-regexp return?

outline-regexp is a variable defined in `outline.el'.
Its value is ";;[;]\\{1,8\\} "
Original value was "[*\f]+"
Local in buffer untitled; global value is "[*\f]+"

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

I don't use it otherwise, so I don't know. I tried 'M-x
outorg-edit-as-org' on this message and it works.

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

It works! I have to call it twice (once to disable it, and once to
enable it again), but then TAB and navi work as expected (no
fontification, though).

So for some reason emacs-lisp-mode sets up outline-mode, but the later
does not seem to load outshine automatically.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

  reply	other threads:[~2014-09-01 17:42 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
2014-09-01 17:41       ` Alan Schmitt [this message]
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=m2egvvutk9.fsf@top-wifi.irisa.fr \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=tjolitz@gmail.com \
    /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).