emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-publish error with java hook
Date: Mon, 18 Jan 2021 06:30:02 +1100	[thread overview]
Message-ID: <87h7nf8iaw.fsf@gmail.com> (raw)
In-Reply-To: <875z3v5srj.fsf@yandex.com>


Colin Baxter <m43cap@yandex.com> writes:

> Hello,
>
> In the last few days org-publish no loner works for me, giving a lisp
> error: (void-function conkeror-minor-mode). The source of the problem is
> the line '(add-hook 'js-mode-hook 'conkeror-minor-mode)' in my init
> file. If I comment out the line, the error disappears.
>
> I've tried reverting a couple of recent commits in org-mode, but to no
> avail. I'd appreciate pointers as to the issue.
>
> I'm using emacs-27.1 with Org mode version 9.4.4
> (release_9.4.4-186-g7fa817).
>

I suspect that is something related to your local configuration -
specifically in your Javascript setup hook. I don't think it has
anything to do with org. When org publish does its thing, it must be
loading js mode and that is triggering the error.

Emacs has deprecated conkeror support in the browse-url library ecently
(Emacs 28 I think), which has probably resulted in some other packages
removing conkeror support. My guess would be that you have been using a
package which adds conkeror support when editing Javascript code (you
could test this by opening a JS file outside of org mode and see if you
get the same error).

Review the packages you have which provide JS editing support and you
will likely find the culprit.

--
Tim Cross


  reply	other threads:[~2021-01-17 19:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17 18:21 org-publish error with java hook Colin Baxter
2021-01-17 19:30 ` Tim Cross [this message]
2021-01-17 20:33   ` Colin Baxter
2021-01-17 20:53     ` Tim Cross
2021-01-17 21:19       ` Colin Baxter

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=87h7nf8iaw.fsf@gmail.com \
    --to=theophilusx@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).