emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Haman <mail@johnhaman.org>
To: emacs-orgmode@gnu.org
Subject: Possible conflict with outline-magic
Date: Sat, 12 Sep 2020 09:52:08 -0400	[thread overview]
Message-ID: <ea7e6119-8341-5aaa-c51e-824b643f0c42@johnhaman.org> (raw)

Hello, I would like to use the outline-magic package to cycle headings 
in outline-mode. I installed outline magic, and put the recommended 
configuration in my init file.

(use-package outline-magic
   :ensure t
   :config
   (add-hook 'outline-mode-hook
             (lambda ()
               (require 'outline-cycle))))

The package works great! I can easily cycle visibility of headings in 
outline-mode with TAB. No further configuration.

After installing outline-magic, my org-capture stopped working. I have a 
very benign capture configuration.

(use-package org-capture
   :after org
   :hook
   (org-capture-mode . evil-insert-state)
   :custom
   (org-capture-templates ... <all my templates> ... ))

When I call org-capture now, I get an error:

Template key:
File mode specification error: (file-missing Cannot open load file No 
such file or directory outline-cycle)
org-capture: Capture abort: (file-missing Cannot open load file No such 
file or directory outline-cycle)

How do I prevent this strange interaction between outline-magic and 
org-capture?

What I tried:

- Loading outline-magic after org-mode.

- Deleting Elpa folder and reinstalling all packages.

No luck so far.

(Note: I cannot switch from outline-mode to markdown-mode because 
markdown-mode has fontificiation issues on the files I edit)

Thanks all, any help here is greatly appreciated.

John



             reply	other threads:[~2020-09-12 19:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-12 13:52 John Haman [this message]
2020-09-12 13:58 ` Possible conflict with outline-magic John Haman
2020-09-13  3:38   ` Ihor Radchenko

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=ea7e6119-8341-5aaa-c51e-824b643f0c42@johnhaman.org \
    --to=mail@johnhaman.org \
    --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).